GithubHelp home page GithubHelp logo

Comments (14)

cain004 avatar cain004 commented on June 15, 2024 2

I'm also seeing this issue with the Xcode 11.3.x stack. Any ETA?

from steps-ios-auto-provision.

cathyharmon avatar cathyharmon commented on June 15, 2024 2

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.

cain004 avatar cain004 commented on June 15, 2024 1

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.

cain004 avatar cain004 commented on June 15, 2024 1

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.

cathyharmon avatar cathyharmon commented on June 15, 2024

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.

arielelkin avatar arielelkin commented on June 15, 2024

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.

cathyharmon avatar cathyharmon commented on June 15, 2024

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.

pabdavis avatar pabdavis commented on June 15, 2024

Hi @cathyharmon, Are you saying that removing line 196-197 in this Gemfile.lock

will fix this issue?

The Gemfile.lock that you mention is part of this step.

from steps-ios-auto-provision.

cathyharmon avatar cathyharmon commented on June 15, 2024

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.

cathyharmon avatar cathyharmon commented on June 15, 2024

@cain004 THANKS!

from steps-ios-auto-provision.

moodagent avatar moodagent commented on June 15, 2024

Seems to work with 2.0.1 as well.

from steps-ios-auto-provision.

mikeberlin avatar mikeberlin commented on June 15, 2024

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.

cathyharmon avatar cathyharmon commented on June 15, 2024

Yes, this should be used as a workaround.

from steps-ios-auto-provision.

arielelkin avatar arielelkin commented on June 15, 2024

fixed in 1.5.1

thanks!

from steps-ios-auto-provision.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.