App rejected, but I don't use UDID
In My case it was ibGoogleAnalytics_debug.a library.
To find which library is using uniqueidentifier method, go to your project folder and type in:
$ find . | grep -v .svn | grep "\.a" | grep -v "\.app" | xargs grep uniqueIdentifier
I got this:Binary file ./My_Project/libGoogleAnalytics_debug.a matches
Solved it:The problem is that your project still refer to the old SDK and it compiles the code with your old sdk methods including the UDID which apple rejects.
Fix it in your build properties of SEARCH PATHFramework Search Paths Library Search Paths
remove unnecessary values such as old sdk path and put there your current sdk path
clean all project's files:Window->Organizer->Project - delete your projectProduct->Clean
Now rebuild it and resubmit it to apple.
Enjoy :)
Check the binary you generated with the strings
command, and look for uniqueIdentifier
:
$ strings YOUR_BINARY | grep uniqueIdentifier
It is likely you're going to find it in there.
I found that OpenSSL has a string uniqueIdentifier
declared in their headers, so it's probable your application (or any static library you're providing with your app) has included it.
In my case the culprit was libspotify
.