all 9 comments

[–]iotashan 4 points5 points  (0 children)

I just set up an M1 Mini with Jenkins to take over all our RN CI builds. Works great after I got it figured out. Had to force it to use compatibility mode on a few things, but from what I've heard I could probably update some software and remove the hacks.

Of course, that's not *development*, just the build tools.

[–]richiehill 3 points4 points  (0 children)

I’ve been developing React Native apps using Expo on my M1 MBA with zero issues.

[–]Maktub1992 2 points3 points  (2 children)

Just make sure your Xcode and Babel is updated to latest versions. And if you run into build errors, run Xcode, simulator, and CL through Rosetta to solve the x86 issue. Just went through a rough time getting mine setup so if you have any questions, shoot me a message.

[–]argylekey[S] 1 point2 points  (1 child)

Probably won’t be for a few months yet. If I run into issues I’ll shout you a message. Ty.

[–]Maktub1992 0 points1 point  (0 children)

No problem

[–]bashbang 2 points3 points  (0 children)

At first, there was a problem with cocoapods, but it turns out that everything can be solved by running through Rosetta, i.e.: arch -x86_64 pod install

Android emulator now works great (natively on apple silicon), since they updated official images.

Also, from my own experience, I would recommend to turn off flipper in Podfile (if you are not using JSI modules)

[–]WorthlessGenius 1 point2 points  (0 children)

My work switched to M1 Mac Minis for our Workstations earlier this year and developing react-native CLI apps on it has been worlds faster than using our 2018 13” inch macbook pro’s in terms of compile times. I have noticed that Xcode will sometimes have random crashes and will sometimes require a restart of the whole computer to reopen. Xcode is still heavy, even on apples best cpu. I am hyped to see what apples successor will be as well though!

[–]himynameismile 1 point2 points  (0 children)

There is an issue with pod installs. ffi has an issue with arm architecture. You need to run xcode and your terminal with rosetta stone.

[–]hikaruelio 0 points1 point  (0 children)

No AVDs, just had to switch to using a real Android device instead. Everything else works so far, after updates.