PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Wednesday, September 28, 2022

[FIXED] How do I make Fastlane Deliver work for tvOS?

 September 28, 2022     app-store-connect, continuous-integration, fastlane, fastlane-deliver, tvos     No comments   

Issue

Upload to iTunesConnect fails with the following error:

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

+-----------------------+---------------------------------------+
|                    deliver 2.26.1 Summary                     |
+-----------------------+---------------------------------------+
| username              | iosdev@inspirato.com                  |
| ipa                   | /Users/vagrant/deploy/InspiratoTV.ipa |
| skip_screenshots      | true                                  |
| skip_metadata         | true                                  |
| force                 | true                                  |
| app_identifier        | com.inspirato.travel.InspiratoTV      |
| screenshots_path      | ./screenshots                         |
| metadata_path         | ./metadata                            |
| app_version           | 1.0                                   |
| edit_live             | false                                 |
| platform              | ios                                   |
| skip_binary_upload    | false                                 |
| submit_for_review     | false                                 |
| automatic_release     | false                                 |
| overwrite_screenshots | false                                 |
+-----------------------+---------------------------------------+

It appears that the platform is stuck on "ios" even though I don't have an iOS related app for this bundle ID. I've tried adding "--platform tvOS" to the end of the $ fastlane deliver ... command with no luck.


Solution

Deliver uses the notation "appletvos" for the tvOS platform.


Add that to the end of the $ fastlane deliver command:

$ fastlane deliver ... ... "--platform" "appletvos"

Or add it to your .Deliver file like so:

deliver(platform: "appletvos")


Answered By - Justin Vallely
Answer Checked By - Marilyn (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing