我正在尝试将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当然,我已经在桥接头中导入了Ensembles.h,否则就会出现编译器错误。我已经确保构建阶段中的ensembles framework引用是OS框架,而不是iOS框架。
有什么建议吗?
发布于 2016-11-02 05:31:11
已找到problem...silly错误。我可以发誓我曾经把Ensembles.framework拖进了这个项目,但我一定是忽略了这一点。将其拖入使其链接正常。
https://stackoverflow.com/questions/40351550
复制相似问题