我尝试将File
合并到我的Ensembles 1.0
应用(Cocoa
)中。按照信件的说明,它干净地编写。但是,无法解决一些链接错误:
Swift
我的桥接标题中已导入Undefined symbols for architecture x86_64:
"_CDESetCurrentLoggingLevel", referenced from:
InitClients.AppDelegate.applicationDidFinishLaunching (Foundation.Notification) -> () in AppDelegate.o
"_OBJC_CLASS_$_CDEICloudFileSystem", referenced from:
objc-class-ref in AppDelegate.o
"_OBJC_CLASS_$_CDEPersistentStoreEnsemble", referenced from:
objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture x86_64
,当然,否则会出现编译错误。我确保Build Phases中的Ensembles.h
引用是OS X框架,而不是iOS框架。
有什么建议吗?
答案 0 :(得分:0)
发现问题......愚蠢的错误。我可以发誓我曾经一次将Ensembles.framework拖入项目中,但我一定忽略了它。拖动它使它链接得很好。