iOS AdMob SDK 7.4.0

200 views
Skip to first unread message

Ankur Diyora

unread,
Aug 7, 2015, 4:20:52 AM8/7/15
to Google Mobile Ads SDK Developers

Hello,

I am using admob sdk 7.4.0 for mediation. I am displaying admob & inmobi both ads in my app. For inmobi sdk integration i have to set Other Linker Flag "-ObjC" in my build settings.

Xcode works fine in Debug mode & also run no device also. But when Archive for upload binary then gives me error like "duplicate symbols for architecture arm64" with GoogleMobileAds.framework

If i am removed that "-ObjC" flag its works. But for inmobi its required.

Also if i am used your older sdk version 7.1.0 then its works.


Thanks,

Ankur

Ankur Diyora

unread,
Aug 7, 2015, 5:11:13 AM8/7/15
to Google Mobile Ads SDK Developers
If i am build code in iOS Device  then als same error comes with new sdk 7.4.0

Elton Kent

unread,
Aug 7, 2015, 5:43:00 PM8/7/15
to Google Mobile Ads SDK Developers
Hi Ankur,
I recommend reviewing your code as you could get this error if you import a .m  or instead of a .h file. 

Cheers,
Elton Kent
Mobile Ads SDK Team

Ankur Diyora

unread,
Aug 10, 2015, 5:18:42 AM8/10/15
to Google Mobile Ads SDK Developers
Hello Elton,
I already checked that. I am not import a .m file instead of a .h file.
Project name is Test7.zip. Its run in Simulator and on my iPhone. but when i compile its on iOS Device mode for import binary its gives error.

Thanks,
Ankur

Ankur Diyora

unread,
Aug 10, 2015, 5:29:06 AM8/10/15
to Google Mobile Ads SDK Developers
If i removed Other Linker Flag "-ObjC" then its works for InMobi ads i required that.

Elton Kent

unread,
Aug 10, 2015, 6:55:57 PM8/10/15
to Google Mobile Ads SDK Developers
Hi Ankur,
Thanks for sharing your project. I used ${OTHER_LDFLAGS) -ObjC and it worked fine. Also, If you are using Xcode 7b I would recommend downgrading to 6 for now.

Cheers,
Elton Kent
Mobile Ads SDK Team


Ankur Diyora

unread,
Aug 11, 2015, 12:35:41 AM8/11/15
to Google Mobile Ads SDK Developers
Hi Elton,
I am using XCode 6.2. Which XCode version you are use?
I think its XCode version issue also is it AdMob SDK release using new XCode?

Thanks,
Ankur  

Elton Kent

unread,
Aug 11, 2015, 6:18:00 PM8/11/15
to Google Mobile Ads SDK Developers
Hi Ankur, 
I doubt the change in Xcode version makes is significant as long as you aren't version 7 (because it's currently in beta). Could you also check if you have not included the SDK twice (using cocoapods and manually)?

Cheers,
Elton Kent
Mobile Ads SDK Team

Ankur Diyora

unread,
Aug 12, 2015, 12:59:25 AM8/12/15
to Google Mobile Ads SDK Developers
Hi Elton,
No i am not included sdk twice. That means you are release SDK using XCode 7(beta). Right?
If you have XCode 6.2 or other 6.X then can you please check it?

Thanks,
Ankur 

Elton Kent

unread,
Aug 12, 2015, 5:54:58 PM8/12/15
to Google Mobile Ads SDK Developers
Hi Ankur,
Xcode 7 is currently in beta and targets features for iOS9, which the SDK does not support at the moment. We have had users with build-time issues when they use Xcode 7 hence my recommendation. The only thing that comes to mind at the moment is the inclusion of the SDK twice. Could you check if there were no dependencies introduced through cocoapods?

Cheers,
Elton Kent
Mobile Ads SDK Team

Ankur Diyora

unread,
Aug 14, 2015, 3:17:55 AM8/14/15
to google-adm...@googlegroups.com
Hi Elton,
I am not included sdk twice. Also i already sent to code. As you told me you are run on XCode 7 i think that is the problem. I am using XCode 6.2. 
What about backward compatibility? If i don't have XCode 7 then i can't integrate admob 

--

---
You received this message because you are subscribed to a topic in the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-admob-ads-sdk/ki8YNssPUDs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-admob-ads...@googlegroups.com.
To post to this group, send email to google-adm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages