Tony
Tony

Reputation: 576

Service exited due to Abort trap: 6 in react-native IOS

I have react-native 0.40.0. react-native run-ios command builds project with success, but then app crashes with notice: Service exited due to Abort trap: 6!

I try to launch installed app manually by tapping on it, but it crashes all the time with the same errors in console:

Feb 5 23:25:23 Tony com.apple.CoreSimulator.SimDevice.5050AC21-0E8E-4E59-9561-65AFF770E25A.launchd_sim[42289] (UIKitApplication:org.reactjs.native.example.yawaloo[0x973d][53112]) : Service exited due to Abort trap: 6

And that's all, I do not even know where to look. Maybe it's because updating to react-native 0.40?

Any ideas?

P.S. Android works perfectly.

Upvotes: 6

Views: 5914

Answers (1)

G Clovs
G Clovs

Reputation: 3122

I got the same issue here.

It just happen when I install this package: https://github.com/ivpusic/react-native-image-crop-picker

But it's work when I compile from Xcode. but not with "react-native run-ios"

I resolved this issue without:

Drag and drop the ios/ImageCropPickerSDK folder to your xcode project. Cause it was a problem with frameworks path.

But You still have to:

  • Click on project General tab :
  • Under Deployment Info set Deployment Target to 8.0
  • Under Embedded Binaries click + and add RSKImageCropper.framework and QBImagePicker.framework

And done

Hope it's work for you :-)

Upvotes: 13

Related Questions