You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried running bundle exec fastlane match development without specifying the github url in the Matchfile a few times and now when I run bundle exec fastlane match development I get an error saying maximum number of development certificates reached. I get the same error when running for appstore too. I only have 3 development certificates on my company account, but I also have a personal App Store Connect account.
Command executed
bundle exec fastlane match development --verbose
Complete output when running fastlane, including the stack trace and command used
▶ bundle exec fastlane match development --verbose
[✔] 🚀
/usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.160.0/fastlane_core/lib/fastlane_core/ui/interface.rb:141: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.160.0/fastlane_core/lib/fastlane_core/ui/errors/fastlane_error.rb:9: warning: The called method `initialize' is defined here
INFO [2020-09-18 15:44:51.76]: Successfully loaded '/Users/user/Desktop/Work/app/fastlane/Matchfile' 📄
+----------------+--------------------------------------------+
| Detected Values from './Matchfile' |
+----------------+--------------------------------------------+
| git_url | git@github.com:LemonSpike/certificates |
| | s.git |
| storage_mode | git |
| type | development |
| app_identifier | ["app_id"] |
| username | email@gmail.com |
| team_id | team_id |
| git_branch | master |
+----------------+--------------------------------------------+
+--------------------------------+--------------------------------------------+
| Summary for match 2.160.0 |
+--------------------------------+--------------------------------------------+
| verbose | true |
| type | development |
| readonly | false |
| generate_apple_certs | true |
| skip_provisioning_profiles | false |
| app_identifier | ["app_id"] |
| username | email@gmail.com |
| team_id | team_id |
| storage_mode | git |
| git_url | git@github.com:LemonSpike/certificates |
| | s.git |
| git_branch | master |
| shallow_clone | false |
| clone_branch_directly | false |
| keychain_name | login.keychain |
| force | false |
| force_for_new_devices | false |
| skip_confirmation | false |
| skip_docs | false |
| platform | ios |
| derive_catalyst_app_identifier | false |
| fail_on_name_taken | false |
+--------------------------------+--------------------------------------------+
INFO [2020-09-18 15:44:51.77]: Cloning remote git repo...
INFO [2020-09-18 15:44:51.77]: If cloning the repo takes too long, you can use the `clone_branch_directly` option in match.
INFO [2020-09-18 15:44:51.77]: $ git clone git@github.com:LemonSpike/certificates.git /var/folders/c4/c8xhhjp97d7391gz1m7s7xhw0000gn/T/d20200918-78592-7cbbxk
INFO [2020-09-18 15:44:51.81]: ▸ Cloning into '/var/folders/c4/c8xhhjp97d7391gz1m7s7xhw0000gn/T/d20200918-78592-7cbbxk'...
INFO [2020-09-18 15:44:53.05]: ▸ warning: You appear to have cloned an empty repository.
INFO [2020-09-18 15:44:53.25]: $ git --no-pager branch --list origin/master --no-color -r
INFO [2020-09-18 15:44:53.27]: Checking out branch master...
INFO [2020-09-18 15:44:53.27]: $ git checkout --orphan master
INFO [2020-09-18 15:44:53.29]: ▸ Switched to a new branch 'master'
INFO [2020-09-18 15:44:53.29]: $ git reset --hard
INFO [2020-09-18 15:44:53.31]: 🔓 Successfully decrypted certificates repo
INFO [2020-09-18 15:44:53.35]: Verifying that the certificate and profile are still valid on the Dev Portal...
Reading keychain entry, because either user or password were empty
Loading session from '/Users/user/.fastlane/spaceship/email@gmail.com/cookie'
Available session is not valid any more. Continuing with normal login.
WARN [2020-09-18 15:44:57.25]: Couldn't find a valid code signing identity for development... creating one for you now
+----------------------+--------------------------------------------+
| Summary for cert 2.160.0 |
+----------------------+--------------------------------------------+
| platform | ios |
| development | true |
| generate_apple_certs | true |
| force | true |
| username | pranavkasetti@gmail.com |
| team_id | 9478TRD43F |
| keychain_path | /Users/user/Library/Keychains/log |
| | in.keychain-db |
+----------------------+--------------------------------------------+
INFO [2020-09-18 15:44:57.26]: Starting login with user 'email@gmail.com'
Reading keychain entry, because either user or password were empty
Loading session from '/Users/user/.fastlane/spaceship/email@gmail.com/cookie'
Available session is not valid any more. Continuing with normal login.
INFO [2020-09-18 15:45:00.63]: Successfully logged in
Looking for related GitHub issues on fastlane/fastlane...
Search query: Could not create another Development certificate, reached the maximum number of available Development certificates.
URL: https://api.github.com/search/issues?q=Could%20not%20create%20another%20Development%20certificate%2C%20reached%20the%20maximum%20number%20of%20available%20Development%20certificates.+repo:fastlane/fastlane
➡️ Fastlane match + multiple apps + git branches
https://github.com/fastlane/fastlane/issues/16311 [closed] 5 💬
6 weeks ago
➡️ match fails to create Development certificate, claims that it reached maximum
https://github.com/fastlane/fastlane/issues/14998 [closed] 10 💬
08 Mar 2020
➡️ Unable to `cert` within circleci, There are no local code signing identities found
https://github.com/fastlane/fastlane/issues/15432 [closed] 3 💬
04 Jan 2020
and 33 more at: https://github.com/fastlane/fastlane/search?q=Could%20not%20create%20another%20Development%20certificate%2C%20reached%20the%20maximum%20number%20of%20available%20Development%20certificates.&type=Issues&utf8=✓
🔗 You can ⌘ + double-click on links to open them directly in your browser.
bundler: failed to load command: fastlane (/usr/local/lib/ruby/gems/2.7.0/bin/fastlane)
FastlaneCore::Interface::FastlaneError: [!] Could not create another Development certificate, reached the maximum number of available Development certificates.
/usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.160.0/fastlane_core/lib/fastlane_core/ui/interface.rb:141:in `user_error!'
/usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.160.0/fastlane_core/lib/fastlane_core/ui/ui.rb:17:in `method_missing'
/usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.160.0/cert/lib/cert/runner.rb:181:in `rescue in create_certificate'
/usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.160.0/cert/lib/cert/runner.rb:176:in `create_certificate'
/usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.160.0/cert/lib/cert/runner.rb:44:in `run'
/usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.160.0/cert/lib/cert/runner.rb:13:in `launch'
/usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.160.0/match/lib/match/generator.rb:39:in `generate_certificate'
/usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.160.0/match/lib/match/runner.rb:161:in `fetch_certificate'
/usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.160.0/match/lib/match/runner.rb:94:in `run'
/usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.160.0/match/lib/match/commands_generator.rb:68:in `block (3 levels) in run'
/usr/local/lib/ruby/gems/2.7.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in `call'
/usr/local/lib/ruby/gems/2.7.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in `run'
/usr/local/lib/ruby/gems/2.7.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in `run_active_command'
/usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.160.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in `run!'
/usr/local/lib/ruby/gems/2.7.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in `run!'
/usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.160.0/match/lib/match/commands_generator.rb:187:in `run'
/usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.160.0/match/lib/match/commands_generator.rb:25:in `start'
/usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.160.0/fastlane/lib/fastlane/cli_tools_distributor.rb:111:in `take_off'
/usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.160.0/bin/fastlane:23:in `<top (required)>'
/usr/local/lib/ruby/gems/2.7.0/bin/fastlane:23:in `load'
/usr/local/lib/ruby/gems/2.7.0/bin/fastlane:23:in `<top (required)>'
I first nuked my certificates and provisioning profiles, since these were invalid, and started fresh with an empty GH repo to let fastlane generate the certs and profiles. I then cleared out the deliver password in Keychain Assistant, and the match password. Now everything works automagically. 🚀
New Issue Checklist
Issue Description
I tried running
bundle exec fastlane match development
without specifying the github url in the Matchfile a few times and now when I runbundle exec fastlane match development
I get an error saying maximum number of development certificates reached. I get the same error when running for appstore too. I only have 3 development certificates on my company account, but I also have a personal App Store Connect account.Command executed
bundle exec fastlane match development --verbose
Complete output when running fastlane, including the stack trace and command used
Environment
✅ fastlane environment ✅
Stack
System Locale
fastlane files:
`./Fastfile`
No Appfile found
fastlane gems
Loaded fastlane plugins:
Loaded gems
generated on: 2020-09-18
The text was updated successfully, but these errors were encountered: