Comments (2)
Hello, @aureliencolas ADPWorkforceNow
Thank you for providing the details about your issue with Fastlane and provisioning profiles for tvOS. Let’s troubleshoot this together!
It seems that the generated provisioning profile names are not matching the expected format, specifically missing the _tvOS suffix. Here are some steps to address this:
Specify the Platform Parameter:
When using Fastlane’s match for signing, make sure to explicitly specify the platform parameter as tvos.
For example:
match(platform: "tvos")
Check Repository Naming Conventions:
Ensure that your repository follows the correct naming conventions for tvOS provisioning profiles.
The expected format should include the _tvOS suffix (e.g., AppStore_lu._tvos.mobileprovision).
Verify Fastlane Version:
Make sure you’re using the latest version of Fastlane. Update it if necessary.
Sometimes updates include fixes for compatibility issues.
Review Your Fastlane Configuration:
Double-check your Fastlane configuration files (e.g., Fastfile, Matchfile) to ensure there are no conflicting settings or overrides.
Confirm that the correct provisioning profiles are being used.
Test with a Different Developer Account:
You mentioned that the issue occurs when importing profiles using match import.
Try using a different developer account (where you have admin access) to see if the behavior is consistent.
Inspect the Provisioning Profiles:
Manually inspect the provisioning profiles in your repository.
Verify that they indeed match the expected format and contain the necessary information for tvOS.
Remember, debugging these issues can be like untangling headphone cables—it takes patience!.
I hope this info is helpful to you.
Best Regard,
from fastlane.
Thanks @gregory109 for taking time to help me with this issue.
Regarding the steps you mentioned,
- Specify the Platform Parameter
I do use the platform parameter withtvos
value as stated in my issue description:
bundle exec fastlane match import --type appstore --skip_provisioning_profiles true --clone_branch_directly true --git_branch XXXXXXXX --team_id XXXXXXXX --app_identifier XXXXXXXX --platform tvos
The issue does not occur when I create tvos provisioning profiles using match (from a lane this time) with the following command, it's just the import that fails to name provisioning profiles with the_tvos
suffix:
match(type: type, git_branch: team_id, team_id: team_id, app_identifier: ids, platform: "tvos", clone_branch_directly: true, verbose: match_verbose)
- Check Repository Naming Conventions
Yes, provisioning profiles created by match all have the_tvos
suffix. I can create these profiles for all the developer accounts I'm an admin of. But for developer accounts I'm only granted the developer role, I have to import the provisioning profiles created by the admin but this is then that the issue occurs. - Verify Fastlane Version
I use the latest version of fastlane but the issue still occurs. - Review Your Fastlane Configuration
I use thematch import
command from the command line, not from a lane.
In the Fastfile the only global setting set isdefault_platform(:ios)
but I assume it is overridden by theplatform
parameter provided to thematch import
command.
In the Matchfile, I only set thegit_url
, thestorage_mode
and thetype
(appstore).
The provisioning profile imported to BitBucket is indeed the one I want to export, it's just the renaming that is wrong. - Test with a Different Developer Account
I have not tested that yet but I'm afraid it won't change anything as there is nothing specific to the dev account I use when I experience the issue. - Inspect the Provisioning Profiles
The provisioning profile provided by the developer account admin do have theplatform: tvOS
property and is a valid tvOS provisioning profile as, once I have renamed the one generated by match (adding the_tvos
suffix) on BitBucket, everything works afterwards (ie. match retrieves the provisioning profile and then the app is built, uploaded and available on AppStoreConnect).
Would you be so kind as to try by yourself if you reproduce the issue by any chance?
Thanks again anyways.
from fastlane.
Related Issues (20)
- Tests written in Swift Testing framework are not running
- output_types is set to HTML by default, but `xcbeautify` doesn't support it
- Problem with Fastlane Build Version Management for iOS HOT 1
- [Deliver] Improve documentation for macOS since the Quick Start results with error HOT 2
- Fastlane snapshot doesn't work on iOS HOT 4
- Issue with get_push_certificate Command on Ruby 3.2 and 3.3 HOT 1
- Error on Device.disable request due to missing teamId in attributes data
- Deliver cannot upload a build with Individual API Key
- get_build_number(xcodeproj: options[:xcodeproject]) returns wrong number HOT 1
- Fastlane ios build fails, but xCode Product Archive succeeds HOT 1
- Assigning groups to app but only last one shows up HOT 2
- [spaceship] update_availability using Deprecated API HOT 1
- Bug: Handling of Version Numbers Ending in .0.0 in Fastlane
- [GYM] Fastlane doesn't generate the correct plist export file when a certain amount of bundleIds are provided
- Xcode 16 beta 3 tests fail as xcresulttool get object is deprecated
- CircleCI PR check uses unsupported Ruby version HOT 1
- use rosetta simulator in the lane - fastlane snapshot
- Ruby 3.3.4 falls back to "App" `output_name`, 3.3.3 works fine HOT 1
- xcodebuild fails during fastlane, but same command works outside of fastlane.
- Fastlane Snapshot devices defaults to Mac
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastlane.