Store Build not installing on device

Hi everybody,

After testing my app with a development provisional profile, I created an ADHOC version to test GameCenter.

Installed fine on iPad. No problems.

Now I build the STORE version using the store provisional profile. Corona doesn’t show any errors. But when I try to install it to any of my iPads, it fails:

============ XCODE LOG ==================

Jul  7 13:31:04 Roberts-iPad installd[54] <Error>: profile not valid: 0xe8008012
Jul  7 13:31:04 Roberts-iPad installd[54] <Error>: 0x213000 install_embedded_profile: Could not install embedded profile: 0xe8008012
Jul  7 13:31:04 Roberts-iPad installd[54] <Error>: Jul  7 13:31:04  SecTrustEvaluate  [leaf CriticalExtensions IssuerCommonName]
Jul  7 13:31:05 Roberts-iPad mobile_assertion_agent[4563] <Notice>: service_one_connection: Connection closed for client iTunes.
Jul  7 13:31:10 Roberts-iPad installd[54] <Error>: entitlement ‘beta-reports-active’ has value not permitted by a provisioning profile
Jul  7 13:31:10 Roberts-iPad installd[54] <Error>: entitlement ‘aps-environment’ has value not permitted by a provisioning profile
Jul  7 13:31:10 Roberts-iPad installd[54] <Error>: entitlement ‘application-identifier’ has value not permitted by a provisioning profile
Jul  7 13:31:10 Roberts-iPad installd[54] <Error>: entitlement ‘beta-reports-active’ has value not permitted by a provisioning profile
Jul  7 13:31:10 Roberts-iPad installd[54] <Error>: entitlement ‘application-identifier’ has value not permitted by a provisioning profile
Jul  7 13:31:10 Roberts-iPad installd[54] <Error>: entitlement ‘beta-reports-active’ has value not permitted by a provisioning profile
Jul  7 13:31:10 Roberts-iPad installd[54] <Error>: entitlement ‘application-identifier’ has value not permitted by a provisioning profile
Jul  7 13:31:10 Roberts-iPad installd[54] <Error>: entitlement ‘beta-reports-active’ has value not permitted by a provisioning profile
Jul  7 13:31:10 Roberts-iPad installd[54] <Error>: entitlement ‘aps-environment’ has value not permitted by a provisioning profile
Jul  7 13:31:10 Roberts-iPad installd[54] <Error>: entitlement ‘application-identifier’ has value not permitted by a provisioning profile
Jul  7 13:31:10 Roberts-iPad installd[54] <Error>: entitlement ‘beta-reports-active’ has value not permitted by a provisioning profile
Jul  7 13:31:10 Roberts-iPad installd[54] <Error>: entitlement ‘beta-reports-active’ has value not permitted by a provisioning profile
Jul  7 13:31:10 Roberts-iPad installd[54] <Error>: entitlement ‘aps-environment’ has value not permitted by a provisioning profile
Jul  7 13:31:10 Roberts-iPad installd[54] <Error>: entitlement ‘application-identifier’ has value not permitted by a provisioning profile
Jul  7 13:31:10 Roberts-iPad installd[54] <Error>: entitlement ‘beta-reports-active’ has value not permitted by a provisioning profile
Jul  7 13:31:10 Roberts-iPad installd[54] <Error>: entitlement ‘aps-environment’ has value not permitted by a provisioning profile
Jul  7 13:31:10 Roberts-iPad installd[54] <Error>: entitlement ‘application-identifier’ has value not permitted by a provisioning profile
Jul  7 13:31:10 Roberts-iPad installd[54] <Error>: entitlement ‘beta-reports-active’ has value not permitted by a provisioning profile
Jul  7 13:31:10 Roberts-iPad installd[54] <Error>: entitlement ‘aps-environment’ has value not permitted by a provisioning profile
Jul  7 13:31:10 Roberts-iPad installd[54] <Error>: entitlement ‘application-identifier’ has value not permitted by a provisioning profile
Jul  7 13:31:10 Roberts-iPad installd[54] <Error>: entitlement ‘beta-reports-active’ has value not permitted by a provisioning profile
Jul  7 13:31:10 Roberts-iPad installd[54] <Error>: entitlement ‘application-identifier’ has value not permitted by a provisioning profile
Jul  7 13:31:10 Roberts-iPad installd[54] <Error>: 0x213000 verify_signer_identity: MISValidateSignatureAndCopyInfo failed for /var/tmp/install_staging.ePsQjE/foo_extracted/Payload/Egyptian Treasures.app/Egyptian Treasures: 0xe8008016
Jul  7 13:31:10 Roberts-iPad installd[54] <Error>: 0x213000 do_preflight_verification: Could not verify executable at /var/tmp/install_staging.ePsQjE/foo_extracted/Payload/Egyptian Treasures.app
Jul  7 13:31:10 Roberts-iPad installd[54] <Error>: 0x213000 install_application: Could not preflight application install
Jul  7 13:31:10 Roberts-iPad itunesstored[71] <Error>: 0x1bcb000 MobileInstallationInstall: failed with -1
Jul  7 13:31:10 Roberts-iPad installd[54] <Error>: 0x213000 handle_install: API failed

