Saturday, November 7, 2026
HomeiOS Developmentios - xCode can't construct react native app on m1

ios – xCode can’t construct react native app on m1

[ad_1]

When I attempt to construct my react-native app with Xcode I get the next error:

constructing for iOS Simulator, however linking in dylib constructed for iOS, file '/Customers/username/Tasks/mono/apps/cell/ios/Pods/hermes-engine/destroot/Library/Frameworks/iphoneos/hermes.framework/hermes' for structure arm64

All I discover is to start out Xcode with rosetta which ought to repair this subject, however after I begin Xcode with rosetta I get the next error:

/Customers/consumer/Tasks/mono/apps/cell/ios/Cellular.xcodeproj The linked library 'libPods-Cellular.a' is lacking a number of architectures required by this goal: x86_64.

I then deleted the Pods and the Podfile.lock and reinstall the pods arch -x86_64 pod set up however the subject continues to be the identical.

Did anybody have an answer on learn how to run the react-native software on my m1?

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments