Application failed to start, "process start failed: disabled"

xcode is giving me this error message when I run my project. Try ios device in my case mini ipad,

I am using signe code development

device in startup list

valid project setting

mistake:

Error: Failed to start '/private/var/mobile/Containers/Bundle/Application/389D3AA9-DC56-4FD5-91CD-17C51C4E064A/Try.app' - process failed to start: disabled

any help please?

+3


source to share


4 answers


I had the same problem / error, but the problem was not with the profile. Unchecking "Trigger due to background fetch event" in the Edit Schematic menu fixed it for me.

uncheck this box

Step by step:



  • In Xcode, click the button containing your application name, which is directly to the right of the Stop button
  • Click "Edit Schematic ..." in the dropdown menu
  • Make sure Launch is selected on the left and Options at the top.
  • The Background Fetch field will be in the middle of the view

As Jesuslg123 mentioned above, it is prudent to check this box if you want to test the functionality of your application. Most of the users experiencing this issue have most likely checked it by mistake, or have since turned off the relevant background features for their app and forgot to clear it (like me).

+22


source


If you are trying to debug background selection please remember to include it in



Target -> Capabilities -> Background Modes

+3


source


i am posting a bug to apple support and this answer

Thank you for contacting Apple Worldwide Developer Technical Support. I am responding to inform you that I have received your request for technical assistance.

The above message means that your application was signed with the Provisioning Distribution profile. Run the following command in its binary format in a Terminal application to determine if the application was built with a development or distribution profile: codesign -dv.app

This command will print information about your binary file. Your binary was created with a developer profile if the permission string is set like this: Power = iPhone Developer: xxxxxxxx (xxxxxx)

The app is built with a developer profile

codesign -dvvv /Users/username/Library/Developer/Xcode/DerivedData/QuickContacts-                       eqjxksovflunlhgkarzfztmivkbv/Build/Products/Debug-iphoneos/QuickContacts.app 
Executable=/Users/username/Library/Developer/Xcode/DerivedData/QuickContacts-          eqjxksovflunlhgkarzfztmivkbv/Build/Products/Debug-iphoneos/QuickContacts.app/QuickContacts
Identifier=com.example.apple-samplecode.ContainingApp
Format=bundle with Mach-O universal (armv7 (16777228:0))
CodeDirectory v=20200 size=526 flags=0x0(none) hashes=16+5 location=embedded
Hash type=sha1 size=20
CDHash=99a7c9dbbbfec50a12db9c17a72d208828cc1b14
Signature size=4332
Authority=iPhone Developer: xxxxxxxx (xxxxxx)
Authority=Apple Worldwide Developer Relations Certification Authority
Authority=Apple Root CA
Signed Time=Nov 17, 2014, 10:52:45 AM
Info.plist entries=30
TeamIdentifier=4C89638E89
Sealed Resources version=2 rules=12 files=15
Internal requirements count=1 size=204

      

The app is built with a distribution profile

codesign -dvvv /Users/username/Library/Developer/Xcode/Archives/2014-11-17/QuickContacts\ 11-17-    14\,\ 10.56\ AM.xcarchive/Products/Applications/QuickContacts.app 
Executable=/Users/username/Library/Developer/Xcode/Archives/2014-11-17/QuickContacts 11-17-14,     10.56 AM.xcarchive/Products/Applications/QuickContacts.app/QuickContacts
Identifier=com.example.apple-samplecode.ContainingApp
Format=bundle with Mach-O universal (armv7 (16777228:0))
CodeDirectory v=20200 size=486 flags=0x0(none) hashes=14+5 location=embedded
Hash type=sha1 size=20
CDHash=054d2ece4a0babeaf3dc53ddd2c3685173c716ec
Signature size=4335
Authority=iPhone Distribution: xxxxxx (xxxxxx)
Authority=Apple Worldwide Developer Relations Certification Authority
Authority=Apple Root CA
Signed Time=Nov 17, 2014, 10:56:09 AM
Info.plist entries=30
TeamIdentifier=4C89638E89
Sealed Resources version=2 rules=12 files=16
Internal requirements count=1 size=208

      

0


source


Product -> Scheme -> Modify Schema -> Run -> Parameters

To make sure that the check box The background sample (start of events of background sample) ' is not marked ;

It works for me!

0


source







All Articles