2012-09-26 43 views
1

我将XCode更新为最新版本(4.5)。当我试图编译我的项目,控制台给了我这个错误:为什么我无法重建zendesk_ios_sdk?

ld: file is universal (2 slices) but does not contain a(n) armv7s slice: /Users/myuser/Documents/MyProjectDirectory/libZendeskDropbox.a for architecture armv7s

所以,我下载zendesk_ios_sdk source from githu B和随后的自述文件中的说明,在第3步,我得到这个错误:

can't open input file: /Users/myuser/Library/Developer/Xcode/DerivedData/ZendeskDropboxIOS-cnginhrdnonxxrantdlwohdmmdot/Build/Products/Debug-iphoneos/../Release-iphonesimulator/libZendeskiPhoneSimulator.a (No such file or directory)

这是怎么发生的?

回答

2

我刚刚下载从GitHub源,它似乎对组合库脚本需要一个发布版本,但该项目设置为ZendeskiPhone和ZendeskiPhoneSimulator方案做调试版本

的编辑方案ZendeskiPhone和ZendeskiPhoneSimulator方案,以便构建配置的版本,然后再按照说明进行操作(如下截图)

Edit Scheme

Select Project

Change to Release

+0

它的工作,非常感谢苏海尔。 –

相关问题