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上设置相同的目标,库选择了真机,游戏工程选择了模拟器,导致的!两边都选择真机,就没有问题。
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上设置相同的目标,库选择了真机,游戏工程选择了模拟器,导致的!两边都选择真机,就没有问题。
相关文章推荐
- fstream,ifstream,ofstream 详解与用法
- N皇后问题(hdu2553)
- TI C66x DSP 系统events及其应用 - 4.3(Exception handle)
- ios 沙盒 NSCoding 归档 数据存储
- java环境变量配置(windows7)
- 从K近邻算法、距离度量谈到KD树、SIFT+BBF算法
- Eclipse调试Java的10个技巧
- 输出两字符串最大相同部分——C面试题
- 针对list集合排序
- Android Compatibility package 兼容性开发套件
- 深入理解Javascript闭包概念
- WebBrowser嵌入对话框中,回车键不响应
- 关于青春
- POJ1742 coins
- hello world 级别模块程序
- 据说这是改进版顺序链表
- github fork开源项目后如何与源项目保持同步
- jquery的show/hide性能测试
- 时间去哪了
- c/c++内存泄露