首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >i386架构问题

i386架构问题
EN

Stack Overflow用户
提问于 2011-04-21 06:02:45
回答 2查看 3.1K关注 0票数 1

我遇到了一个可怕的问题。我的代码在设备上运行,但不在模拟器上运行,并给出以下错误:

代码语言:javascript
复制
Ld /Users/fgringo/Library/Developer/Xcode/DerivedData/GuessTheBalls-bgplgtjujgzwbnhkbratlkdnnrzm/Build/Products/Debug-iphonesimulator/GuessTheBalls.app/GuessTheBalls normal i386
    cd "/Users/fgringo/Desktop/SecretBalls_V1.1 Working"
    setenv MACOSX_DEPLOYMENT_TARGET 10.6
    setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk -L/Users/fgringo/Library/Developer/Xcode/DerivedData/GuessTheBalls-bgplgtjujgzwbnhkbratlkdnnrzm/Build/Products/Debug-iphonesimulator -F/Users/fgringo/Library/Developer/Xcode/DerivedData/GuessTheBalls-bgplgtjujgzwbnhkbratlkdnnrzm/Build/Products/Debug-iphonesimulator "-F/Users/fgringo/Desktop/SecretBalls_V1.1 Working" -filelist /Users/fgringo/Library/Developer/Xcode/DerivedData/GuessTheBalls-bgplgtjujgzwbnhkbratlkdnnrzm/Build/Intermediates/GuessTheBalls.build/Debug-iphonesimulator/GuessTheBalls.build/Objects-normal/i386/GuessTheBalls.LinkFileList -mmacosx-version-min=10.6 -Xlinker -objc_abi_version -Xlinker 2 /usr/lib/gcrt1.o -framework Foundation -framework UIKit -framework CoreGraphics -framework QuartzCore -framework SystemConfiguration -framework AudioToolbox -framework GameKit -o /Users/fgringo/Library/Developer/Xcode/DerivedData/GuessTheBalls-bgplgtjujgzwbnhkbratlkdnnrzm/Build/Products/Debug-iphonesimulator/GuessTheBalls.app/GuessTheBalls

ld: warning: ignoring file /Users/fgringo/Desktop/SecretBalls_V1.1 Working/GameKit.framework/GameKit, missing required architecture i386 in file
ld: duplicate symbol start in /usr/lib/gcrt1.o and /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/usr/lib/crt1.10.6.o for architecture i386
collect2: ld returned 1 exit status
Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1

但仔细看看最后一句话:

代码语言:javascript
复制
ld: warning: ignoring file /Users/fgringo/Desktop/SecretBalls_V1.1 Working/GameKit.framework/GameKit, missing required architecture i386 in file

ld: duplicate symbol start in /usr/lib/gcrt1.o and /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/usr/lib/crt1.10.6.o for architecture i386
collect2: 

ld returned 1 exit status
Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1

我尝试了iOS模拟器,尝试做一些我真的不记得的其他更改,但这就是问题所在。

EN

回答 2

Stack Overflow用户

发布于 2013-01-21 15:09:54

我认为存在重复的文件。如果它不存在,请尝试清理它并重新构建它。

票数 0
EN

Stack Overflow用户

发布于 2011-04-21 06:17:42

页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/5737171

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档