Xcode "Could not launch". Only reports "Security" as error Xcode "Could not launch". Only reports "Security" as error ios ios

Xcode "Could not launch". Only reports "Security" as error


Apparently after upgrading the OS and such you must manually launch the app on the device and say that you trust the developer of the software.

That error message disappeared now.


Using xcode 7 with an iOS device running version 9.2, I had to:

  1. Open 'Settings'
  2. Tap 'General'
  3. Tap 'Device Management'
  4. Tap 'Developer App' that's in the list
  5. Tap 'Trust (developer name)'
  6. Tap 'Trust' in the popup

The app should load and launch when you run xcode.


I had the problem of not having the app on my device, so I couldn't manually launch it to accept the prompt. For me, I got this to work after deleting all expired provisioning profiles from my device, which forced Xcode to install a new one.

After this, I was able to get my app to run.