GithubHelp home page GithubHelp logo

Comments (7)

maierj avatar maierj commented on July 20, 2024 1

@simplenotezy Did you try to run bundle lock --add-platform x86_64-darwin-19 locally and push the updated Gemfile.lock to the repository?

from fastlane-action.

simplenotezy avatar simplenotezy commented on July 20, 2024

Just run

bundle update fastlane

And push to your repository again, it should work.

from fastlane-action.

maierj avatar maierj commented on July 20, 2024

I removed installation of Gemfile dependencies from this action. This is something that should rather be handled by ruby/setup-ruby. Please retry using the latest version of this action (3.0.0). See README for required changes in the usage of the action.
Let me know, in case there are still issues.

from fastlane-action.

simplenotezy avatar simplenotezy commented on July 20, 2024

@maierj I have tried following your example, but I am getting this error:

/Users/runner/hostedtoolcache/Ruby/3.0.5/x64/bin/bundle config --local path /Users/runner/work/app/app/ios/vendor/bundle
  /Users/runner/hostedtoolcache/Ruby/3.0.5/x64/bin/bundle config --local deployment true
  Cache key: setup-ruby-bundler-cache-v4-macos-12-ruby-3.0.5-Gemfile.lock-e830f6ae5e02117674e44a83098dea848b218a57208bccdb7fac76d6a4d25f96
  /Users/runner/hostedtoolcache/Ruby/3.0.5/x64/bin/bundle install --jobs 4
  Your bundle only supports platforms ["arm64-darwin-21"] but your local platform
  is x86_64-darwin-19. Add the current platform to the lockfile with `bundle lock
  --add-platform x86_64-darwin-19` and try again.
  Took   1.62 seconds
Error: Error: The process '/Users/runner/hostedtoolcache/Ruby/3.0.5/x64/bin/bundle' failed with exit code 16
    at ExecState._setResult (/Users/runner/work/_actions/ruby/setup-ruby/v1/dist/index.js:5379:25)
    at ExecState.CheckComplete (/Users/runner/work/_actions/ruby/setup-ruby/v1/dist/index.js:5[36](https://github.com/Company/app/actions/runs/3838054763/jobs/6534066965#step:8:40)2:18)
    at ChildProcess.<anonymous> (/Users/runner/work/_actions/ruby/setup-ruby/v1/dist/index.js:5256:27)
    at ChildProcess.emit (node:events:[39](https://github.com/Company/app/actions/runs/3838054763/jobs/6534066965#step:8:43)0:28)
    at maybeClose (node:internal/child_process:1064:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)

In my build file I do like so:

  build_ios:
    name: Build to TestFlight
    runs-on: macOS-12
[...]
      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: '3.0'
          bundler-cache: true
          working-directory: 'ios'

      - name: Deploy iOS Beta to TestFlight via Fastlane
        uses: maierj/[email protected]
        with:
          lane: ${{ env.LANE }}
          subdirectory: ios

Any ideas?

from fastlane-action.

simplenotezy avatar simplenotezy commented on July 20, 2024

Also, an example github action showing how to run the fastlane for both android/ios could be cool!

from fastlane-action.

simplenotezy avatar simplenotezy commented on July 20, 2024

@maierj just wanted to follow up and hear if you had time to help me with this - as we can't currently release new builds

from fastlane-action.

BigPun86 avatar BigPun86 commented on July 20, 2024

@maierj that worked, thanks!

from fastlane-action.

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.