我正在使用Xcode 6 beta 5中的"Debug Selected Views"功能,我在prepareForInterfaceBuilder()函数中设置了一个断点.
但是当我尝试使用po命令时,它给了我一个错误:
(lldb) po almondImage
error: Error in auto-import:
Failed to load linked library swiftQuartzCore of module TrailMixKit - errors:
Looking for "@rpath/libswiftQuartzCore.dylib", error: not a string object
Run Code Online (Sandbox Code Playgroud)
以下是我文件的前几行(包括导入):
//
// TrailMixIngredientImageView.swift
// Trailmix
import UIKit
import QuartzCore
Run Code Online (Sandbox Code Playgroud)
如果我在模拟器中运行应用程序时设置断点,po命令可以正常工作.