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
Fastlane is run in macOS environment and it can be used by GitHub Actions. On the other words, there is running a self-hosted runner which is using fastlane. So, this in not included into specific project.
I have a GitHub Action which downloads Apple's Provisioning Profiles at every night. When running a command fastlane sigh download_all --api_key_path fastlane.json --output_path=pp_path I got an error /opt/homebrew/lib/ruby/gems/3.3.0/gems/fastlane-2.220.0/fastlane_core/lib/fastlane_core/ui/interface.rb:129:in `crash!': [!] Error parsing provisioning profile at path '/Users/user/Library/MobileDevice/Provisioning Profiles/AppStore__<project_bundle_id>'
If I run ls -la in /Users/user/Library/MobileDevice/Provisioning Profiles/ looks that fastlane tries to install the provisioning profile file that doesn't exist in the path.
Like, in case
/opt/homebrew/lib/ruby/gems/3.3.0/gems/fastlane-2.220.0/fastlane_core/lib/fastlane_core/ui/interface.rb:129:in `crash!': [!] Error parsing provisioning profile at path '/Users/user/Library/MobileDevice/Provisioning Profiles/AppStore_a4205234....
Looks that ls -la |wc -l finds 44 hits (yes, we have a lot of projects...), but ls -la AppStore_a420* doesn't find any hits.
I have also tried to use two GH Actions steps, where in first phase was used --skip_install=true and in next step not but this didn't fixed the issue.
Overall, in the GH Action is practically three steps: first runs rm -rf * to clear everything (in provisioning profile path). Second step reads variables FASTLANE_USER and FASTLANE_PASSWORD and after that runs a command fastlane sigh download_all --skip_certificate_verification --output_path=pp_path for our In-House account. Third step is for our Company/Organization account and this step creates this issue.
Complete output when running fastlane, including the stack trace and command used
/opt/homebrew/lib/ruby/gems/3.3.0/gems/fastlane-2.220.0/fastlane_core/lib/fastlane_core/ui/interface.rb:129:in `crash!': [!] Error parsing provisioning profile at path '/Users/user/Library/MobileDevice/Provisioning Profiles/AppStore_a4205234....' (FastlaneCore::Interface::FastlaneCrash)
from /opt/homebrew/lib/ruby/gems/3.3.0/gems/fastlane-2.220.0/fastlane_core/lib/fastlane_core/ui/ui.rb:17:in `method_missing'
from /opt/homebrew/lib/ruby/gems/3.3.0/gems/fastlane-2.220.0/fastlane_core/lib/fastlane_core/provisioning_profile.rb:33:in `parse'
from /opt/homebrew/lib/ruby/gems/3.3.0/gems/fastlane-2.220.0/fastlane_core/lib/fastlane_core/provisioning_profile.rb:39:in `uuid'
from /opt/homebrew/lib/ruby/gems/3.3.0/gems/fastlane-2.220.0/sigh/lib/sigh/manager.rb:39:in `install_profile'
from /opt/homebrew/lib/ruby/gems/3.3.0/gems/fastlane-2.220.0/sigh/lib/sigh/download_all.rb:117:in `download_profile'
from /opt/homebrew/lib/ruby/gems/3.3.0/gems/fastlane-2.220.0/sigh/lib/sigh/download_all.rb:83:in `block in download_profiles'
from /opt/homebrew/lib/ruby/gems/3.3.0/gems/fastlane-2.220.0/sigh/lib/sigh/download_all.rb:80:in `each'
from /opt/homebrew/lib/ruby/gems/3.3.0/gems/fastlane-2.220.0/sigh/lib/sigh/download_all.rb:80:in `download_profiles'
from /opt/homebrew/lib/ruby/gems/3.3.0/gems/fastlane-2.220.0/sigh/lib/sigh/download_all.rb:73:in `download_all'
from /opt/homebrew/lib/ruby/gems/3.3.0/gems/fastlane-2.220.0/sigh/lib/sigh/manager.rb:35:in `download_all'
from /opt/homebrew/lib/ruby/gems/3.3.0/gems/fastlane-2.220.0/sigh/lib/sigh/commands_generator.rb:84:in `block (2 levels) in run'
from /opt/homebrew/lib/ruby/gems/3.3.0/gems/commander-4.6.0/lib/commander/command.rb:[18](https://github.devcloud.elisa.fi/Tarmo/ios-provisioning-profile-install/actions/runs/2444409/job/5538023#step:8:19)7:in `call'
from /opt/homebrew/lib/ruby/gems/3.3.0/gems/commander-4.6.0/lib/commander/command.rb:157:in `run'
from /opt/homebrew/lib/ruby/gems/3.3.0/gems/commander-4.6.0/lib/commander/runner.rb:444:in `run_active_command'
from /opt/homebrew/lib/ruby/gems/3.3.0/gems/fastlane-2.2[20](https://github.devcloud.elisa.fi/Tarmo/ios-provisioning-profile-install/actions/runs/2444409/job/5538023#step:8:21).0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:124:in `run!'
from /opt/homebrew/lib/ruby/gems/3.3.0/gems/commander-4.6.0/lib/commander/delegates.rb:18:in `run!'
from /opt/homebrew/lib/ruby/gems/3.3.0/gems/fastlane-2.220.0/sigh/lib/sigh/commands_generator.rb:140:in `run'
from /opt/homebrew/lib/ruby/gems/3.3.0/gems/fastlane-2.[22](https://github.devcloud.elisa.fi/Tarmo/ios-provisioning-profile-install/actions/runs/2444409/job/5538023#step:8:23)0.0/sigh/lib/sigh/commands_generator.rb:17:in `start'
from /opt/homebrew/lib/ruby/gems/3.3.0/gems/fastlane-2.220.0/fastlane/lib/fastlane/cli_tools_distributor.rb:115:in `take_off'
from /opt/homebrew/lib/ruby/gems/3.3.0/gems/fastlane-2.220.0/bin/fastlane:[23](https://github.devcloud.elisa.fi/Tarmo/ios-provisioning-profile-install/actions/runs/2444409/job/5538023#step:8:24):in `'
from /opt/homebrew/opt/ruby/bin/fastlane:25:in `load'
from /opt/homebrew/opt/ruby/bin/fastlane:25:in `'
/opt/homebrew/lib/ruby/gems/3.3.0/gems/fastlane-2.220.0/fastlane_core/lib/fastlane_core/ui/interface.rb:129:in `crash!': Error parsing provisioning profile at path '/Users/jenkins/Library/MobileDevice/Provisioning Profiles/AppStore_a4205234-4783-466c-9f1f-bc89ba5c09c1_fi.elisa.vakio.mobileprovision' (FastlaneCore::Interface::FastlaneCrash)
from /opt/homebrew/lib/ruby/gems/3.3.0/gems/fastlane-2.220.0/fastlane_core/lib/fastlane_core/ui/ui.rb:17:in `method_missing'
from /opt/homebrew/lib/ruby/gems/3.3.0/gems/fastlane-2.220.0/fastlane_core/lib/fastlane_core/provisioning_profile.rb:33:in `parse'
from /opt/homebrew/lib/ruby/gems/3.3.0/gems/fastlane-2.220.0/fastlane_core/lib/fastlane_core/provisioning_profile.rb:39:in `uuid'
from /opt/homebrew/lib/ruby/gems/3.3.0/gems/fastlane-2.220.0/sigh/lib/sigh/manager.rb:39:in `install_profile'
from /opt/homebrew/lib/ruby/gems/3.3.0/gems/fastlane-2.220.0/sigh/lib/sigh/download_all.rb:117:in `download_profile'
from /opt/homebrew/lib/ruby/gems/3.3.0/gems/fastlane-2.220.0/sigh/lib/sigh/download_all.rb:83:in `block in download_profiles'
from /opt/homebrew/lib/ruby/gems/3.3.0/gems/fastlane-2.220.0/sigh/lib/sigh/download_all.rb:80:in `each'
from /opt/homebrew/lib/ruby/gems/3.3.0/gems/fastlane-2.220.0/sigh/lib/sigh/download_all.rb:80:in `download_profiles'
from /opt/homebrew/lib/ruby/gems/3.3.0/gems/fastlane-2.220.0/sigh/lib/sigh/download_all.rb:73:in `download_all'
from /opt/homebrew/lib/ruby/gems/3.3.0/gems/fastlane-2.220.0/sigh/lib/sigh/manager.rb:35:in `download_all'
from /opt/homebrew/lib/ruby/gems/3.3.0/gems/fastlane-2.220.0/sigh/lib/sigh/commands_generator.rb:84:in `block (2 levels) in run'
from /opt/homebrew/lib/ruby/gems/3.3.0/gems/commander-4.6.0/lib/commander/command.rb:187:in `call'
from /opt/homebrew/lib/ruby/gems/3.3.0/gems/commander-4.6.0/lib/commander/command.rb:157:in `run'
from /opt/homebrew/lib/ruby/gems/3.3.0/gems/commander-4.6.0/lib/commander/runner.rb:444:in `run_active_command'
from /opt/homebrew/lib/ruby/gems/3.3.0/gems/fastlane-2.220.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:1[24](https://github.devcloud.elisa.fi/Tarmo/ios-provisioning-profile-install/actions/runs/2444409/job/5538023#step:8:25):in `run!'
from /opt/homebrew/lib/ruby/gems/3.3.0/gems/commander-4.6.0/lib/commander/delegates.rb:18:in `run!'
from /opt/homebrew/lib/ruby/gems/3.3.0/gems/fastlane-2.220.0/sigh/lib/sigh/commands_generator.rb:140:in `run'
from /opt/homebrew/lib/ruby/gems/3.3.0/gems/fastlane-2.220.0/sigh/lib/sigh/commands_generator.rb:17:in `start'
from /opt/homebrew/lib/ruby/gems/3.3.0/gems/fastlane-2.220.0/fastlane/lib/fastlane/cli_tools_distributor.rb:115:in `take_off'
from /opt/homebrew/lib/ruby/gems/3.3.0/gems/fastlane-2.220.0/bin/fastlane:23:in `'
from /opt/homebrew/opt/ruby/bin/fastlane:[25](https://github.devcloud.elisa.fi/Tarmo/ios-provisioning-profile-install/actions/runs/2444409/job/5538023#step:8:26):in `load'
from /opt/homebrew/opt/ruby/bin/fastlane:25:in `'
Error: Process completed with exit code 1.
Environment
✅ fastlane environment ✅
Stack
Key
Value
OS
14.4.1
Ruby
3.3.0
Bundler?
false
Git
git version 2.39.3 (Apple Git-145)
Installation Source
/opt/homebrew/opt/ruby/bin/fastlane
Host
macOS 14.4.1 (23E224)
Ruby Lib Dir
/opt/homebrew/Cellar/ruby/3.3.0/lib
OpenSSL Version
OpenSSL 3.2.0 23 Nov 2023
Is contained
false
Is homebrew
false
Is installed via Fabric.app
false
Xcode Path
/Applications/Xcode15.2.app/Contents/Developer/
Xcode Version
15.2
Swift Version
5.9.2
System Locale
Variable
Value
LANG
en_US.UTF-8
✅
LC_ALL
LANGUAGE
fastlane files:
No Fastfile found
No Appfile found
fastlane gems
Gem
Version
Update-Status
fastlane
2.220.0
✅ Up-To-Date
Loaded fastlane plugins:
No plugins Loaded
Loaded gems
Gem
Version
error_highlight
0.6.0
did_you_mean
1.6.3
syntax_suggest
2.0.0
addressable
2.8.6
babosa
1.0.4
colored
1.2
highline
2.0.3
commander
4.6.0
dotenv
2.8.1
emoji_regex
3.2.3
faraday-em_http
1.0.0
faraday-em_synchrony
1.0.0
faraday-excon
1.1.0
faraday-httpclient
1.0.1
faraday-multipart
1.0.4
faraday-net_http
1.0.1
faraday-net_http_persistent
1.2.0
faraday-patron
1.0.0
faraday-rack
1.0.0
faraday-retry
1.0.3
ruby2_keywords
0.0.5
faraday
1.10.3
faraday_middleware
1.2.0
domain_name
0.6.20240107
http-cookie
1.0.5
faraday-cookie_jar
0.0.7
gh_inspector
1.1.3
google-cloud-env
1.6.0
mini_magick
4.12.0
naturally
2.2.1
optparse
0.4.0
plist
3.7.1
rubyzip
2.3.2
security
0.1.5
simctl
1.6.10
terminal-notifier
2.0.0
unicode-display_width
2.5.0
terminal-table
3.0.2
tty-screen
0.8.2
tty-cursor
0.7.1
tty-spinner
0.9.3
word_wrap
1.0.0
atomos
0.1.3
claide
1.1.0
colored2
3.1.2
nanaimo
0.3.0
rexml
3.2.6
xcodeproj
1.24.0
rouge
2.0.7
xcpretty
0.3.0
xcpretty-travis-formatter
1.0.1
set
1.1.0
public_suffix
5.0.5
artifactory
3.0.17
aws-eventstream
1.3.0
aws-sigv4
1.8.0
aws-partitions
1.909.0
jmespath
1.6.2
aws-sdk-core
3.191.6
aws-sdk-kms
1.78.0
aws-sdk-s3
1.146.1
bundler
2.5.7
base64
0.2.0
nkf
0.2.0
CFPropertyList
3.0.7
excon
0.110.0
multipart-post
2.4.0
fastimage
2.3.1
httpclient
2.8.3
multi_json
1.15.0
jwt
2.8.1
signet
0.19.0
os
1.1.4
googleauth
1.8.1
mini_mime
1.1.5
retriable
3.1.2
trailblazer-option
0.1.2
declarative
0.0.20
uber
0.1.0
representable
3.2.0
google-apis-core
0.11.3
google-apis-androidpublisher_v3
0.54.0
google-apis-playcustomapp_v1
0.13.0
rake
13.2.1
digest-crc
0.6.5
google-apis-storage_v1
0.31.0
google-apis-iamcredentials_v1
0.17.0
google-cloud-errors
1.4.0
google-cloud-core
1.7.0
google-cloud-storage
1.47.0
json
2.7.2
forwardable
1.3.3
logger
1.6.0
pathname
0.3.0
shellwords
0.2.0
cgi
0.4.1
date
3.3.4
timeout
0.4.1
securerandom
0.3.1
cookiejar
0.3.4
eventmachine
1.2.7
em-socksify
0.3.2
http_parser.rb
0.8.0
em-http-request
1.1.7
resolv
0.4.0
openssl
3.2.0
digest
3.1.1
ipaddr
1.2.6
time
0.3.0
uri
0.13.0
stringio
3.1.0
open-uri
0.4.1
mutex_m
0.2.0
net-http
0.4.1
net-protocol
0.2.2
connection_pool
2.4.1
net-http-persistent
4.0.2
patron
0.13.3
english
0.8.0
erb
4.0.4
abbrev
0.1.2
tempfile
0.2.1
delegate
0.3.1
fileutils
1.7.2
tmpdir
0.2.0
singleton
0.2.0
open3
0.2.1
prettyprint
0.2.0
pp
0.5.0
find
0.2.0
ostruct
0.6.0
yaml
0.3.0
psych
5.1.2
generated on:2024-04-08
The text was updated successfully, but these errors were encountered:
New Issue Checklist
Issue Description
Fastlane is run in macOS environment and it can be used by GitHub Actions. On the other words, there is running a self-hosted runner which is using fastlane. So, this in not included into specific project.
I have a GitHub Action which downloads Apple's Provisioning Profiles at every night. When running a command
fastlane sigh download_all --api_key_path fastlane.json --output_path=pp_path
I got an error/opt/homebrew/lib/ruby/gems/3.3.0/gems/fastlane-2.220.0/fastlane_core/lib/fastlane_core/ui/interface.rb:129:in `crash!': [!] Error parsing provisioning profile at path '/Users/user/Library/MobileDevice/Provisioning Profiles/AppStore__<project_bundle_id>'
If I run
ls -la
in/Users/user/Library/MobileDevice/Provisioning Profiles/
looks that fastlane tries to install the provisioning profile file that doesn't exist in the path.Like, in case
/opt/homebrew/lib/ruby/gems/3.3.0/gems/fastlane-2.220.0/fastlane_core/lib/fastlane_core/ui/interface.rb:129:in `crash!': [!] Error parsing provisioning profile at path '/Users/user/Library/MobileDevice/Provisioning Profiles/AppStore_a4205234....
Looks that
ls -la |wc -l
finds 44 hits (yes, we have a lot of projects...), butls -la AppStore_a420*
doesn't find any hits.I have also tried to use two GH Actions steps, where in first phase was used
--skip_install=true
and in next step not but this didn't fixed the issue.Overall, in the GH Action is practically three steps: first runs
rm -rf *
to clear everything (in provisioning profile path). Second step reads variables FASTLANE_USER and FASTLANE_PASSWORD and after that runs a commandfastlane sigh download_all --skip_certificate_verification --output_path=pp_path
for our In-House account. Third step is for our Company/Organization account and this step creates this issue.Command executed
fastlane sigh download_all --api_key_path fastlane.json --skip_certificate_verification --output_path=PP_PATH
Complete output when running fastlane, including the stack trace and command used
Environment
The text was updated successfully, but these errors were encountered: