`
jiapumin
  • 浏览: 341369 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

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)
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics