fastlane: A parameter has an invalid value - 'UNIVERSAL' is not a valid filter value. Expected one of: IOS, MAC_OS
New Issue Checklist
- Updated fastlane to the latest version
- I read the Contribution Guidelines
- I read docs.fastlane.tools
- I searched for existing GitHub issues
Issue Description
When using Fastlane Match if match profiles need to be created (don’t currently exist) we get the following error:
A parameter has an invalid value - 'UNIVERSAL' is not a valid filter value. Expected one of: IOS, MAC_OS
Command executed
match(
type:"appstore",
app_identifier:options[:bundle_id],
git_url:"git@github.com:Company/codesigning.git",
git_branch:options[:team_id],
team_id:options[:team_id],
team_name:options[:team_name],
api_key:api_key,
)
Complete output when running fastlane, including the stack trace and command used
[23:53:58]: Successfully generated 6XXXXXXXXX which was imported to the local machine.
[23:53:58]: Verifying the certificate is properly installed locally...
[23:53:58]: Successfully installed certificate 6XXXXXXXXX
[23:53:59]: An error occurred while verifying your certificates and profiles with the Apple Developer Portal.
[23:53:59]: If you already have your certificates stored in git, you can run `fastlane match` in readonly mode
[23:53:59]: to just install the certificates and profiles without accessing the Dev Portal.
[23:53:59]: To do so, just pass `readonly: true` to your match call.
+--------------------------------------------------------+
| Lane Context |
+------------------+-------------------------------------+
| DEFAULT_PLATFORM | ios |
| PLATFORM_NAME | ios |
| LANE_NAME | ios appstore_codesigning_and_config |
+------------------+-------------------------------------+
[23:53:59]: A parameter has an invalid value - 'UNIVERSAL' is not a valid filter value. Expected one of: IOS, MAC_OS
Environment
[REPLACE THIS WITH YOUR INFORMATION]
About this issue
- Original URL
- State: open
- Created 2 years ago
- Reactions: 3
- Comments: 22 (3 by maintainers)
+1
Just echoing everyone has said. We have also encountered this issue yesterday. We were able to use @ramakser’s PR: https://github.com/fastlane/fastlane/pull/29580 to workaround the issue for now. Other than the linting issue in that PR, what can we do to get the ball rolling to get a release with this patch out?
+1
Same. Updating to https://github.com/fastlane/fastlane/releases/tag/2.228.0 has fixed it for me too.
Updating Fastlane to v 2.228.0 resolved the issue for me.
I managed to run it again today with:
Quick and fast workaround:
Change Germfile
gem 'fastlane', github: 'ramakser/fastlane', branch: 'fix/unknown_attribute_templateName'And then run
bundle update fastlane