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

-[NSProcessInfo isiOSAppOnMac]: unrecognized selector sent to instance #621

Open
joaopdcgarcia opened this issue Nov 29, 2023 · 0 comments

Comments

@joaopdcgarcia
Copy link

Mixpanel 4.1.4

Issue is happening very frequently for users with this device / iOS:
image

CrashReporter Key:  f1cde6d5d111f31ae3d5cd329c8e772f34645e26
Hardware Model:     iPhone11,8
Process:            xxxx
Identifier:         xxxx
Version:            xxxx
Role:               Foreground
OS Version:         iOS 14.0


NSInvalidArgumentException: -[NSProcessInfo isiOSAppOnMac]: unrecognized selector sent to instance 0x2806804e0

0  CoreFoundation +0x120c64        ___exceptionPreprocess
1  libobjc.A.dylib +0x6798         _objc_exception_throw
2  CoreFoundation +0x2bf8c         -[NSObject(NSObject) doesNotRecognizeSelector:]
3  CoreFoundation +0x1237ec        ____forwarding___
4  CoreFoundation +0x125adc        ___forwarding_prep_0___
5  xxxx +0x763840               static AutomaticProperties.isiOSAppOnMac() (AutomaticProperties.swift:141:53)
6  xxxx +0x76359c               one-time initialization function for properties (AutomaticProperties.swift:22:49)
7  libdispatch.dylib +0x4390       __dispatch_client_callout
8  libdispatch.dylib +0x5b1c       __dispatch_once_callout
9  libswiftCore.dylib +0x3afc98    _swift_once
10 xxxx +0x77c71c               AutomaticProperties.properties.unsafeMutableAddressor (AutomaticProperties.swift:22:16)
11 xxxx +0x7985ac               closure #1 in ReadWriteLock.write(closure:) (ReadWriteLock.swift:24:13)
12 xxxx +0x787948               partial apply for closure #1 in ReadWriteLock.write(closure:) (<compiler-generated>)
13 xxxx +0x788a3c               $s8Mixpanel13ReadWriteLockC5write7closureyyyXE_tFyyXEfU_TA.347
14 libswiftDispatch.dylib +0x8300  partial apply for thunk for @callee_guaranteed () -> (@out A, @error @owned Error)
15 libswiftDispatch.dylib +0x6820  closure #1 in closure #1 in OS_dispatch_queue._syncHelper<A>(fn:execute:rescue:)
16 libswiftDispatch.dylib +0x824c  partial apply for thunk for @callee_guaranteed () -> ()
17 libswiftDispatch.dylib +0x6534  thunk for @escaping @callee_guaranteed () -> ()
18 libdispatch.dylib +0x4390       __dispatch_client_callout
19 libdispatch.dylib +0x1233c      __dispatch_lane_barrier_sync_invoke_and_complete
20 libswiftDispatch.dylib +0x7134  implicit closure #2 in implicit closure #1 in OS_dispatch_queue.sync<A>(flags:execute:)
21 libswiftDispatch.dylib +0x6680  OS_dispatch_queue._syncHelper<A>(fn:execute:rescue:)
22 libswiftDispatch.dylib +0x703c  OS_dispatch_queue.sync<A>(flags:execute:)
23 Slumber +0x7881a8               ReadWriteLock.write(closure:) (ReadWriteLock.swift:23:25)
24 SystemConfiguration +0x2b138    _reachPerformAndUnlock
25 SystemConfiguration +0x2ba14    _____SCNetworkReachabilityRestartResolver_block_invoke_2
26 libnetwork.dylib +0x196a78      ___nw_resolver_update_client_block_invoke
27 libdispatch.dylib +0x2898       __dispatch_call_block_and_release
28 libdispatch.dylib +0x4390       __dispatch_client_callout
29 libdispatch.dylib +0xb330       __dispatch_lane_serial_drain
30 libdispatch.dylib +0xbe90       __dispatch_lane_invoke
31 libdispatch.dylib +0x15b68      __dispatch_workloop_worker_thread
32 libsystem_pthread.dylib +0x3904 __pthread_wqthread
33 libsystem_pthread.dylib +0xa778 _start_wqthread
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

1 participant