Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

tvOS: Invalid Provisioning Profile. This provisioning profile is not compatible with iOS apps

Tags:

xcode

tvos

When trying to publish to iTunes Connect via a altool for a tvOS app, I'm running into errors.

/Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/Support/altool --validate-app --file "/path/to/MyApp.ipa" -t ios --username [email protected] --password ********
    2015-10-22 09:05:32.175 altool[8567:159593] *** Error: Unable to validate archive '/path/to/MyApp.ipa': (
        "Error Domain=ITunesConnectionOperationErrorDomain Code=1176 \"Unable to process application at this time due to the following error: Invalid Provisioning Profile. This provisioning profile is not compatible with iOS apps..\" UserInfo={NSLocalizedRecoverySuggestion=Unable to process application at this time due to the following error: Invalid Provisioning Profile. This provisioning profile is not compatible with iOS apps.., NSLocalizedDescription=Unable to process application at this time due to the following error: Invalid Provisioning Profile. This provisioning profile is not compatible with iOS apps.., NSLocalizedFailureReason=iTunes Store operation failed.}"
    )

All of the provisioning profiles are correct. I'm running Xcode 7.1 GM Build version 7B91b.

When I do this manually through Xcode it works. The same exact script works for iOS, but not for tvOS.

What gives?

like image 409
syvex Avatar asked Oct 22 '15 16:10

syvex


People also ask

What is iOS app provisioning profile?

A provisioning profile links your signing certificate and App ID so that you can sign apps to install and launch on iOS devices. You must have a development provisioning profile to sign apps for use with iOS Gateway version 3.4 and later.


1 Answers

I've managed to figure out a working solution. You archive as normal but instead of submitting to the store via the organiser create the ipa/pkg file by selecting | Export -> Save For AppStore Deployment | once the ipa/pkg has been created upload it via Transporter (new version of Application Loader, you can get it from the Mac App Store)

In Transporter you just log in, then select the ipa/pkg created using Xcode, and voila! it works.

like image 123
Kurt Sebastian Jacobs Avatar answered Sep 21 '22 20:09

Kurt Sebastian Jacobs