Comments (14)
I'm also seeing this issue with the Xcode 11.3.x stack. Any ETA?
from steps-ios-auto-provision.
There is a fix in progress, but there are several work-arounds you can use:
You can use a script step prior to the ios-auto-provision step to install the bundler version:
`gem install bundler:1.17.3'
Or you can delete the BUNDLED WITH lines you specified
Or you can delete the Gemlock.file
Hopefully this will be fixed very soon and these workarounds will not be needed!
from steps-ios-auto-provision.
A script step prior actually fails:
+------------------------------------------------------------------------------+ | (3) [email protected] | +------------------------------------------------------------------------------+ | id: script | | version: 1.1.5 | | collection: https://github.com/bitrise-io/bitrise-steplib.git | | toolkit: bash | | time: 2020-01-14T19:50:57Z | +------------------------------------------------------------------------------+ | | + gem install bundler:1.17.3 ERROR: Error installing bundler: "bundle" from bundler conflicts with /Users/vagrant/.rbenv/versions/2.6.5/bin/bundle
Is there a bitrise environment var with the path to where this is so I can delete the Gemlock.file?
from steps-ios-auto-provision.
I think you meant
gem install bundler --force -v 1.17.3
This is working for me now. Thanks!
For those interested, add a Script step just before the iOS Auto Provision. Below is the simple script I used:
#!/usr/bin/env bash # fail if any commands fails set -e # debug log set -x # write your script here gem install bundler --force -v 1.17.3
from steps-ios-auto-provision.
Hello,
There have been very recent releases that have become available. These should be reflected soon in the rebuild of the Xcode Edge stack so hopefully this won't be a problem on Monday.
In the meantime, you can uninstall/install the version you need in a script step. Also, you might want to check out the following community step:
https://github.com/FutureWorkshops/bitrise-step-install-bundler
from steps-ios-auto-provision.
Hi @cathyharmon
Happy Monday! We're still seeing the same issue. Do you have an ETA for when this will be resolved?
Thanks
from steps-ios-auto-provision.
My apologies! I misread the issue and thought you were asking for the latest version of the bundler to be provided in the Xcode stack instead of bundler 2.1.2.
Looking at the error, it seems that bundler 1.17.3 is being looked for and not found. Not surprising as the stack provides bundler 2.1.2!
This appears to be a problem with RubyGems and dealing with the version of bundler used. (see rubygems/bundler#6882)
Can you check your Gemfile.lock
file and delete the BUNDLED WITH
section? Others have deleted their `Gemfile.lock' file and recreated under the newer version of the bundler.
from steps-ios-auto-provision.
Hi @cathyharmon, Are you saying that removing line 196-197 in this Gemfile.lock
steps-ios-auto-provision/Gemfile.lock
Line 196 in 6d6b7be
The Gemfile.lock that you mention is part of this step.
from steps-ios-auto-provision.
Hmm - can you try:
gem install bundler --force -v 2.0.1
I believe that should allow multiple versions to co-exist. Sorry about that
from steps-ios-auto-provision.
@cain004 THANKS!
from steps-ios-auto-provision.
Seems to work with 2.0.1
as well.
from steps-ios-auto-provision.
So it seems this was a quick fix. Thank you for posting it!
Will this be resolved at a later date so we don't need to include this step?
from steps-ios-auto-provision.
Yes, this should be used as a workaround.
from steps-ios-auto-provision.
fixed in 1.5.1
thanks!
from steps-ios-auto-provision.
Related Issues (20)
- Failing with error "undefined method `casecmp' for nil:NilClass" HOT 2
- Step fails due to Bundler on 11.2 stack HOT 2
- Error: Developer Portal Authentication HOT 4
- developer portal apple id not provided for this build HOT 11
- Permission denied while executing gem
- Support Mac Catalyst apps HOT 4
- Throws Error HOT 2
- Update for Xcode 11.4
- Permission error HOT 3
- security: SecKeychainItemImport: MAC verification failed during PKCS12 import (wrong password?) HOT 10
- New GUI Apple portal - developer portal apple id not provided for this build HOT 21
- Always failing with invalid parameter UDID HOT 1
- Failing with error "undefined method `casecmp' for nil:NilClass" HOT 10
- Auto provision step fails due to new Xcode object version. HOT 6
- undefined method `icloud' HOT 13
- Don't work when try to work with mac devices HOT 9
- Error in latest version 1.5.6: undefined method map' for nil:NilClass HOT 4
- Fails with private Swift Package HOT 7
- Issue with missing project_path and scheme HOT 4
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 steps-ios-auto-provision.