解决Xcode "The selected destination does not support the architecture " 错误错误
来源:互联网 发布:ug编程几何体 编辑:程序博客网 时间:2024/05/16 11:06
XCODE编译运行项目后,发现工程编译后无法运行,出现:
"The selected destination does not support the architecture for which the selected software is built. Switch to a destination that supports that architecture in order to run the selected software." 错误。
首先,出现该问题一般是在
${PROJECT_NAME}.xcodeproj目录的相关文件的问题,像xcschemes/xcschememanagement.plist
If you are having the same problem — deleting all the Xcode4 project data with your userid may get you up and running again…
How to go about deleting the user-specific project data
In terminal – navigate to your project directory
cd into the ${PROJECT_NAME}.xcodeproj directory
run this command: find . -name ‘*yourUserName*’
rm -rf any files or dirs that come up
Reopen Xcode4 – build and *hopefully* run your project
解决方法步骤如下:
1、在命令行中cd到你的工程文件夹下
2、cd进xcode 项目的文件夹,大致格式是:${PROJECT_NAME}.xcodeproj (注: 每一个xcode 项目其实是一个文件夹。。你如果右键点击项目文件会发现一个属性叫:show package content,其实就是浏览它的内容。。)
3、进入yourname.xcuserdatad/xcschemes 后将xcschememanagement.plist 目录删除
"The selected destination does not support the architecture for which the selected software is built. Switch to a destination that supports that architecture in order to run the selected software." 错误。
首先,出现该问题一般是在
${PROJECT_NAME}.xcodeproj目录的相关文件的问题,像xcschemes/xcschememanagement.plist
If you are having the same problem — deleting all the Xcode4 project data with your userid may get you up and running again…
How to go about deleting the user-specific project data
In terminal – navigate to your project directory
cd into the ${PROJECT_NAME}.xcodeproj directory
run this command: find . -name ‘*yourUserName*’
rm -rf any files or dirs that come up
Reopen Xcode4 – build and *hopefully* run your project
解决方法步骤如下:
1、在命令行中cd到你的工程文件夹下
2、cd进xcode 项目的文件夹,大致格式是:${PROJECT_NAME}.xcodeproj (注: 每一个xcode 项目其实是一个文件夹。。你如果右键点击项目文件会发现一个属性叫:show package content,其实就是浏览它的内容。。)
3、进入yourname.xcuserdatad/xcschemes 后将xcschememanagement.plist 目录删除
rm -rf ./project.xcworkspace/xcuserdata/"用户名".xcuserdatadrm -rf ./xcuserdata/"用户名".xcuserdatad
rm -rf ./project.xcworkspace/xcuserdata/xcschemes/xcschememanagement.plist
4、把xcode关掉(command+q彻底退出啊。。记得),然后重开。*希望*能运行吧。不行就只能再google了。。
还有另一种可能原因是,出现有以下类似警告的错误提示,造成上述错误弹出窗口出现:
[WARN]Warning: Multiple build commands for output file /Developer/build/Release-iphonesimulator/
target引用了名字重复的资源
找到当前的target,展开之后,找到Copy Bundle Resources栏目,然后在里面找到重复名字的资源或本身没资源但此处确有文件的扩展名为.plist和png的文件一一移除,删除不要的那个即可
Command+Q退出重新打开工程项目即可
- Xcode "The selected destination does not support the architecture " 错误
- Xcode "The selected destination does not support the architecture " 错误
- Xcode "The selected destination does not support the architecture " 错误
- 解决Xcode "The selected destination does not support the architecture " 错误错误
- style 实现全屏和AppCompat does not support the current theme features错误的解决
- 解决NDK交叉编译 selected processor does not support ARM mode libtheora的错误
- 解决NDK交叉编译 selected processor does not support ARM mode libtheora的错误
- Xcode Cannot Run on the Selected Destination
- Xcode cannot run using the selected device. Choose a destination with a supported architecture
- xcode cannot run using the selected device choose a destination with a supported architecture
- Xcode cannot run using the selected device.Choose a destination with a supported architecture in ord
- SOS does not support the current target architecture解决方法
- App Store 上传 The application have selected does not exist错误,及athuer
- NDK的错误ERROR: The device does not support the application's targetted CPU ABIs!解决方法
- Tomcat 错误:The server does not support version 3.0 of the J2EE Web module specification
- The specified JRE installation does not exist--TomCat 错误解决
- Xcode 4: The selected run destination is not valid for this action
- vmware出错the destination file system does not support large files
- 第二次心动的女孩
- Install Ruby and gem
- 免费随身wifi无需360
- VC编译选项 Release MiniSize、Release MinDependecy的区别
- 使用 CXF 做 webservice 简单例子
- 解决Xcode "The selected destination does not support the architecture " 错误错误
- opencv 形状分析
- shell 实现每隔十分钟产生的日志
- CGAffineTransform实现对控件的旋转
- winform里面MDI窗体不重复打开问题
- liferay json web Service 注册问题
- android 实现全屏代码
- WPF-19:分享一个样式(左右滑动选中的checbox)
- oracle 压缩高水位线,提高查询性能