fastlane: Fastlane release gym error
New Issue Checklist
- Updated fastlane to the latest version
- I have read the Contribution Guidelines
Issue Description
When I run fastlane release
Complete output when running fastlane, including the stack trace and command used
You can use:
--capture_outputas the last commandline argument to get that collected for you
I didn’t want to paste the full output since it was so long
the following build commands failed: PhaseScriptExecution [CP]\ Embed\ Pods\ Frameworks /Users/dereklo/Library/Developer/Xcode/DerivedData/Py-dmreilycdhazgrahbgcgrxwrzegf/Build/Intermediates/ArchiveIntermediates/Py\ AppStore/IntermediateBuildFilesPath/Py.build/AppStore-iphoneos/Py.build/Script-93CE2F805B5DB9FAAACFA886.sh (1 failure) [17:24:17]: Exit status: 65
Environment
Please run fastlane env and copy the output below. This will help us help you 👍
If you used --capture_output option please remove this block - as it is already included there.
fastlane gems
| Gem | Version | Update-Status |
|---|---|---|
| fastlane | 2.8.0 | ✅ Up-To-Date |
Loaded fastlane plugins:
No plugins Loaded
Loaded gems
| Gem | Version |
|---|---|
| slack-notifier | 1.5.1 |
| i18n | 0.7.0 |
| json | 1.8.1 |
| thread_safe | 0.3.5 |
| tzinfo | 1.2.2 |
| minitest | 5.4.3 |
| activesupport | 4.2.7.1 |
| CFPropertyList | 2.3.3 |
| claide | 1.0.1 |
| colored | 1.2 |
| nanaimo | 0.2.2 |
| xcodeproj | 1.4.1 |
| rouge | 1.11.1 |
| xcpretty | 0.2.4 |
| terminal-notifier | 1.7.1 |
| terminal-table | 1.4.5 |
| plist | 3.2.0 |
| public_suffix | 2.0.4 |
| addressable | 2.5.0 |
| multipart-post | 2.0.0 |
| word_wrap | 1.0.0 |
| babosa | 1.0.2 |
| highline | 1.7.8 |
| commander | 4.4.0 |
| excon | 0.54.0 |
| faraday | 0.10.0 |
| unf_ext | 0.0.7.2 |
| unf | 0.1.4 |
| domain_name | 0.5.20161021 |
| http-cookie | 1.0.3 |
| faraday-cookie_jar | 0.0.6 |
| fastimage | 1.6.8 |
| gh_inspector | 1.0.2 |
| uber | 0.0.15 |
| representable | 2.3.0 |
| retriable | 2.1.0 |
| mime-types-data | 3.2016.0521 |
| mime-types | 3.1 |
| hurley | 0.2 |
| little-plugger | 1.1.4 |
| multi_json | 1.12.1 |
| logging | 2.1.0 |
| jwt | 1.5.6 |
| memoist | 0.15.0 |
| os | 0.9.6 |
| signet | 0.7.3 |
| googleauth | 0.5.1 |
| httpclient | 2.8.2.4 |
| google-api-client | 0.9.20 |
| mini_magick | 4.5.1 |
| multi_xml | 0.5.5 |
| rubyzip | 1.1.7 |
| security | 0.1.3 |
| xcpretty-travis-formatter | 0.0.4 |
| dotenv | 2.1.1 |
| bundler | 1.13.6 |
| faraday_middleware | 0.10.1 |
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 1
- Comments: 25 (3 by maintainers)
Hey guys,
Hitting the same error here too. Just updated to Sierra and upgraded to the latest Fastlane, Gym, XCode etc so everything up to date.
On my local machine all works as expected:
However on my build machine fails with the same error as above:
My gym call is the following:
Similar to the above comment, I am creating a temporary keychain and installing the certificate. Looking at the build machine I can see that this is correctly created and the cert successfully inserted. No popup is visible when attempting to code sign that seems to cause errors for other users.
Also tried installing in the system keychain temporarily and unlocking it and get the same error.
Any ideas would be great, can’t seem to find a way to fix this one.
Thanks, Liam.
Running
Archivein Xcode manually once prompted me to allow access to an keychain key which I didn’t allowed manually previously (while debugging the error). The Xcode archive succeeded.After that I tried running the lane mentioned above and it finished successfully too. So it seems that somehow match installed the keychain items but
codesignhad no access to them which resulted in the error mentioned in my previous comment.@derektlo Maybe try the same thing once via Xcode and test again with your lane.
Getting this error too.
fastlane match appstore --readonlyfirst and opening the project in Xcode on it looks fine tooexport_methoddid not fix it for me.lane: