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.

App is crashing in iOS emulator with release react-native version 0.70.0

See original GitHub issue

Description

The app is not running in emulator iOS after new release to version react-native 0.70.0

Yesterday, I was trying to create a new project through npx react-native init <project_name> --template react-native-template-typescript and when I build the application with npx react-native run-ios the app installed at emulator but when I try to open it, it crash and send a notification that the application has been closed.

Then I did a new app but defined the version react-native init <project_name> --template react-native-template-typescript@6.11.9 and everything is working fine.

In Android, I don’t have the issue. It’s just for iOS.

Version

0.70.0

Output of npx react-native info

System: OS: macOS 12.5.1 CPU: (16) x64 Intel® Core™ i9-9880H CPU @ 2.30GHz Memory: 471.18 MB / 16.00 GB Shell: 5.8.1 - /bin/zsh Binaries: Node: 18.0.0 - ~/.nvm/versions/node/v18.0.0/bin/node Yarn: 1.22.18 - /usr/local/bin/yarn npm: 8.9.0 - ~/.nvm/versions/node/v18.0.0/bin/npm Watchman: 2022.09.05.00 - /usr/local/bin/watchman Managers: CocoaPods: 1.10.2 - /Users/<user>/.asdf/shims/pod SDKs: iOS SDK: Platforms: DriverKit 21.4, iOS 15.5, macOS 12.3, tvOS 15.4, watchOS 8.5 Android SDK: Not Found IDEs: Android Studio: 2021.2 AI-212.5712.43.2112.8815526 Xcode: 13.4.1/13F100 - /usr/bin/xcodebuild Languages: Java: 11.0.2 - /Users/<user>/.sdkman/candidates/java/current/bin/javac npmPackages: @react-native-community/cli: Not Found react: 18.0.0 => 18.0.0 react-native: 0.69.5 => 0.69.5 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found

Steps to reproduce

  1. Create a new App using npx react-native init <project_name> --template react-native-template-typescript
  2. cd <new_folder_app>
  3. Init app using npx react-native run-ios
  4. App crashes on iOS emulator.

Snack, code example, screenshot, or link to a repository

none

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:8
  • Comments:7

github_iconTop GitHub Comments

3reactions
Adnan-Baciccommented, Dec 1, 2022

i updated from 0.70.0 to 0.70.6 and it works for me now

0reactions
kopax-polyconseilcommented, Dec 2, 2022

I have the same issue, in GitHub action macos-12.

We also use bundle , bundle install, cd ios && bundle exec pod install, we also use ruby 2.7.5 , nothing we tried work. React Native 0.68.5, any clue how we can do ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

React Native app crashes without any error log - Stack Overflow
my bug was fixed by deleting the build folder(inside android/app) and running npx react-native run-android.
Read more >
IOS (React-native) app crashes in … | Apple Developer Forums
Hi, I am stuck on this for a few days now. Please help. My ReactNative app crashes in TestFlight but seems to work...
Read more >
failed to initialize react-native-reanimated library - You.com
How to fix these errors i am using expo react native and my react native version 0.70.5 and my expo version 46 you...
Read more >
Android app crashes right away in emulator/device. Error logs ...
App works fine in iOS. When running in locally with the Android Simulator app crashes right away. Using the `adb logcat --buffer=crash` ...
Read more >
Troubleshooting - React Native
You will also need to update your applications to load the JavaScript bundle from the new port. If running on device from Xcode,...
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