question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issue Running React Native project on simulator on apple silicon m1

See original GitHub issue

I am facing issue while running react native project on my MacBook Pro M1

com.facebook.react.JavaScript (11): EXC_BREAKPOINT (code=EXC_I386_BPT, subcode=0x0)

Screenshot 2020-12-16 at 2 29 20 AM

React Native version:

% react-native info info Fetching system and libraries information… (node:8776) Warning: Accessing non-existent property ‘padLevels’ of module exports inside circular dependency (Use node --trace-warnings ... to show where the warning was created) System: OS: macOS 11.1 CPU: (8) x64 Apple M1 Memory: 50.04 MB / 8.00 GB Shell: 5.8 - /bin/zsh Binaries: Node: 14.15.1 - /usr/local/bin/node Yarn: Not Found npm: 6.14.8 - /usr/local/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman Managers: CocoaPods: 1.10.0 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: iOS 14.2, DriverKit 20.0, macOS 11.0, tvOS 14.2, watchOS 7.1 Android SDK: API Levels: 29, 30 Build Tools: 28.0.3, 29.0.2, 30.0.3 System Images: android-30 | Google APIs Intel x86 Atom Android NDK: Not Found IDEs: Android Studio: 4.1 AI-201.8743.12.41.6953283 Xcode: 12.2/12B45b - /usr/bin/xcodebuild Languages: Java: 1.8.0_275 - /usr/bin/javac Python: 2.7.16 - /usr/bin/python npmPackages: @react-native-community/cli: Not Found react: 16.13.1 => 16.13.1 react-native: 0.63.4 => 0.63.4 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:14
  • Comments:7

github_iconTop GitHub Comments

2reactions
francoseriocommented, Mar 22, 2021

+1. I have this very same problem with iOS simulators < 14 only (the app runs ok in M1 MBP and with iOS 14 simulator). Also, the app does not crash in intel-based MBP, only in M1. Any update on this?

0reactions
kilimchoicommented, Jun 3, 2021

any workaround?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Setting up ReactNative on Mac OSX + Apple Silicon - nish abe
The next step is to run the command that creates a react native project. ... This is again an M1-specific issue that can...
Read more >
Issue Running React Native project on simulator on ... - GitHub
A framework for building native applications using React - Issue Running React Native project on simulator on apple silicon m1 ...
Read more >
Can't build to simulator on Apple Silicon
I've seen reports of this as an Xcode 12/Cocoapods issue that my project didn't have with 12.1 or 12.0. It only popped up...
Read more >
How to set up React Native on M1 Mac 2022 edition - Fek.io
Make sure to install the latest version of Xcode onto your Mac. This can be installed by going to the App Store on...
Read more >
React Native on Apple M1 Silicon without Rosetta-2 - Adapptor
Install Apps · Get Xcode from the App Store, provided you are happy to get automatic updates. · Grab Android Studio, making sure...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found