Xcode - Error launching WatchKit Extension

Bryan picture Bryan · Mar 18, 2019 · Viewed 13k times · Source

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.

Answer

Shoaib Mohammed picture Shoaib Mohammed · Apr 11, 2020

This setting should be set to Trust(your Apple id) in Settings -> General -> Device Management ->