Xcode 7.2 can't attach to iPhone with iOS 9.2

吃可爱长大的小学妹 提交于 2019-12-10 16:27:27

问题


For development purposes, I already put iOS 9.2 beta on my iPhone 5s. Of course, I also installed Xcode 7.2 beta.

When I want to run an app extension (keyboard) on the device, the app builds properly, gets installed on the iPhone and started. Then, however, I'm presented with this message in Xcode:

Could not launch "MyApp"

process launch failed: failed to get the task for process

Does anyone know how to fix this?

EDIT: With the final release version if Xcode 7.2, the message changed to

Could not launch "MyApp"

unable to attach


回答1:


Now I feel stupid...

I was signing the app with a distribution certificate and provisioning profile. With iOS 9.1 it worked, however. Now, I simply created a development provisioning profile and it's working.



来源:https://stackoverflow.com/questions/34156861/xcode-7-2-cant-attach-to-iphone-with-ios-9-2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!