Xcode - Error launching WatchKit Extension

♀尐吖头ヾ 提交于 2019-12-10 14:07:16

问题


I've successfully built a basic Watch/iPhone app and am getting the following error when trying to run on my devices:

"Error Launching 'app_name WatchKit Extension'

The operation couldn’t be completed. Unable to launch because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user."

The app does install to the watch/phone, but I want to use the extension to view console output while running the app.

I am using automatic provisioning, which is not giving any errors. I am not using Apple's paid developer program. Has anybody experienced this before? Cheers.


回答1:


I resolved this by opening the app on the Apple Watch for the first time, then selecting "Trust developer" on the prompt that appeared.



来源:https://stackoverflow.com/questions/55213319/xcode-error-launching-watchkit-extension

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