在尝试在我的iPod Touch上构建我的iPhone应用程序后,我突然收到以下错误:
Command /Xcode3/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1我还收到了以下警告,我认为这些警告与此错误有关,可能是原因:
ld: warning: in /Users/Max/git/iTopCharts/iTopCharts/Classes/NSAdditions/libNSAdditions_Device.a, missing required architecture i386 in file
ld: warning: in /Xcode3/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148)/Symbols/usr/lib/libSystem.dylib, missing required architecture i386 in file
ld: in /Xcode3/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148)/Symbols/usr/lib/libobjc.A.dylib, missing required architecture i386 in file非常感谢所有的帮助,因为我已经花了几天的时间制作这个应用程序。
发布于 2011-02-21 05:19:44
这个错误是由许多不同的问题引起的。
或
如果以上都不符合您的情况,那么您需要更详细地查看错误。为此,
在xcode中,右键单击错误行并选择“将这些最新结果作为脚本文本文件打开”。这将打开实际的xcode输出日志,其中应该包含比之前看到的更好的错误描述。
编辑代码:确保搜索“退出代码1”,说明将显示在结果的正上方。我希望它能帮上忙
https://stackoverflow.com/questions/5059963
复制相似问题