Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to detect which 3rd sdk use UDID?

We use a lot of third-party SDKs from ad providers, and since Apple will not allow UDID access after May 1st, I want to check which SDKs use the UDID function. Is there a simple way or tool to do that?

like image 727
ocean Avatar asked Jan 13 '23 16:01

ocean


1 Answers

One simple and naïve method is to run strings and grep on the library files. i.e.

strings libSomething.a | grep uniqueIdentifier

If you see any line that prints exactly uniqueIdentifier there is a risk they call it. This method is not 100% bullet proof. But I'd expect Apple doing a similar check in their automatic validation.

like image 59
epatel Avatar answered Jan 19 '23 12:01

epatel