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.

crash in ios11, iphone 8

See original GitHub issue

Description

I just run the example code at my iphone8 device, but when i click the picker, app crashed with signal SIGABRT error

libsystem_kernel.dylib__abort_with_payload: 0x186b700a0 <+0>: mov x16, #0x209 0x186b700a4 <+4>: svc #0x80 -> 0x186b700a8 <+8>: b.lo 0x186b700c0 ; <+32> 0x186b700ac <+12>: stp x29, x30, [sp, #-0x10]! 0x186b700b0 <+16>: mov x29, sp 0x186b700b4 <+20>: bl 0x186b52238 ; cerror_nocancel 0x186b700b8 <+24>: mov sp, x29 0x186b700bc <+28>: ldp x29, x30, [sp], #0x10 0x186b700c0 <+32>: ret
`

Additional Information

  • React Native version: react-native 0.49.5
  • Development Operating System: macos
  • Dev tools: xcode9, ios11

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

13reactions
AnnyA95commented, Dec 4, 2017

Chenminhua This can be fixed by adding the key: <key>NSPhotoLibraryAddUsageDescription</key> to your info.plist

0reactions
FrozenPyrozencommented, Oct 2, 2019

After I added another NSPhotoLibraryUsageDescription key info.plist, it all worked.

Example of my added code:

<key>NSPhotoLibraryAddUsageDescription</key> <string>DESCRIPTION</string> <key>NSPhotoLibraryUsageDescription</key> <string>DESCRIPTION</string>

Read more comments on GitHub >

github_iconTop Results From Across the Web

Quick Fix iPhone 8/8 Plus Keeps Crashing or Freezing - EaseUS
Quick fix iPhone 8/8 Plus keeps crashing/freezing · 1. Update to the latest iOS version · 2. Update all the apps · 3....
Read more >
Fixed iPhone Apps Keep Crashing After iOS 16.1.2 Update in ...
iPhone Apps Keep Crashing Problems and Troubleshooting Tips: iPhone, iPad ; Settings > General > Software Update. (People face app crashing ...
Read more >
This Is What to Do If Your iPhone Keeps Crashing - Mobitrix
iPhone X or 11: Long-press the volume or side button until a pop-up for power off appears. Drag the slider towards the option...
Read more >
Force restart iPhone - Apple Support
Force restart iPhone · Press and quickly release the volume up button. · Press and quickly release the volume down button. · Press...
Read more >
How to Fix iPhone 8/8 Plus Springboard Crash Loop on iOS 11
How to Fix iPhone 8/8 Plus Springboard Crash Loop on iOS 11 ; Way 1: Disable Notification for Apps and Background App Refresh...
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