0
直到最近,我一直在Objective-C项目中毫无痛苦地使用CocoaLumberjack,直到最近,我在项目中添加了一些Swift类,并将以下行添加到了podfile :使用CocoaLumberjack在Obj-C/Swift项目中未定义的符号错误
platform :ios, '8.0'
use_frameworks!
和改变引用该CocoaLumberjack吊舱从
pod 'CocoaLumberjack'
到行:
pod 'CocoaLumberjack/Swift'
pod安装成功运行。但是,我不能再建立这个项目。 Xcode中不停地抱怨:
Undefined symbols for architecture i386:
"_DDLogDebug", referenced from:
....
"_DDLogVerbose", referenced from:
...
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
其他许多网上的帖子建议,我查了“链接 - >其它链接器标记”构建设置下的设置,它也已经包含在它的“CocoaLumberjack”项目。
可能是什么问题?任何指导将不胜感激!