Subito-it / PodBuilder

A tool to precompile CocoaPods pods
Other
284 stars 28 forks source link

Crashed on M1 chip #46

Closed trmquang93 closed 2 years ago

trmquang93 commented 2 years ago

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
tcamin commented 2 years ago

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?

trmquang93 commented 2 years ago

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

tcamin commented 2 years ago

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