Xcode真机调试无法运行,报错Security Xcode
解决办法:
打开手机点击iPhone之前安装的应用版本,这时候会弹框让用户确认是否信任开发者的应用,点击信任,然后重新使用Xcode进行安装即可~
Could not launch "xxx". process launch failed: timed out waiting for app to launch
解决办法:
Xcode: Target-> Build Settings -> Code Signing -> Provisioning Profile设置为一个Automatic.即可 或者全部换成Dev开发证书。此前你可能选择的是Dis发布证书。
This application's application-identifier entitlement does not match that of the installed application. These values must match for an upgrade to be allowed.
解决办法:
发现手机中已经安装了该APP,先删除该APP,再重新运行到整机。
could not find developer disk image:
解决办法:
在xcode7真机测试时惹出现以下提示,则说明缺少与手机对应系统的某一文件夹,将其放到下面目录下就可以了:如图
/Applications/Xcode7.1.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
这个是xcode7运行iOS9.1所必须具有的文件夹。
The operation couldn’t be completed. (LaunchServicesError error 0.)
解决办法:/Users/userName/Library/Developer/Xcode/DerivedData 删除里面的data,删除前记得先退出simulator
The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error xxx)
解决办法:Reset Content and Settings...