Post

Replies

Boosts

Views

Activity

Reply to Xcode 12 beta 4 - error compiling for Simulator
Hey, I have a solution that worked for a React Native project I had. Xcode:Project -> Build Settings -> Architectures -> Exclude Architectures Add "Any iOS Simulator SDK" with a value of arm64 for both debug and release. VS Code or Mac Terminal Open a terminal for your project. run command npx react-native run-ios I struggled for a long time trying to add the arm64 to the excluded Architectures and cleaning the app/ rebuilding to get things to work. I tried all the other things I could find through other forums, but it wasn't until I tried to build the app with the npx command in a different terminal that the projects properly linked. The build was successful and will start a simulator. I just exited out of that simulator, went back to Xcode, ran the app again and it worked. I don't have a reason as to why this worked for me, but something else for you all to try.
Dec ’20