Skip to content

Can't build a sample app due to cocoas pods error. #110

Closed Answered by demchenkoalex
gonnashred asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @gonnashred I have M1 myself and the error tells you that ffi Ruby dependency has no support for ARM architecture, you can also easily google it, but basically on M1 you still can't successfully perform pod install without running in Rosetta mode.

Find your terminal app, right click on it, Get Info, and check Open using Rosetta, then you can navigate to the example/ios folder and run pod install (from the terminal in Rosetta mode, that console in VSCode will be in the ARM mode, unless you run all VSCode in Rosetta). After successful pod install you can normally run the app from VSCode (ARM). This is my workflow.

There are alternative solutions, again can be easily found in Google (kee…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@gonnashred
Comment options

Answer selected by demchenkoalex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants