react-native-image-crop-picker: Crashing iOS app on start
Version
- react-native-image-crop-picker v0.14.4
- react-native v0.45.1
Platform
- iOS 10.3.2 (iphone 6s)
My application fails on start.
In XCode i have this error:
Snapshotting a view that has not been rendered results in an empty snapshot. Ensure your view has been rendered at least once before snapshotting or snapshot after screen updates.
and this:
Cannot snapshot view (<UIKeyboardImpl: 0x131e03430; frame = (0 0; 375 216); layer = <CALayer: 0x17403a9e0>>) with afterScreenUpdates:NO, because the view is not in a window. Use afterScreenUpdates:YES.
About this issue
- Original URL
- State: open
- Created 7 years ago
- Comments: 25 (1 by maintainers)
I was having a similar issue, my app was crashing right-after splash screen loads. Then I found a solution that we need to add two Framework
RSKImageCropper.frameworkiOS
&QBImagePicker.frameworkiOS
inEmbedded Binaries
.I found a solution from here.
for me this lib works well when i run my app from xcode; but if i stop xcode and run my app directly on my simulator, and it crashed
if i run the app from XCode it works, if i launch react-native run-ios it crashes immediately after launch
@ivpusic if launch react-native run-ios it crashes immediately after launch
same here, iām using cocoa pods, if i run in xcode, all is ok, but if i launch
react-native run-ios
it crashes immediately on start app.@kantharia Confirm. This solution really works. Thank you š