我正在使用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
以下是我文件的前几行(包括导入):
//
// TrailMixIngredientImageView.swift
// Trailmix
import UIKit
import QuartzCore
如果我在模拟器中运行应用程序时设置了断点,则po命令可以正常工作。
答案 0 :(得分:0)
无法添加评论,但您是否添加了QuartzCore的框架?