COCOS2DX 编译IOS问题

一aa一 2015-05-26 03:14:00
d: warning: ignoring file /Users/wenbinwu/Library/Developer/Xcode/DerivedData/MyCppGame-fbpcrzkehoplongebtwwozjvtpro/Build/Products/Debug-iphonesimulator/libcocos2d iOS.a, file was built for archive which is not the architecture being linked (i386): /Users/wenbinwu/Library/Developer/Xcode/DerivedData/MyCppGame-fbpcrzkehoplongebtwwozjvtpro/Build/Products/Debug-iphonesimulator/libcocos2d iOS.a
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_CCEAGLView", referenced from:
objc-class-ref in AppController.o
"SoundEngine::ResumeSound()", referenced from:
AppDelegate::applicationWillEnterForeground() in AppDelegate.o
"SoundEngine::PausSound()", referenced from:
AppDelegate::applicationDidEnterBackground() in AppDelegate.o
"SoundEngine::SoundEngine()", referenced from:

工程在VS2012下编译正常 拷贝到MAC上 编译报这个错误,求大神指点。。。
...全文
272 回复 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

29,049

社区成员

发帖
与我相关
我的任务
社区描述
主要讨论与iOS相关的软件和技术
社区管理员
  • iOS
  • 大熊猫侯佩
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