'NSInternalInconsistencyException', reason: 'The embedded manifest is invalid or could not be read. Make sure you have configured expo-updates correctly in your Xcode Build Phases.'
Related
A react-native app I inherited throws this error Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'rootViewController is not of type HomeIndicatorView as expected.'
The app on load shows the splash screen and gets stuck on the screen below. At the moment, I don't know where to look as most of the solutions online doesn't lead anywhere.
PS. I'm using MacBook M1 pro, incase this is an issue with M1's.
After configuring the Firebase dashboard and integrating everything into my React Native app, when launching the Android Emulator the app crashes and I get the following error:
FATAL EXCEPTION: create_react_context
Process: com.appName, PID: XXXX
java.lang.VerifyError: Verifier rejected class com.google.mlkit.vision.face.FaceDetection: com.google.mlkit.vision.face.FaceDetector com.google.mlkit.vision.face.FaceDetection.getClient() failed to verify: com.google.mlkit.vision.face.FaceDetector com.google.mlkit.vision.face.FaceDetection.getClient(): [0x10] can't resolve returned type 'Unresolved Reference: com.google.mlkit.vision.face.FaceDetector' or 'Unresolved Reference: com.google.mlkit.vision.face.internal.FaceDetectorImpl'
The iOS Simulator runs fine and I'm able to use MLKit tools seamlessly, so this leads me to believe I have configured the Android app incorrectly. Any ideas?
After setting up font theme with native base using this guide https://docs.nativebase.io/Customize.html#theme-font-headref my app crashes after opening it in android without throwing any error.
It works fine in IOS.
Any similar experience?
I have an expo-React native project. The Project is getting build correctly and i am able to generate .apk and .ipa files for it.
But when I try to run the app in the iPhone simulator. I am getting the below error:-
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'NSBundle must contain the expected assets'
I was also having this issue and turned out to be my own fault due to changes I'd made in AppDelegate.m.
These caused [self initializeReactNativeApp]; to not be called when building for DEBUG.
Make sure initializeReactNativeApp is being called correctly in application:(UIApplication *)application didFinishLaunchingWithOptions in your app delegate.
I was trying to compile a sample app with Salesforce React Native SDK 4.3 and Xcode 8. The app would build successfully, but when loading on the simulator, it would crash at the splash screen and at the following line of code:
int retVal = UIApplicationMain(argc, argv, #"SFApplication", #"AppDelegate");
I got the following errors in the output:
ibc++abi.dylib: terminating with uncaught exception of type NSException
and further up
Terminating app due to uncaught exception 'com.salesforce.security.keychainException', reason: 'writeToKeychain: Error adding keychain item: Unknown status code (-34018).'
It seems that enabling Keychain Sharing under "Capabilities" will fix the problem. I believe this issue should be fixed with SDK 5.