EAS build support for Mac M1
complete
Brent Vatne
complete
https://blog.expo.dev/m1-workers-on-eas-build-dcaa2c1333ad
Brent Vatne
complete
Wodin
It looks like they're working on it:
Gál Péter
Hello! So the problem is that when you just run the
eas build --local
on a M1 Mac, then your build will fail with error code 65.My solution for this problem was the following:
- Run expo prebuild. It will generate an ios and and android folder.
- Open the project in XCode and under Build settings, set arm64as an excluded architecture.
- Set the "Build Active Architectures Only" to "Yes" for both Debug and Release.
Wodin
Could you elaborate on what the problem is? I assume you mean
eas build --local
?I have built Android apps using
eas build --local
on my M1 Mac many times. I have not yet built an iOS app, but I believe that should work as long as you have Xcode installed.Andréas Hanss
Wodin: It doesn't, cocoapods is not well supported see
And especially this : https://github.com/CocoaPods/CocoaPods/issues/10518#issuecomment-798912624
Solution is to get latest cocoapods from brew instal of gem :