您的位置:首页 > 其它

i386 错误

2014-05-08 17:29 387 查看
报了未定义的i386错误。

ld: warning: ignoring file /Users/riddick/Library/Developer/Xcode/DerivedData/StormLibIOS-cfrqhdwfasdyrgdndynsrzmqfkax/Build/Products/Release-iphoneos/GameRes.framework/GameRes, missing required architecture i386 in file /Users/riddick/Library/Developer/Xcode/DerivedData/StormLibIOS-cfrqhdwfasdyrgdndynsrzmqfkax/Build/Products/Release-iphoneos/GameRes.framework/GameRes
(3 slices)

Undefined symbols for architecture i386:

  "LoadCertainFile(char const*, char const*, unsigned char*)", referenced from:

      AppDelegate::applicationDidFinishLaunching() in AppDelegate.o

ld: symbol(s) not found for architecture i386

clang: error: linker command failed with exit code 1 (use -v to see invocation)

是因为,没有在scheme上设置相同的目标,库选择了真机,游戏工程选择了模拟器,导致的!两边都选择真机,就没有问题。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: