Re: AdMob SDK 6.4.1 causes rejection by Apple because of uniqueIdentifier

1,409 views
Skip to first unread message

Eric Leichtenschlag

unread,
May 8, 2013, 8:51:05 PM5/8/13
to google-adm...@googlegroups.com
Hi Carlos,

Can you log the SDK version to make sure you're referencing the latest version? You can do that with:

NSLog(@"SDK Version: %@", [GADRequest sdkVersion]);

There shouldn't be any references to UDID in 6.4.1. Perhaps your app is referencing an older version because of some library search paths in your build settings.

Thanks,
Eric

On Tuesday, May 7, 2013 1:34:47 PM UTC-7, Carlos Avilés wrote:
Hi,

If I add libGoogleAdMobAds.a from SDK 6.4.1 to my project (and this is the only 3rd party library linked) the app gets rejected because it supposedly calls uniqueIdentifier. I have inspect the binary myself and I can see a reference to uniqueIdentifier in it. If I remove that library and build again without it, the reference is gone and the app passes Apple's review. I thought AdMob SDK 6.4.1 wouldn't have such problems.

Is there anybody who can explain to me why is this uniqueIdentifier reference being added to my binary?

Thanks!
Carlos. 

Rajkumar Parameswaran

unread,
May 13, 2013, 3:55:54 PM5/13/13
to google-adm...@googlegroups.com
Hey all,

When you get to the binary in the terminal and try putting in "strings libGoogleAdMobAds.a | grep uniqueIdentifier" do you see anything pop up? This command basically looks to see if that method is called anywhere in the binary. 

Are you also sure that it's AdMob that is using UDID? We had some code samples which referenced UDDI previously, I hope you're not using those as well?


On Sun, May 12, 2013 at 5:08 PM, wolfgang <wolfgan...@luckyschulz.de> wrote:
I have stll the same Problem and I verfied the correct use of version AdMob SDK 6.4.1.


Am Dienstag, 7. Mai 2013 22:34:47 UTC+2 schrieb Carlos Avilés:
Hi,

If I add libGoogleAdMobAds.a from SDK 6.4.1 to my project (and this is the only 3rd party library linked) the app gets rejected because it supposedly calls uniqueIdentifier. I have inspect the binary myself and I can see a reference to uniqueIdentifier in it. If I remove that library and build again without it, the reference is gone and the app passes Apple's review. I thought AdMob SDK 6.4.1 wouldn't have such problems.

Is there anybody who can explain to me why is this uniqueIdentifier reference being added to my binary?

Thanks!
Carlos. 

--
 
---
You received this message because you are subscribed to the Google Groups "Google AdMob Ads Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Rajkumar Parameswaran

unread,
May 13, 2013, 4:00:56 PM5/13/13
to google-adm...@googlegroups.com
Hey guys,

Can you try "strings libGoogleAdMobAds.a | grep uniqueIdentifier" on the SDK? Also I assume Apple specifically said that the app was referencing uniqueIdentifier as described here (https://developer.apple.com/library/ios/#documentation/UIKit/Reference/UIDevice_Class/DeprecationAppendix/AppendixADeprecatedAPI.html)? Does the rejection notice give you any more info that may be able to help us?

Raj


On Fri, May 10, 2013 at 1:19 PM, Eyvind Almqvist <eyv...@gmail.com> wrote:
I have exactly the same problem and I have tried to write about it. But what I write about never comes up on the forum. Please solve this problem or we'll have to remove Admob from our iPhone app!

Eric Leichtenschlag

unread,
May 14, 2013, 1:08:47 PM5/14/13
to google-adm...@googlegroups.com
Also try "md5 googleadmobadssdkios.zip" to make sure you have the same binary. Here is the output I got when running against the 6.4.1 library.

> md5 googleadmobadssdkios.zip
MD5 (googleadmobadssdkios.zip) = c7465f78c3a35608da25d64a2f7be26d

On Monday, May 13, 2013 1:05:05 AM UTC-7, Eyvind Almqvist wrote:
I have the same problem. What should I do?

Rajkumar Parameswaran

unread,
May 22, 2013, 12:07:49 PM5/22/13
to google-adm...@googlegroups.com
Hey all,

So I'm seeing a couple of people suggesting a number of fixes. Can you please let me know if you still get rejected after you check the following:
  1. Make sure the referenced SDK version is indeed 6.4.1 using NSLog(@"SDK Version: %@", [GADRequest sdkVersion]);
  2. Under "Build Settings", make sure that "Library Search Paths" does not point to any older versions of the SDK (this happens very often).
  3. Use "strings libGoogleAdMobAds.a | grep uniqueIdentifier" on the command line for the AdMob binary that you are referencing to make sure there's no reference to UDID.
Please let me know if you've tried all 3 steps and you're still getting rejected. We've submitted apps to the App Store with this version of AdMob, so I'm thinking it may be a project setting problem.


On Sat, May 18, 2013 at 10:58 AM, Tim Girard <gira...@gmail.com> wrote:
I am having the same problem, my app is rejected because of admob 6.4.1 using the uniqueIdentifier

If i remove admob from my build, it passes validation, but as soon as I add the admob files back to the project, it fails validation.

The only other thing I am using is PhoneGap 2.7.0, but like i said, the build passes whenever I remove admob.

I can't make any updates now to my apps, and I don't know what the problem is.

any suggestions?

thanks


On Tuesday, May 7, 2013 4:34:47 PM UTC-4, Carlos Avilés wrote:
Hi,

If I add libGoogleAdMobAds.a from SDK 6.4.1 to my project (and this is the only 3rd party library linked) the app gets rejected because it supposedly calls uniqueIdentifier. I have inspect the binary myself and I can see a reference to uniqueIdentifier in it. If I remove that library and build again without it, the reference is gone and the app passes Apple's review. I thought AdMob SDK 6.4.1 wouldn't have such problems.

Is there anybody who can explain to me why is this uniqueIdentifier reference being added to my binary?

Thanks!
Carlos. 

--
Reply all
Reply to author
Forward
0 new messages