Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

App reject : Google Analytics ios sdk 2.0

I am using latest Google analytic iOS SDK 2.0 in my Project and app get rejection in few minute saying invalid binary. I received a email from apple review team that "Apps are not permitted to access the UDID and must not use the uniqueIdentifier method of UIDevice:". I searched all the app with terminal command and manualy as well for UDID. I upload app without Google Analytic and it get approval in 6 days, But with Google analytic it get rejection. Please share more details on the same.

I have searched

App rejected, but I don't use UDID

After R&D and below Answer's I found that Apple suggest. otool & nm tool for checking private API, But I am unable to check for UDID.

How does Apple know you are using private API?

like image 647
Mangesh Avatar asked May 09 '13 13:05

Mangesh


1 Answers

Unfortunately, the only available SDK at the moment (16/05/2013) is 2.0beta4. It appears that since 9/05/2013, Apple is automatically rejecting all apps with reference to uniqueIdentifier and this includes Google Analytics SDK.

Trouble with the 2.0beta4 (and definitely earlier versions) is in libGoogleAnalytics.a and nowhere else where the code is open and modifiable.


EDIT

It appears that the UDID reference is NOT in libGoogleAnalytics.a but in libGoogleAnalytics_debug.a

Removing it entirely from the XCode project (and delete the file from the filesystem just to be sure) does not auto-reject the app. (The catch is that without it you will not be able to debug).

(Tested this on 20/05/2013)

like image 157
Pericles Avatar answered Nov 15 '22 22:11

Pericles