Coder Social home page Coder Social logo

Comments (3)

rileywrites avatar rileywrites commented on May 16, 2024

Same error/output here, for Xcode 15:

[17:13:05]: --------------------
[17:13:05]: --- Step: xcodes ---
[17:13:05]: --------------------
[17:13:05]: Running xcodes version 1.4.1
[17:13:05]: $ /opt/homebrew/bin/xcodes installed '15'
[17:13:05]: β–Έ 15.0 is not installed.
[17:13:05]: Exit status of command '/opt/homebrew/bin/xcodes installed '15'' was 1 instead of 0.
15.0 is not installed.

i've gone back to using xcversion() for now, which works fine, but i'd prefer to use the non-deprecated action ^-^

from fastlane.

FeelHippo avatar FeelHippo commented on May 16, 2024

I did try to revert to xcversion() as well, though my pipeline failed (kind of expected, unless you specify an older Fastlane version in Gemfile):

[11:06:50]: -----------------------
[11:06:50]: --- Step: xcversion ---
[11:06:50]: -----------------------
==========================================
This action (xcversion) is deprecated
The xcode-install gem, which this action depends on, has been sunset. Please migrate to "xcodes" (https://docs.fastlane.tools/actions/xcodes πŸ”—). You can find a migration guide here: "xcpretty/xcode-install/MIGRATION.md" (https://github.com/xcpretty/xcode-install/blob/master/MIGRATION.md πŸ”—)
==========================================

from fastlane.

FeelHippo avatar FeelHippo commented on May 16, 2024

Issue fixed by using xCode 15.1.0:

My CI looks like this:

...
    steps:
      - name: Install Bundler
        run: gem install bundler
      - uses: actions/checkout@v3
      - uses: actions/setup-node@v3
        with:
          node-version: 16
      - uses: maxim-lobanov/setup-xcode@v1
        with:
          xcode-version: '15.1.0'
...
      - name: Archive, sign and deploy using Fastlane
        run: bundle exec fastlane deploy_updraft
        working-directory: ./ios
        env:
          XCVERSION: '15.1.0'

and in my Fastfile:

...
xcodes(
      version: ENV["XCVERSION"],
      select_for_current_build_only: true,
)

from fastlane.

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.