我正在尝试将其合并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 X 框架,而不是 iOS 框架。
有什么建议么?