Xcode: process start failed - Security

I get the error "Process Startup Error - Security" on Xcode 6, trying to integrate into iOS 8.1 of iPhone 5. I looked at the most https://stackoverflow.com/a/12981/ and I tried the following:

  • Delete all previous Provisioning profiles on the device.
  • Click on the application icon to see if it will offer me a dialog to say “OK” that I want to run the application.

None of them are successful. When I click on an application to see if it offers me this dialog (or launches my application), nothing will happen. The icon is blinking. It. Are there any other approaches that I can take to solve this problem? Now the only way to test the application on your device is through TestFlight ...

+9
ios objective-c iphone xcode xcode6
source share
6 answers

This is caused by expired or invalid provisioning profiles (usually where you have the appropriate package ID and two inconsistent provisioning profiles associated with inappropriate certificates).

  • Delete all provisioning profiles on the device again (in the Xcode menu Window> Devices ).
  • Disconnect the device from your Mac and check Settings.app to make sure all provisioning profiles are cleared (or at least the ones you think are causing the problem).
  • Reboot the device and do not disconnect it.
  • Delete all existing provisioning profiles from ~/Library/MobileDevice/Provisioning Profiles (you can back up first). If you are logged into your Apple Developer account under Xcode Xcode> Preferences> Accounts , existing / current management profiles managed by Xcode will reappear.
  • Insert the device again and it should work.
+19
source share

On your iPhone, go to settings-> general-> Device Management → "your account" and trust your security profile.

+5
source share

In some cases, you need to approve the developer (in this case, himself), and if he does not ask you when you click on the application icon (it may just give you the option of rejection) go to the settings app-> general → profiles → you should see the profile there, click on it and approve as trusted.

+3
source share

The answer for me was: The application is installed on your device. Click the icon and open the application in which a dialog appears to say whether you trust this application. Good, and go away. See Failed to start the Xcode process: security for more details

+2
source share

The security issue comes from iOS9, and solving this problem is very simple. A warning is displayed as,

Failed to start "Hello World" Failed to start the process: security

Its very easy to solve the problem, just open the "Settings" in your iPhone / iPad

 Settings → General → Device Management / Profiles & Device Management → Developer App / Enterprise App → Trust 

For the developer profile, your application will be in the "Application Developer" section, and for the enterprise profile, your application will be in the Enterprise APp section.

Clean and run the Done project.

+2
source share

For those who want to clear initialization profiles in the latest version of Xcode (I have version 10.2), I write the latest version

 Users -> Your User -> Library -> Mobile Device -> Provisioning Profiles 
0
source share

All Articles