Error "Thread 1: signal SIGABRT" after updating to RN 0.60.4

See original GitHub issue

I’ve just updated my project to React Native 0.60.4, but I can’t seem to build my project. I get the error Thread 1: signal SIGABRT, which is a general error (according to this post: https://learnappmaking.com/sigabrt-xcode-swift/).

To project builds without error via Xcode. I see the splash screen and then nothing happens and the app breaks. What to do? Can’t find anything related to this on the internet.

React Native version: System: OS: macOS 10.14.5 CPU: (4) x64 Intel® Core™ i5-7360U CPU @ 2.30GHz Memory: 278.52 MB / 8.00 GB Shell: 5.3 - /bin/zsh Binaries: Node: 10.11.0 - ~/.nvm/versions/node/v10.11.0/bin/node Yarn: 1.10.1 - /usr/local/bin/yarn npm: 6.4.1 - ~/.nvm/versions/node/v10.11.0/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman SDKs: iOS SDK: Platforms: iOS 12.2, macOS 10.14, tvOS 12.2, watchOS 5.2 Android SDK: API Levels: 23, 26, 28, 29 Build Tools: 28.0.3, 29.0.0 System Images: android-29 | Google APIs Intel x86 Atom IDEs: Android Studio: 3.4 AI-183.6156.11.34.5522156 Xcode: 10.2.1/10E1001 - /usr/bin/xcodebuild npmPackages: react: 16.8.6 => 16.8.6 react-native: 0.60.4 => 0.60.4 npmGlobalPackages: react-native-cli: 2.0.1

Steps To Reproduce

  1. Updated my project to react-native: 0.60.4
  2. Remove all old pod files cd ios && rm -rf Pods
  3. Install Pods pod install
  4. Open Project.xcworkspace
  5. Clean build folder cmd + shift + k
  6. Run on simulator (iPhone X)

This is my Podfile:

platform :ios, '11.0'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

target 'Project' do
  pod 'React', :path => '../node_modules/react-native/'
  pod 'React-Core', :path => '../node_modules/react-native/React'
  pod 'React-DevSupport', :path => '../node_modules/react-native/React'
  pod 'React-fishhook', :path => '../node_modules/react-native/Libraries/fishhook'
  pod 'React-RCTActionSheet', :path => '../node_modules/react-native/Libraries/ActionSheetIOS'
  pod 'React-RCTAnimation', :path => '../node_modules/react-native/Libraries/NativeAnimation'
  pod 'React-RCTBlob', :path => '../node_modules/react-native/Libraries/Blob'
  pod 'React-RCTImage', :path => '../node_modules/react-native/Libraries/Image'
  pod 'React-RCTLinking', :path => '../node_modules/react-native/Libraries/LinkingIOS'
  pod 'React-RCTNetwork', :path => '../node_modules/react-native/Libraries/Network'
  pod 'React-RCTSettings', :path => '../node_modules/react-native/Libraries/Settings'
  pod 'React-RCTText', :path => '../node_modules/react-native/Libraries/Text'
  pod 'React-RCTVibration', :path => '../node_modules/react-native/Libraries/Vibration'
  pod 'React-RCTWebSocket', :path => '../node_modules/react-native/Libraries/WebSocket'

  pod 'React-cxxreact', :path => '../node_modules/react-native/ReactCommon/cxxreact'
  pod 'React-jsi', :path => '../node_modules/react-native/ReactCommon/jsi'
  pod 'React-jsiexecutor', :path => '../node_modules/react-native/ReactCommon/jsiexecutor'
  pod 'React-jsinspector', :path => '../node_modules/react-native/ReactCommon/jsinspector'
  pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga'
  pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
  pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
  pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'

  target 'ProjectTests' do
    inherit! :search_paths
    # Pods for testing
  end

  use_native_modules!
end

and those are my JS dependencies:

  "dependencies": {
    "@babel/polyfill": "7.4.4",
    "@react-native-community/async-storage": "1.5.1",
    "cross-fetch": "3.0.4",
    "prop-types": "15.7.2",
    "qs": "6.7.0",
    "react": "16.8.6",
    "react-native": "0.60.4",
    "react-native-gesture-handler": "1.3.0",
    "react-native-svg": "9.5.1",
    "react-navigation": "3.11.0",
    "react-navigation-redux-helpers": "3.0.2",
    "react-redux": "7.1.0",
    "redux": "4.0.1",
    "redux-devtools-extension": "2.13.8",
    "redux-thunk": "2.3.0",
    "styled-components": "4.3.2"
  },

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:11
  • Comments:8

github_iconTop GitHub Comments

1reaction
stale[bot]commented, Jan 19, 2020

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.

0reactions
stale[bot]commented, Jan 10, 2020

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community’s attention? This issue may be closed if no further activity occurs. You may also label this issue as a “Discussion” or add it to the “Backlog” and I will leave it open. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Debugging Error: Thread 1: signal SIGABRT - Apple Developer
The SIGABRT signal specifically indicates that your app called the "abort()" function, which is how apps crash themselves intentionally. The key to ...
Read more >
signal SIGABRT Err in Xcode after update iOS ver to 13.3.1
After update iPhone(real device) iOS version to 13.3.1, “Thread 1: signal SIGABRT~” error occurred in Xcode that run real iOS device(iPhone) ...
Read more >
A Fatal Error (Thread 1: Signal Sigabrt) When Saving An Array ...
Xcode signal SIGABRTteratail. Error Thread 1: signal SIGABRT after updating to RN 0.60.4. Signal Set handlers for asynchronous events Python 3.9.
Read more >
React-native Xcode error : "Thread 1: signal SIGABRT"
"Thread 1: signal SIGABRT" is a generic fatal error in XCode basically meaning the app has crashed. Here is your actual error just...
Read more >
signal sigabrt react-native-firebase, 线程 1 - 免费编程教程
这是以红色显示的代码:class AppDelegate: UIResponder, [RN-Troubleshooting] 线程1:信号SIGABRT Err in Xcode after 它似乎也发生在同样使用Thread 系统的Flutter 项目 ...
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