0

我正在尝试将其合并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 框架。

有什么建议么?

4

1 回答 1

0

发现了问题……愚蠢的错误。我可以发誓我曾一度将 Ensembles.framework 拖到项目中,但我一定忽略了它。将其拖入使其链接就好了。

于 2016-11-01T21:31:11.257 回答