Comments (7)
@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.
Just run
bundle update fastlane
And push to your repository again, it should work.
from fastlane-action.
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.
@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.
Also, an example github action showing how to run the fastlane for both android/ios could be cool!
from fastlane-action.
@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.
@maierj that worked, thanks!
from fastlane-action.
Related Issues (20)
- Bundler 2.4.3 is running, but your lockfile was generated with 2.2.20 HOT 1
- build fail after upgrade to v3 HOT 4
- command not found 'fastlane' HOT 3
- how to cache pods ? HOT 1
- fastalne instead of fastlane HOT 1
- [ios build] mac os based github action HOT 1
- unknown ISA `XCLocalSwiftPackageReference Error when Xcode 15
- Error: Unable to load contents of file list
- Node 16 is deprecated HOT 2
- bundler: failed to load command: fastlane HOT 1
- Gemfile not being used despite being available in project's root HOT 2
- How can i pass release notes in build deployment? HOT 1
- Multiple vulnerabilities HOT 1
- 500 Server Error HOT 4
- Bundler deployment mode HOT 1
- bundler-cache is required? HOT 2
- passing github token with fastlane HOT 1
- Output values HOT 1
- Node 12 is deprecated 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 fastlane-action.