Search code examples
iphoneiosudid

Check UDID access in pre built library and strip that call without compiling again


Is there any way to confirm UDID is not accessed in pre built library?

For example: I have google Admob iOS sdk. How can I confirm that below API is not used in this library?

 [[UIDevice currentDevice] uniqueIdentifier]

Also is there any way to remove only this line of code from pre built library?


Solution

  • You can check through terminal:

    strings libSomething.a | grep uniqueIdentifier