Comments (8)
I have the same issue, and I still can't find the answer.
from fastlane.
Same issue here, manually importing the certificate, key, and provisioning profile look fine in Xcode.
from fastlane.
I'm also facing same issue, any help
[12:01:52]: No code signing identity found and can not create a new one because you enabled readonly
+------------------------------------------------------+
| fastlane summary |
+------+---------------------------------+-------------+
| Step | Action | Time (in s) |
+------+---------------------------------+-------------+
| 1 | Verifying fastlane version | 0 |
| 2 | ensure_git_branch | 0 |
| 3 | ensure_git_status_clean | 0 |
| 4 | git_pull | 3 |
| 5 | Switch to ios build lane | 0 |
| 6 | Switch to ios certificates lane | 0 |
| 7 | match | 2 |
| π₯ | match | 2 |
+------+---------------------------------+-------------+
[12:01:52]: fastlane finished with errors
Looking for related GitHub issues on fastlane/fastlane...
β‘οΈ No code signing identity found and can not create a new one because you enabled readonly
#21679 [open] 2 π¬
a week ago
β‘οΈ [match] errSecInternalComponent if not possible to prompt for keychain password
#15185 [open] 150 π¬
23 Aug 2023
β‘οΈ Could not install WWDR certificate
#20960 [closed] 80 π¬
17 Oct 2023
π You can β + double-click on links to open them directly in your browser.
/opt/homebrew/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/fastlane_core/lib/fastlane_core/ui/interface.rb:129:in crash!': [!] No code signing identity found and can not create a new one because you enabled
readonly(FastlaneCore::Interface::FastlaneCrash) from /opt/homebrew/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/fastlane_core/lib/fastlane_core/ui/ui.rb:17:in
method_missing'
from /opt/homebrew/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/match/lib/match/runner.rb:144:in fetch_certificate' from /opt/homebrew/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/match/lib/match/runner.rb:73:in
run'
from /opt/homebrew/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/fastlane/lib/fastlane/actions/sync_code_signing.rb:19:in run' from /opt/homebrew/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/fastlane/lib/fastlane/runner.rb:263:in
block (2 levels) in execute_action'
from /opt/homebrew/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/fastlane/lib/fastlane/actions/actions_helper.rb:69:in execute_action' from /opt/homebrew/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/fastlane/lib/fastlane/runner.rb:255:in
block in execute_action'
from /opt/homebrew/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/fastlane/lib/fastlane/runner.rb:229:in chdir' from /opt/homebrew/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/fastlane/lib/fastlane/runner.rb:229:in
execute_action'
from /opt/homebrew/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/fastlane/lib/fastlane/runner.rb:157:in trigger_action_by_name' from /opt/homebrew/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/fastlane/lib/fastlane/fast_file.rb:159:in
method_missing'
from Fastfile:14:in block (2 levels) in parsing_binding' from /opt/homebrew/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/fastlane/lib/fastlane/lane.rb:41:in
call'
from /opt/homebrew/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/fastlane/lib/fastlane/runner.rb:204:in try_switch_to_lane' from /opt/homebrew/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/fastlane/lib/fastlane/runner.rb:146:in
trigger_action_by_name'
from /opt/homebrew/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/fastlane/lib/fastlane/fast_file.rb:159:in method_missing' from Fastfile:18:in
block (2 levels) in parsing_binding'
from /opt/homebrew/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/fastlane/lib/fastlane/lane.rb:41:in call' from /opt/homebrew/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/fastlane/lib/fastlane/runner.rb:204:in
try_switch_to_lane'
from /opt/homebrew/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/fastlane/lib/fastlane/runner.rb:146:in trigger_action_by_name' from /opt/homebrew/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/fastlane/lib/fastlane/fast_file.rb:159:in
method_missing'
from Fastfile:24:in block (2 levels) in parsing_binding' from /opt/homebrew/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/fastlane/lib/fastlane/lane.rb:41:in
call'
from /opt/homebrew/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/fastlane/lib/fastlane/runner.rb:49:in block in execute' from /opt/homebrew/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/fastlane/lib/fastlane/runner.rb:45:in
chdir'
from /opt/homebrew/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/fastlane/lib/fastlane/runner.rb:45:in execute' from /opt/homebrew/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/fastlane/lib/fastlane/lane_manager.rb:47:in
cruise_lane'
from /opt/homebrew/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/fastlane/lib/fastlane/command_line_handler.rb:36:in handle' from /opt/homebrew/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/fastlane/lib/fastlane/commands_generator.rb:110:in
block (2 levels) in run'
from /opt/homebrew/Cellar/fastlane/2.217.0/libexec/gems/commander-4.6.0/lib/commander/command.rb:187:in call' from /opt/homebrew/Cellar/fastlane/2.217.0/libexec/gems/commander-4.6.0/lib/commander/command.rb:157:in
run'
from /opt/homebrew/Cellar/fastlane/2.217.0/libexec/gems/commander-4.6.0/lib/commander/runner.rb:444:in run_active_command' from /opt/homebrew/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:124:in
run!'
from /opt/homebrew/Cellar/fastlane/2.217.0/libexec/gems/commander-4.6.0/lib/commander/delegates.rb:18:in run!' from /opt/homebrew/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/fastlane/lib/fastlane/commands_generator.rb:354:in
run'
from /opt/homebrew/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/fastlane/lib/fastlane/commands_generator.rb:43:in start' from /opt/homebrew/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/fastlane/lib/fastlane/cli_tools_distributor.rb:123:in
take_off'
from /opt/homebrew/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/bin/fastlane:23:in <top (required)>' from /opt/homebrew/Cellar/fastlane/2.217.0/libexec/bin/fastlane:25:in
load'
from /opt/homebrew/Cellar/fastlane/2.217.0/libexec/bin/fastlane:25:in `
muhammad@Muhammads-MacBook-Pro my_git_theq_app %
from fastlane.
Same issue here, can't seem to find a solution. It did happen after updating the certificate
from fastlane.
While integrating the Fastlane, I am not create the new certificates, Just used the import command. Because we have already created the certificates earlier.
I have .p12 file and it's successfully added in the keychain. It's properly run in Xcode. while running in CI/CD using gitlab its showing this error. In the build stage working fine, but when we come to TestFlight build it's not working. (Native iOS App only)
+---------------------------------------------+ | Detected Values from './fastlane/Matchfile' | +----------------------+----------------------+ | gitlab_project | id | | gitlab_host | https://gitlab.com/ | | storage_mode | gitlab_secure_files | | type | development | +----------------------+----------------------+ +-----------------------------------------------------------------------------------+ | Summary for match 2.217.0 | +----------------------------------------+------------------------------------------+ | type | appstore | | app_identifier | ["com.bundle.id"] | | readonly | true | | generate_apple_certs | true | | skip_provisioning_profiles | false | | username | user | | team_id | id | | storage_mode | gitlab_secure_files | | git_branch | master | | shallow_clone | false | | clone_branch_directly | false | | skip_google_cloud_account_confirmation | false | | s3_skip_encryption | false | | gitlab_project | id | | gitlab_host | https://gitlab.com/ | | job_token | [token] | | keychain_name | fastlane_tmp_keychain | | force | false | | force_for_new_devices | false | | include_mac_in_profiles | false | | include_all_certificates | false | | force_for_new_certificates | false | | skip_confirmation | false | | safe_remove_certs | false | | skip_docs | false | | platform | ios | | derive_catalyst_app_identifier | false | | fail_on_name_taken | false | | skip_certificate_matching | false | | skip_set_partition_list | false | | verbose | false | +----------------------------------------+------------------------------------------+ [14:06:55]: Initializing match for GitLab project on https://gitlab.com/ [14:06:59]: Couldn't find a valid code signing identity for distribution... creating one for you now +--------------------------------------------------------------------------------------------+ | Lane Context | +---------------------------+----------------------------------------------------------------+ | DEFAULT_PLATFORM | ios | | PLATFORM_NAME | ios | | LANE_NAME | ios beta | | KEYCHAIN_PATH | ~/Library/Keychains/fastlane_tmp_keychain | | ORIGINAL_DEFAULT_KEYCHAIN | "/Library/Keychains/fastlane_tmp_keychain-db" | +---------------------------+----------------------------------------------------------------+ [14:06:59]: No code signing identity found and can not create a new one because you enabled
readonly
+---------------------------------------+ | fastlane summary | +------+------------------+-------------+ | Step | Action | Time (in s) | +------+------------------+-------------+ | 1 | default_platform | 0 | | 2 | setup_ci | 0 | | 3 | is_ci | 0 | | π₯ | match | 3 | +------+------------------+-------------+ [14:06:59]: fastlane finished with errors Looking for related GitHub issues on fastlane/fastlane... β‘οΈ [match] errSecInternalComponent if not possible to prompt for keychain password #15185 [open] 150 π¬ 23 Aug 2023 β‘οΈ Could not install WWDR certificate #20960 [closed] 80 π¬ 6 weeks ago β‘οΈ [match] Fixes Gitlab Secure Files API limit #21205 [closed] 5 π¬ 04 Jul 2023 and 33 more at: https://github.com/fastlane/fastlane/search?q=No%20code%20signing%20identity%20found%20and%20can%20not%20create%20a%20new%20one%20because%20you%20enabled%20%60readonly%60&type=Issues&utf8=β π You can β + double-click on links to open them directly in your browser. bundler: failed to load command: fastlane (/usr/local/bin/fastlane) FastlaneCore::Interface::FastlaneCrash: [!] No code signing identity found and can not create a new one because you enabledreadonly
/Library/Ruby/Gems/2.6.0/gems/fastlane-2.217.0/fastlane_core/lib/fastlane_core/ui/interface.rb:129:incrash!' /Library/Ruby/Gems/2.6.0/gems/fastlane-2.217.0/fastlane_core/lib/fastlane_core/ui/ui.rb:17:in
method_missing' /Library/Ruby/Gems/2.6.0/gems/fastlane-2.217.0/match/lib/match/runner.rb:144:infetch_certificate' /Library/Ruby/Gems/2.6.0/gems/fastlane-2.217.0/match/lib/match/runner.rb:73:in
run' /Library/Ruby/Gems/2.6.0/gems/fastlane-2.217.0/fastlane/lib/fastlane/actions/sync_code_signing.rb:19:inrun' /Library/Ruby/Gems/2.6.0/gems/fastlane-2.217.0/fastlane/lib/fastlane/runner.rb:263:in
block (2 levels) in execute_action' /Library/Ruby/Gems/2.6.0/gems/fastlane-2.217.0/fastlane/lib/fastlane/actions/actions_helper.rb:69:inexecute_action' /Library/Ruby/Gems/2.6.0/gems/fastlane-2.217.0/fastlane/lib/fastlane/runner.rb:255:in
block in execute_action' /Library/Ruby/Gems/2.6.0/gems/fastlane-2.217.0/fastlane/lib/fastlane/runner.rb:229:inchdir' /Library/Ruby/Gems/2.6.0/gems/fastlane-2.217.0/fastlane/lib/fastlane/runner.rb:229:in
execute_action' /Library/Ruby/Gems/2.6.0/gems/fastlane-2.217.0/fastlane/lib/fastlane/runner.rb:157:intrigger_action_by_name' /Library/Ruby/Gems/2.6.0/gems/fastlane-2.217.0/fastlane/lib/fastlane/fast_file.rb:159:in
method_missing' Fastfile:42:inblock (2 levels) in parsing_binding' /Library/Ruby/Gems/2.6.0/gems/fastlane-2.217.0/fastlane/lib/fastlane/lane.rb:41:in
call' /Library/Ruby/Gems/2.6.0/gems/fastlane-2.217.0/fastlane/lib/fastlane/runner.rb:49:inblock in execute' /Library/Ruby/Gems/2.6.0/gems/fastlane-2.217.0/fastlane/lib/fastlane/runner.rb:45:in
chdir' /Library/Ruby/Gems/2.6.0/gems/fastlane-2.217.0/fastlane/lib/fastlane/runner.rb:45:inexecute' /Library/Ruby/Gems/2.6.0/gems/fastlane-2.217.0/fastlane/lib/fastlane/lane_manager.rb:47:in
cruise_lane' /Library/Ruby/Gems/2.6.0/gems/fastlane-2.217.0/fastlane/lib/fastlane/command_line_handler.rb:36:inhandle' /Library/Ruby/Gems/2.6.0/gems/fastlane-2.217.0/fastlane/lib/fastlane/commands_generator.rb:110:in
block (2 levels) in run' /Library/Ruby/Gems/2.6.0/gems/commander-4.6.0/lib/commander/command.rb:187:incall' /Library/Ruby/Gems/2.6.0/gems/commander-4.6.0/lib/commander/command.rb:157:in
run' /Library/Ruby/Gems/2.6.0/gems/commander-4.6.0/lib/commander/runner.rb:444:inrun_active_command' /Library/Ruby/Gems/2.6.0/gems/fastlane-2.217.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:124:in
run!' /Library/Ruby/Gems/2.6.0/gems/commander-4.6.0/lib/commander/delegates.rb:18:inrun!' /Library/Ruby/Gems/2.6.0/gems/fastlane-2.217.0/fastlane/lib/fastlane/commands_generator.rb:354:in
run' /Library/Ruby/Gems/2.6.0/gems/fastlane-2.217.0/fastlane/lib/fastlane/commands_generator.rb:43:instart' /Library/Ruby/Gems/2.6.0/gems/fastlane-2.217.0/fastlane/lib/fastlane/cli_tools_distributor.rb:123:in
take_off' /Library/Ruby/Gems/2.6.0/gems/fastlane-2.217.0/bin/fastlane:23:in<top (required)>' /usr/local/bin/fastlane:23:in
load' /usr/local/bin/fastlane:23:in `<top (required)>'Cleaning up project directory and file based variables
ERROR: Job failed: exit status 1
Any one please guide me on this.
Thanks in advance.
The issue for me was in the match password.
I've created a new repo, nuked my distribution certificates, updated the repo and reset the match by running fastlane match.
It will ask you for a password which is the match password. It will be added to your keychain under login.
I've also created a new personal acces token in github to access the repo
Do make sure to set the provising profiles to the new certificates in xcode
from fastlane.
same issue here
from fastlane.
Anyone find a solution?!
from fastlane.
calling this for downloading updated profiles from apple developer portal
match(
type: development,
readonly: true,
username: <myusername>,
git_url: <mygitlab_repo_url>,
generate_apple_certs: false,
git_branch: master,
shallow_clone: true,
output_path: <my_dir_path>
)
expected - fastlane match should download profiles from apple dev portal and upload them to my gitlab repo
received - error - No matching provisioning profiles found and cannot create a new one because you enabled readonly
. Check the output above for more information.
used latest fastlane version, tried to remove certificates and profiles from gitlab repo - did not help
as workaround - I have downloaded profiles manually from dev portal and manually encrypted with openssl and commit to mygitlab_repo
enc_pass=<mypassword>
profile_source=Development.mobileprovision
profile_path=Development_<my_app_id>.mobileprovision
openssl aes-256-cbc -a -e -md md5 -k $(enc_pass) -in $(profile_source) -out $(profile_path)
from fastlane.
Related Issues (20)
- Fastlane is not reading macros from Package.Swift (SPM)
- fastlane sigh download_all and "Error parsing provisioning profile at path..."
- fastlane match HOT 4
- bundler: command not found: fastlane
- Individual API Key not supported HOT 3
- fastlane deliver init is not working in CLI
- JEG2/highline should be updated to avoid warning of abbrev missing in standard lib for ruby 3.3.0
- How to get raw exit code from Fastlane HOT 1
- Match import to s3 Crash on encrypting. HOT 2
- Provisioning profile expiration comparison compares Time and DateTime
- AvailableTerritories is deprecated and fastlane is not upgraded to new api endpoints HOT 5
- Match managing provisioning profiles for DriverKit
- curb-1.0.0/lib/curl/easy.rb - Failed to read/open file
- `match` behaves differently in v2.220.0: `wrong final block length` HOT 12
- Can't upload build to Test Flight; [!] undefined method `refresh!' HOT 2
- A parameter has an invalid value - 'prices' is not a valid relationship name HOT 9
- I run the command 'fastlane match development'. and i got the following error: Looking for related GitHub issues on fastlane/fastlane... Found no similar issues. To create a new issue, please visit: https://github.com/fastlane/fastlane/issues/new Run fastlane env to append the fastlane environment to your issue [!] The request could not be completed because: This request is forbidden for security reasons - You currently don't have access to this membership resource. Contact your team's Account Holder, or an Admin.
- Build_for_testing fails sporadically with error 'Could not find or use auto-linked framework' HOT 2
- Can fastlane support filling in Chinaβs ICP registration number?
- [match] provisioning profile generated via match blocks release installation on TestFlight (or on device) HOT 1
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.