-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Fix: fastlane match issue -template name is not an attribute on the resource profiles #29581
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Still happening with using a local updated version with your provided fix: |
Any progress on this PR or do we need to create yet another fork to fix this? |
@jonaswaigel Here another PR which should solve the issue: #29591 I am not too familiar with fastlane and template_name so not sure is any other changes are needed but tests are passing for now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
coool
Team, Any fix for this ? |
Hi all! Do you happen to have any updates or fixes for this? We blocked because we automated all the flow from Fastlane. And for profile generation, there is an error: |
Any update on when we can expect a fix for this? |
Hi! Any updates on this issue? Let me know if there's a temporary workaround or if this is planned for the next release. Thanks! |
Same here |
If anyone looking for a temporary workaround for this issue, use this in your Gemfile to force usage of the patch branch from @rasheedcalgary
|
Checklist
bundle exec rspec
from the root directory to see all new and existing tests passbundle exec rubocop -a
to ensure the code style is validci/circleci
builds in the "All checks have passed" section of my PR (connect CircleCI to GitHub if not)Motivation and Context
Motivation and Context
This change resolves a runtime error caused by passing the templateName attribute to Apple’s App Store Connect API, which currently does not recognize this parameter in provisioning profile creation requests.
The error message encountered:
The provided entity includes an unknown attribute - 'templateName' is not an attribute on the resource 'profiles'
Resolves
#29580
#29499
#29579
Description
This PR conditionally excludes the templateName field from the API request payload unless it is explicitly provided and non-nil. This preserves backward compatibility and avoids triggering an error from Apple’s API for standard use cases.
The change was made in Spaceship::ConnectAPI::Profile.create and ensures the attributes hash is built dynamically, only including templateName if present.
Testing Steps