========== END XCODE LOG ===========

All my developer certificates are valid. Tried to run the store version of a different app (my last game), and got the same problem.

The last thing I did was:

  • Update XCode to version 6.3.2

  • Update Mac to OSX 10.10.3

Does anybody have any idea what the problem could be?

Robert

Some more info from XCode:

Jul  7 14:17:00 Roberts-iPad installd[1616] <Error>: 0x100794000 -[MIInstaller performInstallationWithError:]: Verification stage failed
Jul  7 14:17:00 Roberts-iPad atc[1605] <Error>: 0x101f4c000 __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.yIf6WC/extracted/Payload/Egyptian Treasures.app identifier = com.rmbsoft.set type = 4> : 0xe8008016 (Entitlements found that are not permitted by provisioning profile)” UserInfo=0x14e895330 {LibMISErrorNumber=-402620394, LegacyErrorString=ApplicationVerificationFailed, SourceFileLine=188, FunctionName=-[MICodeSigningVerifier performValidationWithError:], NSLocalizedDescription=Failed to verify code signature of <MIExecutableBundle : path = /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.yIf6WC/extracted/Payload/Egyptian Treasures.app identifier = com.rmbsoft.set type = 4> : 0xe8008016 (Entitlements found that are not permitted by provisioning profile)}
Jul  7 14:17:00 Roberts-iPad atc[1605] <Warning>: ERROR: MobileInstallationInstallForLaunchServices returned nil
Jul  7 14:17:00 Roberts-iPad lsd[76] <Warning>: LaunchServices: installation failed for app com.rmbsoft.set

  Hello rmbsoft,

As far as I know, you can’t install an app built with a DISTRIBUTION profile directly on the device. You can only install it once it is available on TestFlight (in iTunesConnect) or directly on the App Store…

Sebastien is correct. You cannot install the version destined for the store directly on the device.

Rob

Thanks guys, I don’t know why I thought it was needed. I guess I’m getting old lol

Some more info from XCode:

Jul  7 14:17:00 Roberts-iPad installd[1616] <Error>: 0x100794000 -[MIInstaller performInstallationWithError:]: Verification stage failed
Jul  7 14:17:00 Roberts-iPad atc[1605] <Error>: 0x101f4c000 __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.yIf6WC/extracted/Payload/Egyptian Treasures.app identifier = com.rmbsoft.set type = 4> : 0xe8008016 (Entitlements found that are not permitted by provisioning profile)” UserInfo=0x14e895330 {LibMISErrorNumber=-402620394, LegacyErrorString=ApplicationVerificationFailed, SourceFileLine=188, FunctionName=-[MICodeSigningVerifier performValidationWithError:], NSLocalizedDescription=Failed to verify code signature of <MIExecutableBundle : path = /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.yIf6WC/extracted/Payload/Egyptian Treasures.app identifier = com.rmbsoft.set type = 4> : 0xe8008016 (Entitlements found that are not permitted by provisioning profile)}
Jul  7 14:17:00 Roberts-iPad atc[1605] <Warning>: ERROR: MobileInstallationInstallForLaunchServices returned nil
Jul  7 14:17:00 Roberts-iPad lsd[76] <Warning>: LaunchServices: installation failed for app com.rmbsoft.set

  Hello rmbsoft,

As far as I know, you can’t install an app built with a DISTRIBUTION profile directly on the device. You can only install it once it is available on TestFlight (in iTunesConnect) or directly on the App Store…

Sebastien is correct. You cannot install the version destined for the store directly on the device.

Rob

Thanks guys, I don’t know why I thought it was needed. I guess I’m getting old lol