ios - How can I find the file calling uniqueIdentifier on UIDevice? -


i used answer question how detect if external libraries calling [uidevice currentdevice] uniqueidentifier]?

to log uniqueidentifier being called. can't pull useful information log. how can determine class or library calling uniqueidentifier.

* thread #7: tid = 0x2603, 0x01850690 uikit`-[uidevice uniqueidentifier], stop reason = breakpoint 6.1 frame #0: 0x01850690 uikit`-[uidevice uniqueidentifier] frame #1: 0x02743663 libobjc.a.dylib`-[nsobject performselector:] + 62 frame #2: 0x001038ff smacktalk`clshostdatainit + 843 frame #3: 0x028b4014 libdispatch.dylib`_dispatch_client_callout + 14 frame #4: 0x028a52e8 libdispatch.dylib`_dispatch_root_queue_drain + 335 frame #5: 0x028a5450 libdispatch.dylib`_dispatch_worker_thread2 + 39 frame #6: 0x9a597e72 libsystem_c.dylib`_pthread_wqthread + 441 

does cls refer framework might have added? seems best clue out of log posted.

you try trial , error. start suspects analytics or advertising framework, unlink , comment out dependent code , see if breakpoint still gets hit.

depending on how many libraries you're talking, might make sense lookup project pages libraries , check how current code , how up-to-date version of code is. best case they've since updated library , pulled out udid code , you'd have update latest version.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -