React native app crashes when release mode set in Xcode - ios

RN version: 0.32.0
Application runs OK when in debug mode but crashes when release mode set in Xcode. Error message is not clear:
libc++abi.dylib: terminating with uncaught exception of type
NSException
What should I do? How to diagnose this problem? Any solution?

I have experienced this behavior when a component was given twice the same prop. Like in
<Comp propname={"a"} propname={"b"}/>
This is just a possibility, though and I don't know if it is still happening in RN 0.32. Does it run when you run it in debug mode and debug in Chrome? This was how I found my issue.
Try identifying which component is responsible for it by removing them one by one.

Related

My CN1 app crash on startup

Since today I can't run a CN1 debug the app on my iPhone 4 (iOS 9.3.5). It crashes on startup.
I've made only minor changes:
Add a button which uses execute(URL) to open a URL.
and I've got this exception:
Library not loaded
/System/Library/Frameworks/UserNorifications.framework/UserNotifications
[...]
Reason: image not found.
Can you help me, please?
That's probably a regression due to changes that went in to implement https://github.com/codenameone/CodenameOne/issues/2208
It's probably due to this commit: https://github.com/codenameone/CodenameOne/commit/a3a70fadd7dbef661351d11dc35683be3d828eda
Can you please file an issue to keep track on this?
We're looking into it.

iOS Wikitude SDK crash on exit/reopen app

I've developed a simply app for iOS and Augmented Reality (with WikitudeSDK).
All go fine, but when I exit and reopen the app, at times the app crashes with the following message:
Assertion failure in -[WTGCDDriver createSharedContextWithId:], /Users/emperor/Development/Tools/Jenkins/Master/Instance/jobs/architect_sdk_builder/workspace/repositories/ios_core_services/src/Rendering/Driver/WTDriver.mm:71
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: _context'
Have you any idea of this?
Thanks.
For some reason the OpenGL context is null when you reopen your app; you receive this error because we seem to have forgotten to disable assertions for a public build. So thanks for making us aware of this oversight.
With respect to the actual issue, I cannot provide an answer without having more of an insight into what exactly your app is doing and which version and configuration of the SDK you are using.
I'd therefore like you to create a thread in the Wikitude forums which provides a platform that is better suited for assisting you with this issue than Stack Overflow is.

App Crashes after Project and Scheme Renames Xcode 8 Swift 2.3

After renaming my Xcode project, scheme, and target, my app crashes at the App Delegate when running in simulator. It should be noted that the app could be run successfully, without any errors, prior to the rename. I have attempted all manner of fixes including editing the project.pbxproj file, all to no avail. The app crashes with an "libc++abi.dylib: terminating with uncaught exception of type NSException (lldb)" error at Thread 1 main.
Any assistance solving the problem would be greatly appreciated.

AVAnimator crashes on device

I integrated the AVAnimator in my project to display video with transparent background.
On the simulator everything works perfectly fine. I can see the video, the background really is transparent and I can hear the audio.
But when I try to build and run on the device I get following error:
Assertion failure in -[SegmentedMappedData mapSegment], /transparentVideoTest/AVAnimator/SegmentedMappedData.m:300
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'mmap result EINVAL'
I'm not so familiar with mmap.
Can anyone tell me what the reason could be, when the mapping works on simulator but not on device?
I had the same problem. I solved it by going into Build Settings and changing the allowed architecture to be $(ARCHS_STANDARD_32_BIT) (Try to match your project settings to those of an AVAnimator example project )

Cordova 3.3.0 Error NSInternalInconsistencyException reason: ERROR: Config.xml does not exist

I am using Cordova 3.3.0 on a mac with xcode 5 and as soon as i launch the app, right after the native splash screen, it crashes with the above error. I noticed this has happened after I played around trying to change the splash screen plugin image. It happened after renaming of default-portrait.png and default-568h#2x.png
The exception also logs that i need to run cordova-ios/bin/cordova_plist_to_config_xml. Terminating with uncaught exception of type NSException. I do not know what needs to be done here.
I do not see what this has to do with the config.xml or why it has reacted now since I have been using this plugin for a week now with no issues.
Can anyone help me with this?

Resources