Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MixPanel Causes App crash on ios 16.2 #206

Open
theambidextrous opened this issue Jun 23, 2023 · 1 comment
Open

MixPanel Causes App crash on ios 16.2 #206

theambidextrous opened this issue Jun 23, 2023 · 1 comment

Comments

@theambidextrous
Copy link

System info:

Am using mixpanel-react-native:2.2.1

System:
    OS: macOS 12.6.5
    CPU: (10) arm64 Apple M1 Max
    Memory: 281.75 MB / 32.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 18.15.0 - /usr/local/bin/node
    Yarn: 1.22.19 - ~/.yarn/bin/yarn
    npm: 9.5.0 - /usr/local/bin/npm
    Watchman: Not Found
  Managers:
    CocoaPods: 1.11.2 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1
    Android SDK: Not Found
  IDEs:
    Android Studio: 2022.1 AI-221.6008.13.2211.9619390
    Xcode: 14.2/14C18 - /usr/bin/xcodebuild
  Languages:
    Java: 11.0.12 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 18.2.0 => 18.2.0 
    react-native: 0.71.0 => 0.71.0 
    react-native-macos: Not Found

The app crashes with the following errors, kindly help.

2023-06-23 11:07:46.411152+0300 LoyaltySandbox[26182:2225917] -[__NSTaggedDate count]: unrecognized selector sent to instance 0x8000000000000000
2023-06-23 11:07:46.421717+0300 LoyaltySandbox[26182:2225917] [native] Exception '-[__NSTaggedDate count]: unrecognized selector sent to instance 0x8000000000000000' was thrown while invoking initialize on target MixpanelReactNative with params (
    *********mixpanel-token********,
    1,
    0,
        {
        "$lib_version" = "2.2.5";
        "mp_lib" = "react-native";
    },
    "https://api.mixpanel.com",
    32,
    33
)
callstack: (
	0   CoreFoundation                      0x000000018040e7c8 __exceptionPreprocess + 172
	1   libobjc.A.dylib                     0x0000000180051144 objc_exception_throw + 56
	2   CoreFoundation                      0x000000018041d47c +[NSObject(NSObject) instanceMethodSignatureForSelector:] + 0
	3   CoreFoundation                      0x00000001804126c8 ___forwarding___ + 1308
	4   CoreFoundation                      0x0000000180414b4c _CF_forwarding_prep_0 + 92
	5   libswiftCore.dylib                  0x000000018bdb2a74 $sSD8_VariantV8setValue_6forKeyyq_n_xtF + 116
	6   libswiftCore.dylib                  0x000000018bd6fbbc $sSDyq_Sgxcis + 296
	7   LoyaltySandbox                      0x00000001012d70b4 $s19MixpanelReactNative19AutomaticPropertiesC03setdE0yySDySSypGFZ + 376
	8   LoyaltySandbox                      0x00000001012d7348 $s19MixpanelReactNativeAAC10initialize_20trackAutomaticEvents23optOutTrackingByDefault10properties9serverURL8resolver8rejecterySS_S2bSDySSypGSSyypSgXEySSSg_ALs5Error_pSgtXEtF + 232
	9   LoyaltySandbox                      0x00000001012d75c0 $s19MixpanelReactNativeAAC10initialize_20trackAutomaticEvents23optOutTrackingByDefault10properties9serverURL8resolver8rejecterySS_S2bSDySSypGSSyypSgXEySSSg_ALs5Error_pSgtXEtFTo + 320
	10  CoreFoundation                      0x0000000180414d00 __invoking___ + 144
	11  CoreFoundation                      0x0000000180411ee8 -[NSInvocation invoke] + 276
	12  CoreFoundation                      0x0000000180412180 -[NSInvocation invokeWithTarget:] + 60
	13  LoyaltySandbox                      0x000000010152b74c -[RCTModuleMethod invokeWithBridge:module:arguments:] + 1744
	14  LoyaltySandbox                      0x000000010152f590 _ZN8facebook5reactL11invokeInnerEP9RCTBridgeP13RCTModuleDatajRKN5folly7dynamicEiN12_GLOBAL__N_117SchedulingContextE + 1544
	15  LoyaltySandbox                      0x000000010152edac _ZZN8facebook5react15RCTNativeModule6invokeEjON5folly7dynamicEiENK3$_0clEv + 144
	16  LoyaltySandbox                      0x000000010152ed10 ___ZN8facebook5react15RCTNativeModule6invokeEjON5folly7dynamicEi_block_invoke + 28
	17  libdispatch.dylib                   0x0000000105748594 _dispatch_call_block_and_release + 24
	18  libdispatch.dylib                   0x0000000105749d5c _dispatch_client_callout + 16
	19  libdispatch.dylib                   0x0000000105752040 _dispatch_lane_serial_drain + 928
	20  libdispatch.dylib                   0x0000000105752d80 _dispatch_lane_invoke + 428
	21  libdispatch.dylib                   0x0000000105760b40 _dispatch_workloop_worker_thread + 1720
	22  libsystem_pthread.dylib             0x00000001b0598b40 _pthread_wqthread + 284
	23  libsystem_pthread.dylib             0x00000001b0597904 start_wqthread + 8
)
@TowhidKashem
Copy link

see #179 might be related, tldr; no solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants