This repository was archived by the owner on Oct 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 32
This repository was archived by the owner on Oct 29, 2024. It is now read-only.
Emulator for IOS 15.0.0 crashes #118
Copy link
Copy link
Closed
Description
Is this a support request?
No
Describe the bug
IOS app crashes on the ios simulator for 15.0.0
To reproduce
I am using this code to retrieve all the flags on an ios simulator for 15.0.0 and it crashes the app on the simulator
let allFlagsResult = client.allFlags();
allFlagsResult.then(values => {
console.log(values);
});
Expected behavior
I expect all the flags from the env to be retrieved and logged
Logs
Crashed: com.facebook.react.LaunchdarklyReactNativeClientQueue
0 libswiftCore.dylib 0x30ce7 closure #1 in closure #1 in closure #1 in _assertionFailure(_:_:file:line:flags:) + 391
1 libswiftCore.dylib 0x30a4c closure #1 in closure #1 in _assertionFailure(_:_:file:line:flags:) + 300
2 libswiftCore.dylib 0x30725 closure #1 in _assertionFailure(_:_:file:line:flags:) + 117
3 libswiftCore.dylib 0x3037a _assertionFailure(_:_:file:line:flags:) + 314
4 forge_global 0xaca829 LaunchdarklyReactNativeClient.allFlags(_:resolve:reject:) + 473 (<compiler-generated>:473)
5 forge_global 0xacac0c @objc LaunchdarklyReactNativeClient.allFlags(_:resolve:reject:) + 140 (<compiler-generated>:140)
6 CoreFoundation 0x11947c __invoking___ + 140
7 CoreFoundation 0x116872 -[NSInvocation invoke] + 305
8 CoreFoundation 0x116b05 -[NSInvocation invokeWithTarget:] + 70
9 forge_global 0x818867 -[RCTModuleMethod invokeWithBridge:module:arguments:] + 584 (RCTModuleMethod.mm:584)
10 forge_global 0x81cdac facebook::react::invokeInner(RCTBridge*, RCTModuleData*, unsigned int, folly::dynamic const&, int, (anonymous namespace)::SchedulingContext) + 183 (RCTNativeModule.mm:183)
11 forge_global 0x81c63e facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int)::$_0::operator()() const + 104 (RCTNativeModule.mm:104)
12 forge_global 0x81c599 invocation function for block in facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int) + 95 (RCTNativeModule.mm:95)
13 libdispatch.dylib 0x1876 _dispatch_call_block_and_release + 12
14 libdispatch.dylib 0x2a56 _dispatch_client_callout + 8
15 libdispatch.dylib 0x908b _dispatch_lane_serial_drain + 718
16 libdispatch.dylib 0x9c31 _dispatch_lane_invoke + 400
17 libdispatch.dylib 0x146de _dispatch_workloop_worker_thread + 772
18 libsystem_pthread.dylib 0x345d _pthread_wqthread + 314
19 libsystem_pthread.dylib 0x242f start_wqthread + 15
SDK version
^6.0.0
Language version, developer tools
typescript
OS/platform
IOS 15.0.0 and IOS code is in objecive-c
Additional context
there is this comment in crashlytics EXC_BAD_INSTRUCTION EXC_I386_INVOP 0x0000000000000000
Metadata
Metadata
Assignees
Labels
No labels