2011-11-03 118 views
0

同时添加静态库在Xcode 4.2在Xcode 4.2项目

命令/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang失败,退出后建设我的项目,我收到以下错误添加静态库代码1

+0

在将项目与库链接后,或者尝试将库中的标题添加到其中一个源文件后发生此错误? – MobileOverlord

+0

另外,你只是.d库文件,或者你是否将xcodeproj添加到你的xcodeproj库中? – MobileOverlord

回答

0

您可能希望为目标的构建设置添加一些其他链接器标志。查看目标中的Build Settings。 enter image description here

通常这会修复静态库的链接问题。