Special Profile Issue

I have this error, does anyone know what the problem is? I check and I have a rights key in both adHoc and the main preparation profile, but I don’t know why I have this error.

DTFetchSymbols[512] <Notice>: /System/Library/Caches/com.apple.dyld/dyld_shared_cache_armv7s DTFetchSymbols[512] <Notice>: kCommand_ListFilesPlist syslog_relay[377] <Notice>: syslog_relay found the ASL prompt. Starting... profiled[84] <Notice>: (Note ) MC: Provisioning profiles changed mobile_installation_proxy[375] <Warning>: LaunchServices: Please include the kCFBundleIdentifierKey in the options dictionary when installing an app. mobile_installation_proxy[375] <Warning>: LaunchServices: installing app with unknown bundleID installd[384] <Notice>: 0x603000 -[MIClientConnection _doBackgroundInstallationForPath:withOptions:completion:]: Install of "/var/mobile/Media/PublicStaging/Test.ipa" type Customer requested by mobile_installation_proxy (pid 375) installd[384] <Notice>: 0x603000 -[MIInstaller performInstallationWithError:]: Installing <MIInstallableBundle ID=test.testTest.Test; Version=3, ShortVersion=3.1.2> misagent[378] <Error>: attempt to install invalid profile: 0xe8008012 installd[384] <Error>: 0x603000 -[MIInstallableBundle _installEmbeddedProfileInBundle:]: Could not install embedded profile: 0xe8008012 (Unsupported device) installd[384] <Error>: SecTrustEvaluate [leaf CriticalExtensions IssuerCommonName] installd[384] <Error>: entitlement 'beta-reports-active' has value not permitted by provisioning profile 'test TEST AdHoc 2015' installd[384] <Error>: 0x603000 -[MICodeSigningVerifier performValidationWithError:]: 186: Failed to verify code signature of <MIExecutableBundle : path = /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.asUxKy/extracted/Payload/Test.app identifier = test.Test.testTest type = 4> : 0xe8008016 (Entitlements found that are not permitted by provisioning profile) installd[384] <Error>: 0x603000 -[MIInstaller performInstallationWithError:]: Verification stage failed mobile_installation_proxy[375] <Error>: 0x603000 __MobileInstallationInstallForLaunchServices_block_invoke240: Returned error Error Domain=MIInstallerErrorDomain Code=13 "Failed to verify code signature of <MIExecutableBundle : path = /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.asUxKy/extracted/Payload/Test.app identifier = test.Test.testTest type = 4> : 0xe8008016 (Entitlements found that are not permitted by provisioning profile)" UserInfo=0x17566950 {LibMISErrorNumber=-402620394, LegacyErrorString=ApplicationVerificationFailed, FunctionName=-[MICodeSigningVerifier performValidationWithError:], NSLocalizedDescription=Failed to verify code signature of <MIExecutableBundle : path = /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.asUxKy/extracted/ Payload/Test.app identifier = test.Test.testTest type = 4> : 0xe8008016 (Entitlements found that are not permitted by provisioning profile), SourceFileLine=186} mobile_installation_proxy[375] <Warning>: ERROR: MobileInstallationInstallForLaunchServices returned nil mobile_installation_proxy[375] <Error>: 0x581000 handle_install: Installation failed: Error Domain=LaunchServicesError Code=0 "The operation couldn't be completed. (LaunchServicesError error 0.)" UserInfo=0x17566a30 {Error=ApplicationVerificationFailed, ErrorDetail=-402620394, ErrorDescription=Failed to verify code signature of <MIExecutableBundle : path = /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.asUxKy/extracted/Payload/Test.app identifier = test.Test.testTest type = 4> : 0xe8008016 (Entitlements found that are not permitted by provisioning profile)} 

Thanks in advance!

+8
ios xcode provisioning-profile
source share
5 answers

For me, beta reports were active: https://developer.apple.com/library/ios/qa/qa1830/_index.html

I have two Xcode archives that I can export for ad-hoc distribution. AFAIK they are based on the same code and are created in the same way (Xcode> Product> Archive). During the export wizard, one archive shows me "beta reports-active" according to the rights, and the other does not. I get the same error message as the OP when I try to install ipas with the right "beta-reports-active". I updated the provisioning profile and installed the appstore distribution profile again, and then archived again, which created the archive without the right of "beta reports-active", but I'm not sure if that was the reason.

+1
source share

For me, it started with Xcode 7.

I used AdHoc.ipa to spread through the air through

 xcodebuild -exportArchive -archivePath "/path/to/My App 9-24-15, 21.21.xcarchive" -exportPath /path/to/MyApp_AdHoc.ipa -exportFormat ipa -exportProvisioningProfile "MyApp Ad Hoc Distribution Profile" 

( .xcarchive made by Xcode)

Steps how I fixed this:

  • Don't use xcodebuild , but instead let Xcode execute .ipa for me using the "Export ..." command in Organizer
  • Configure Xcode to automatically manage my provisioning profiles .
  • I made one exception from the document above: in the target Build Settings under Code Identification> I set iOS Developer for debug builds and the iOS distribution for li>
  • Close Xcode
  • Update the App Store provisioning profile as described in Beta Reports-Active Q & A Terms of Reference , but before downloading the Submission Profile via Xcode (Step 9) I deleted it here

     ~/Library/MobileDevice/Provisioning Profiles 
  • Delete DerivedData folder p>

     rm -rf ~/Library/Developer/Xcode/DerivedData/* 
  • Delete the cache code (just in case)

     sudo rm -rf ~/Library/Caches/com.apple.dt.Xcode 
  • Run Xcode again
  • Download the App Store provisioning profile through Settings ... β†’ Accounts
  • To reach
  • Make sure that with "Export ..." through Xcode in the "Without Permissions" application there is no beta-reports-active button (if you have one, this will not work for building AdHoc)
+1
source share

It started after upgrading from Xcode 6 to 8, and the following was added to solve this problem:

-exportProvisioningProfile "MyApp Special Ads Distribution Profile"

to my command line xcodebuild -exportArchive.

+1
source share

Not sure if this will help you, but what I did was decide that I deleted the profile profiles for the application. Then I recreated it on the developer portal. Then I took the assembly I just made and exported it to Xcode (Organizer> Export> Save for Ad Hoc Deployment), confirmed that it was using the provisioning profile that I just made, and then loaded it so that testflight and I could install it on my phone. I am using iPhone 6 running ios 8.0.

0
source share

This error can occur if you create and sign your IPA from the command line (CI System, for example Jenkins), and you need to implement a mobile provisioning profile to use Apple Push notifications:

xcrun [...] --sign "<<CERTIFICATE NAME>>" --embed "<</path/to/mobileprovision>>"

In this case, the mobile provisioning profile that you are trying to deploy is not the one you use in xcode.


The code sample you provided also shows the right to 'beta-reports-active' , indicating that you are using a beta version. If you look at StackOverflow here, you will find many posts with solutions to this particular problem.

0
source share

All Articles