您的位置:首页 > 其它

关于xcode中info.plist文件出错问题

2014-05-20 11:46 309 查看
问题描述:

我的cocos2dx程序,现在只能在模拟器,真机中运行一次,有时候也不行,然后再次运行的时候,首先提示“Xcode
annnot run using the selected device. Choose a destination with a supported architedture
in order to run on this device. ” 如下图:
 



点击OK后,再次点击运行,就出现这个提示“ Can't
install application The Info.plist for application at /Users/wangyong/Library/Developer/Xcode/DerivedData/universalkidsedu-efunleobyxgiopcgfbxnugkakgmj/Build/Products/Debug-iphoneos/universalkidsedu.app
specifies a CFBundleExecutable of ${EXECUTABLE_NAME}, which does not exist ”



是info.plist的问题,由于之前工程出现问题删除重建工程,重新添加了Resources的引用,所以info.plist选择了Target membership,导致上述错误的发生,不选择就OK了,见下图:

图片:屏幕快照 2013-10-29 下午6.41.19.png 



图片来自cocochina论坛中,楼主问题与我相似,此问题也困扰我很久 写出来给有同样问题的人看
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: