fastlane: Gym crashes since updating to 2.60
New Issue Checklist
- [ ✅] Updated fastlane to the latest version
- [ ✅] I read the Contribution Guidelines
- [ ✅] I read docs.fastlane.tools
- [ ✅] I searched for existing GitHub issues
Issue Description
Gym crashing
/usr/local/lib/fastlane_lib/bundle/lib/ruby/gems/2.2.0/gems/xcodeproj-1.5.2/lib/xcodeproj/project/object/build_configuration.rb:135:in match': stack level too deep (SystemStackError) from /usr/local/lib/fastlane_lib/bundle/lib/ruby/gems/2.2.0/gems/xcodeproj-1.5.2/lib/xcodeproj/project/object/build_configuration.rb:135:in match_variable’
from /usr/local/lib/fastlane_lib/bundle/lib/ruby/gems/2.2.0/gems/xcodeproj-1.5.2/lib/xcodeproj/project/object/build_configuration.rb:122:in resolve_variable_substitution' from /usr/local/lib/fastlane_lib/bundle/lib/ruby/gems/2.2.0/gems/xcodeproj-1.5.2/lib/xcodeproj/project/object/build_configuration.rb:131:in resolve_variable_substitution’
from /usr/local/lib/fastlane_lib/bundle/lib/ruby/gems/2.2.0/gems/xcodeproj-1.5.2/lib/xcodeproj/project/object/build_configuration.rb:87:in resolve_build_setting' from /usr/local/lib/fastlane_lib/bundle/lib/ruby/gems/2.2.0/gems/xcodeproj-1.5.2/lib/xcodeproj/project/object/build_configuration.rb:128:in resolve_variable_substitution’
from /usr/local/lib/fastlane_lib/bundle/lib/ruby/gems/2.2.0/gems/xcodeproj-1.5.2/lib/xcodeproj/project/object/build_configuration.rb:131:in resolve_variable_substitution' from /usr/local/lib/fastlane_lib/bundle/lib/ruby/gems/2.2.0/gems/xcodeproj-1.5.2/lib/xcodeproj/project/object/build_configuration.rb:87:in resolve_build_setting’
from /usr/local/lib/fastlane_lib/bundle/lib/ruby/gems/2.2.0/gems/xcodeproj-1.5.2/lib/xcodeproj/project/object/build_configuration.rb:128:in resolve_variable_substitution' ... 7410 levels... from /usr/local/lib/fastlane_lib/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.60.1/fastlane/lib/fastlane/cli_tools_distributor.rb:66:in take_off’
from /usr/local/lib/fastlane_lib/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.60.1/bin/fastlane:20:in <top (required)>' from /usr/local/lib/fastlane_lib/bundle/bin/fastlane:22:in load’
from /usr/local/lib/fastlane_lib/bundle/bin/fastlane:22:in `<main>’
Environment
✅ fastlane environment ✅
Stack
| Key | Value |
|---|---|
| OS | 10.12.6 |
| Ruby | 2.2.4 |
| Bundler? | false |
| Git | git version 2.13.5 (Apple Git-94) |
| Installation Source | /usr/local/lib/fastlane_lib/bundle/bin/fastlane |
| Host | Mac OS X 10.12.6 (16G29) |
| Ruby Lib Dir | /usr/local/lib/fastlane_lib/bundle/lib |
| OpenSSL Version | OpenSSL 1.0.2g 1 Mar 2016 |
| Is contained | false |
| Is homebrew | false |
| Is installed via Fabric.app | true |
| Xcode Path | /Applications/Xcode.app/Contents/Developer/ |
| Xcode Version | 9.0 |
System Locale
| Variable | Value | |
|---|---|---|
| LANG | en_US.UTF-8 | ✅ |
| LC_ALL | en_US.UTF-8 | ✅ |
| LANGUAGE | en_US.UTF-8 | ✅ |
fastlane files:
`./fastlane/Fastfile`
# Customise this file, documentation can be found here:
# https://github.com/KrauseFx/fastlane/tree/master/docs
# All available actions: https://github.com/KrauseFx/fastlane/blob/master/docs/Actions.md
# can also be listed using the `fastlane actions` command
# Change the syntax highlighting to Ruby
# All lines starting with a # are ignored when running `fastlane`
# By default, fastlane will send which actions are used
# No personal data is shared, more information on https://github.com/fastlane/enhancer
# Uncomment the following line to opt out
# opt_out_usage
# If you want to automatically update fastlane if a new version is available:
# update_fastlane
# This is the minimum version number required.
# Update this, if you use features of a newer version
#fastlane_version "1.30.1"
default_platform :ios
# increment_build_number
gym(scheme: “MyScheme”, export_method: "app-store")
# xctool # run the tests of your app
end
desc "Runs all the tests"
lane :test do
snapshot
end
desc "Submit a new Beta Build to Apple TestFlight"
desc "This will also make sure the profile is up to date"
lane :beta do
# snapshot
# sigh
deliver(skip_metadata: true)
# sh "your_script.sh"
# You can also use other beta testing services here
end
desc "Deploy a new version to the App Store"
desc "** Full Markdown** Support: `code`"
lane :deploy do
snapshot
# sigh
deliver(skip_deploy: true, force: true)
# frameit
end
# You can define as many lanes as you want
after_all do |lane|
# This block is called, only if the executed lane was successful
end
error do |lane, exception|
# slack(
# message: exception.message,
# success: false
# )
end
end
# More information about multiple platforms in fastlane:
# https://github.com/KrauseFx/fastlane/blob/master/docs/Platforms.md
`./fastlane/Appfile`
app_identifier “BUNDLE_IDENTIFIER HERE”
apple_id “APPLE_ID_HERE”
fastlane gems
| Gem | Version | Update-Status |
|---|---|---|
| fastlane | 2.60.1 | ✅ Up-To-Date |
Loaded fastlane plugins:
No plugins Loaded
Loaded gems
| Gem | Version |
|---|---|
| slack-notifier | 1.5.1 |
| CFPropertyList | 2.3.5 |
| claide | 1.0.2 |
| colored2 | 3.1.2 |
| nanaimo | 0.2.3 |
| xcodeproj | 1.5.2 |
| rouge | 2.0.7 |
| xcpretty | 0.2.8 |
| terminal-notifier | 1.8.0 |
| unicode-display_width | 1.3.0 |
| terminal-table | 1.8.0 |
| plist | 3.3.0 |
| public_suffix | 2.0.5 |
| addressable | 2.5.2 |
| multipart-post | 2.0.0 |
| word_wrap | 1.0.0 |
| tty-screen | 0.5.0 |
| babosa | 1.0.2 |
| colored | 1.2 |
| highline | 1.7.8 |
| commander-fastlane | 4.4.5 |
| excon | 0.59.0 |
| faraday | 0.13.1 |
| unf_ext | 0.0.7.4 |
| unf | 0.1.4 |
| domain_name | 0.5.20170404 |
| http-cookie | 1.0.3 |
| faraday-cookie_jar | 0.0.6 |
| fastimage | 2.1.0 |
| gh_inspector | 1.0.3 |
| json | 1.8.1 |
| mini_magick | 4.5.1 |
| multi_json | 1.12.2 |
| multi_xml | 0.6.0 |
| rubyzip | 1.2.1 |
| security | 0.1.3 |
| xcpretty-travis-formatter | 0.0.4 |
| dotenv | 2.2.1 |
| bundler | 1.15.4 |
| faraday_middleware | 0.12.2 |
| uber | 0.1.0 |
| declarative | 0.0.10 |
| declarative-option | 0.1.0 |
| representable | 3.0.4 |
| retriable | 3.1.1 |
| mime-types-data | 3.2016.0521 |
| mime-types | 3.1 |
| little-plugger | 1.1.4 |
| logging | 2.2.2 |
| jwt | 1.5.6 |
| memoist | 0.16.0 |
| os | 0.9.6 |
| signet | 0.7.3 |
| googleauth | 0.5.3 |
| httpclient | 2.8.3 |
| google-api-client | 0.13.6 |
generated on: 2017-10-04
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 3
- Comments: 15 (2 by maintainers)
Heyyyy 👋 Its been a while but I just wanted to check in to see if that pull request that was mentioned above solved things for everyone 😊
I’m using Fastlane installed by bundler. As a work around, adding this line to
Gemfilehelps: