首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > 移动开发 >

xcode4.3.2联机调试时出现错误,无法在真机上运行

2012-07-03 
xcode4.3.2联机调试时出现异常,无法在真机上运行xcode4.3.2联机调试时出现异常,无法在真机上运行error: fa

xcode4.3.2联机调试时出现异常,无法在真机上运行
xcode4.3.2联机调试时出现异常,无法在真机上运行
error: failed to launch '/Users/jpm/Library/Developer/Xcode/DerivedData/phonetest1-gerjuzyynkfhhfgtdklsrehowmgy/Build/Products/Debug-iphoneos/phonetest1.app/phonetest1' -- failed to get the task for process 1500

解决方法如下:
For xcode 4:you have to create Entitlements.plist file from new file. and
Targets->build Settings->Code Signing Entitlements you have to write here "Entitlements.plist"
设置Entitlements.plist的属性Can be debugged=YES(切记在xcode4.3.2上打包应用发布时一定要设置成NO,否则打包成功但无法安装到ios设备上,xcode4.2以下版本则无需设置成NO)

热点排行