Subito-it/PodBuilder

Crashed on M1 chip

trmquang93 opened this issue · 3 comments

Hello I got crash on M1 chip when I tried to run pod_builder build_all
steps:

  1. install brew
  2. install ruby
  3. install bundler
  4. intall pod-builder with gemfile
  5. run 'bundle exec pod_builder build_all'
  6. crash

We use PodBuilder on M1 and it works fine, however we installed brew, ruby (rbenv), bundler and PodBuilder with Rosetta.

What does the crash look like?

Yes, I agree that it works fine with Rosetta. But after that when I want to build project to simulator, it shows errors that say frameworks was built with invalid architecture

You should generate xcframeworks by setting the build_xcframeworks_all key to true in PodBuilder.json