Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[gym] generated exportOptionsPlist isn't deleted on error #19242

Open
4 tasks done
kambala-decapitator opened this issue Aug 17, 2021 · 14 comments
Open
4 tasks done

[gym] generated exportOptionsPlist isn't deleted on error #19242

kambala-decapitator opened this issue Aug 17, 2021 · 14 comments

Comments

@kambala-decapitator
Copy link

New Issue Checklist

Issue Description

When gym fails to export ipa from archive, it doesn't delete the generated file for exportOptionsPlist. Checked with cat after fastlane finished.

Command executed

Standard gym build

Complete output when running fastlane, including the stack trace and command used
[14:09:57]: Generated plist file with the following values:
[14:09:57]: ▸ -----------------------------------------
[14:09:57]: ▸ {
[14:09:57]: ▸   "uploadSymbols": true,
[14:09:57]: ▸   "uploadBitcode": false,
[14:09:57]: ▸   "compileBitcode": false,
[14:09:57]: ▸   "method": "development",
[14:09:57]: ▸   "teamID": "asd"
[14:09:57]: ▸ }
[14:09:57]: ▸ -----------------------------------------
[14:09:57]: $ /usr/bin/xcrun /Users/kambala/.bundler_gems/ruby/2.6.0/gems/fastlane-2.190.0/gym/lib/assets/wrap_xcodebuild/xcbuild-safe.sh -exportArchive -exportOptionsPlist '/var/folders/r1/j8pmd4951x7_xm15z96k43j80000gn/T/gym_config20210817-11850-qk898z.plist' -archivePath /Users/kambala/Library/Developer/Xcode/Archives/2021-08-17/<app>\ 2021-08-17\ 14.09.15.xcarchive -exportPath '/var/folders/r1/j8pmd4951x7_xm15z96k43j80000gn/T/gym_output20210817-11850-yred7r' CURRENT_PROJECT_VERSION=174 
+ xcodebuild -exportArchive -exportOptionsPlist /var/folders/r1/j8pmd4951x7_xm15z96k43j80000gn/T/gym_config20210817-11850-qk898z.plist -archivePath '/Users/kambala/Library/Developer/Xcode/Archives/2021-08-17/<app> 2021-08-17 14.09.15.xcarchive' -exportPath /var/folders/r1/j8pmd4951x7_xm15z96k43j80000gn/T/gym_output20210817-11850-yred7r CURRENT_PROJECT_VERSION=174
...errors...
** EXPORT FAILED **
[14:09:58]: Exit status: 70
...
[14:09:58]: fastlane finished with errors

[!] Error packaging up the application

> cat /var/folders/r1/j8pmd4951x7_xm15z96k43j80000gn/T/gym_config20210817-11850-qk898z.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>compileBitcode</key>
	<false/>
	<key>method</key>
	<string>development</string>
	<key>teamID</key>
	<string>asd</string>
	<key>uploadBitcode</key>
	<false/>
	<key>uploadSymbols</key>
	<true/>
</dict>
</plist>

Environment

 
✅ fastlane environment ✅

Stack

Key Value
OS 11.5.1
Ruby 2.6.3
Bundler? true
Git git version 2.30.1 (Apple Git-130)
Installation Source ~/.bundler_gems/ruby/2.6.0/bin/fastlane
Host macOS 11.5.1 (20G80)
Ruby Lib Dir /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib
OpenSSL Version LibreSSL 2.8.3
Is contained false
Is homebrew false
Is installed via Fabric.app false
Xcode Path /Library/Developer/CommandLineTools/
Xcode Version
Swift Version 5.4.2

System Locale

Variable Value
LANG en_US.UTF-8
LC_ALL en_US.UTF-8
LANGUAGE

fastlane files:

Irrelevant

fastlane gems

Gem Version Update-Status
fastlane 2.191.0 ✅ Up-To-Date

Loaded fastlane plugins:

