Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apps are not permitted to access the UDID and must not use the uniqueIdentifier method of UIDevice

Will you please help me to fix this below mentioned issue getting from Apps store

Apps are not permitted to access the UDID and must not use the uniqueIdentifier method of UIDevice. Please update your apps and servers to associate users with the Vendor or Advertising identifiers introduced in iOS 6. If method names in your source code match the private Apple APIs listed above, altering your method names will help prevent this app from being flagged in future submissions. In addition, note that one or more of the above APIs may be located in a static library that was included with your app. If so, they must be removed.

If you think this message was sent in error and that you have only used Apple-published APIs in accordance with the guidelines, send the app's nine-digit Apple ID, along with detailed information about why you believe the above APIs were incorrectly flagged, to [email protected]. For further information, visit the Technical Support Information page.

Once these issues have been corrected, go to the Version Details page and click "Ready to Upload Binary." Continue through the submission process until the app status is "Waiting for Upload." You can then deliver the corrected binary.

like image 725
Mohammed Mansoor Avatar asked May 10 '13 18:05

Mohammed Mansoor


1 Answers

Find the class that use the UDID by

(by terminal in the project directory)

find . | grep -v .svn  | grep "\.a" | grep -v "\.app" | xargs grep uniqueIdentifier

you find the classes that use UDID then replace it and use UUID or replace it by new class if you are using external classes

like image 146
Masoud Al-Helou Avatar answered Oct 05 '22 20:10

Masoud Al-Helou