Plugin Version Update-Status
fastlane-plugin-appcenter 1.11.1 ✅ Up-To-Date
Loaded gems
Gem Version
did_you_mean 1.3.0
bundler 2.2.20
rake 13.0.6
CFPropertyList 3.0.3
concurrent-ruby 1.1.9
i18n 1.8.10
minitest 5.14.4
thread_safe 0.3.6
tzinfo 1.2.9
activesupport 5.2.6
public_suffix 4.0.6
addressable 2.8.0
httpclient 2.8.3
json 2.5.1
algoliasearch 1.27.5
artifactory 3.0.15
atomos 0.1.3
aws-eventstream 1.1.1
aws-partitions 1.488.0
aws-sigv4 1.2.4
jmespath 1.4.0
aws-sdk-core 3.119.0
aws-sdk-kms 1.46.0
aws-sdk-s3 1.99.0
babosa 1.0.4
claide 1.0.3
fuzzy_match 2.0.4
nap 1.1.0
netrc 0.11.0
ffi 1.15.3
ethon 0.14.0
typhoeus 1.4.0
cocoapods-core 1.10.2
cocoapods-deintegrate 1.0.5
cocoapods-downloader 1.4.0
cocoapods-plugins 1.0.0
cocoapods-search 1.0.1
cocoapods-trunk 1.5.0
cocoapods-try 1.2.0
colored2 3.1.2
escape 0.0.4
fourflusher 2.3.1
gh_inspector 1.1.3
molinillo 0.6.6
ruby-macho 1.4.0
nanaimo 0.3.0
rexml 3.2.5
xcodeproj 1.21.0
cocoapods 1.10.2
colored 1.2
highline 2.0.3
commander 4.6.0
declarative 0.0.20
digest-crc 0.6.4
unf_ext 0.0.7.7
unf 0.1.4
domain_name 0.5.20190701
dotenv 2.7.6
emoji_regex 3.2.2
excon 0.85.0
faraday-em_http 1.0.0
faraday-em_synchrony 1.0.0
faraday-excon 1.1.0
faraday-httpclient 1.0.1
faraday-net_http 1.0.1
faraday-net_http_persistent 1.2.0
faraday-patron 1.0.0
faraday-rack 1.0.0
multipart-post 2.0.0
ruby2_keywords 0.0.5
faraday 1.7.0
http-cookie 1.0.4
faraday-cookie_jar 0.0.7
faraday_middleware 1.1.0
fastimage 2.2.5
jwt 2.2.3
memoist 0.16.2
multi_json 1.15.0
os 1.1.1
signet 0.15.0
googleauth 0.17.0
mini_mime 1.1.0
trailblazer-option 0.1.1
uber 0.1.0
representable 3.1.1
retriable 3.1.2
webrick 1.7.0
google-apis-core 0.4.1
google-apis-androidpublisher_v3 0.10.0
google-apis-playcustomapp_v1 0.5.0
google-apis-iamcredentials_v1 0.6.0
google-apis-storage_v1 0.6.0
google-cloud-env 1.5.0
google-cloud-errors 1.1.0
google-cloud-core 1.6.0
google-cloud-storage 1.34.1
mini_magick 4.11.0
naturally 2.2.1
plist 3.6.0
rubyzip 2.3.2
security 0.1.3
simctl 1.6.8
terminal-notifier 2.0.0
unicode-display_width 1.7.0
terminal-table 1.8.0
tty-screen 0.8.1
tty-cursor 0.7.1
tty-spinner 0.9.3
word_wrap 1.0.0
rouge 2.0.7
xcpretty 0.3.0
xcpretty-travis-formatter 1.0.1
fastlane-plugin-appcenter 1.11.1
mustache 1.1.1
open4 1.3.4
redcarpet 3.5.1
sassc 2.4.0
sqlite3 1.4.2
liferaft 0.0.6
xcinvoke 0.3.0
jazzy 0.14.0
slack-notifier 2.4.0
xcode-install 2.7.0
xcresult 0.2.1
xcov 1.7.5

generated on: 2021-08-17

@fastlane-bot
Copy link

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.

Please make sure to update to the latest fastlane version and check if that solves the issue. Let us know if that works for you by adding a comment 👍

Friendly reminder: contributions are always welcome! Check out CONTRIBUTING.md for more information on how to help with fastlane and feel free to tackle this issue yourself 💪

This issue will be auto-closed if there is no reply within 1 month.

@kambala-decapitator
Copy link
Author

Bump

@fastlane-bot
Copy link

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.

Please make sure to update to the latest fastlane version and check if that solves the issue. Let us know if that works for you by adding a comment 👍

Friendly reminder: contributions are always welcome! Check out CONTRIBUTING.md for more information on how to help with fastlane and feel free to tackle this issue yourself 💪

This issue will be auto-closed if there is no reply within 1 month.

@kambala-decapitator
Copy link
Author

bump

@fastlane-bot
Copy link

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.

Please make sure to update to the latest fastlane version and check if that solves the issue. Let us know if that works for you by adding a comment 👍

Friendly reminder: contributions are always welcome! Check out CONTRIBUTING.md for more information on how to help with fastlane and feel free to tackle this issue yourself 💪

This issue will be auto-closed if there is no reply within 1 month.

@kambala-decapitator
Copy link
Author

Bump

@fastlane-bot
Copy link

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.

Please make sure to update to the latest fastlane version and check if that solves the issue. Let us know if that works for you by adding a comment 👍

Friendly reminder: contributions are always welcome! Check out CONTRIBUTING.md for more information on how to help with fastlane and feel free to tackle this issue yourself 💪

This issue will be auto-closed if there is no reply within 1 month.

@kambala-decapitator
Copy link
Author

Bump

@fastlane-bot
Copy link

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.

Please make sure to update to the latest fastlane version and check if that solves the issue. Let us know if that works for you by adding a comment 👍

Friendly reminder: contributions are always welcome! Check out CONTRIBUTING.md for more information on how to help with fastlane and feel free to tackle this issue yourself 💪

This issue will be auto-closed if there is no reply within 1 month.

@kambala-decapitator
Copy link
Author

bump

@fastlane-bot
Copy link

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.

Please make sure to update to the latest fastlane version and check if that solves the issue. Let us know if that works for you by adding a comment 👍

Friendly reminder: contributions are always welcome! Check out CONTRIBUTING.md for more information on how to help with fastlane and feel free to tackle this issue yourself 💪

This issue will be auto-closed if there is no reply within 1 month.

@kambala-decapitator
Copy link
Author

bump

@fastlane-bot
Copy link

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.

Please make sure to update to the latest fastlane version and check if that solves the issue. Let us know if that works for you by adding a comment 👍

Friendly reminder: contributions are always welcome! Check out CONTRIBUTING.md for more information on how to help with fastlane and feel free to tackle this issue yourself 💪

This issue will be auto-closed if there is no reply within 1 month.

@kambala-decapitator
Copy link
Author

bump

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants