Support for iOS7 missing in GoogleAds-IMA-iOS-SDK-For-AdMob

112 views
Skip to first unread message

Rakesh Ponnoju

unread,
May 31, 2016, 6:01:15 AM5/31/16
to Interactive Media Ads SDK
Hi Team,

    I was using GoogleAds-IMA-iOS-SDK-For-AdMob for one of my projects which supports iOS 7 to Latest iOS version.Everything is working fine when i compile and run it on Xcode 7 and above,but when i was compiling the same project in Xcode 6.4 i have been received following errors

Undefined symbols for architecture x86_64:

  "_OBJC_CLASS_$_AVPictureInPictureController", referenced from:

      objc-class-ref in GoogleInteractiveMediaAds(IMAPictureInPictureProxy.o)


As you have added support for picture in picture on SDK version 3.1.0(which uses apple class AVPictureInPictureController that has been added in iOS 9.0 and later) so i was receiving run time errors while running in Xcode 6.4 or below.And when i tried to install the previous versions of SDK i was been redirected to a github where it shows the latest version as 3.7(https://github.com/googleads/googleads-ima-ios/releases).And also I was able to reproduce the same error in your sample projects too i.e Basic Example(Objective-C) and even when i was trying to install it through pods it always clone for the latest SDK version instead of provided version in the pod file.So could you please help me out from fixing this issue so that i can compile and run in the Xcode 6.4 or below too.


Thanks,
Rakesh

Veer Arjun Busani

unread,
May 31, 2016, 1:07:38 PM5/31/16
to Interactive Media Ads SDK
Hi Rakesh,

As you have accurately pointed out, AVPictureInPictureController is only available from iOS 9+ and with the release of SDK v 3.1.0, this is now a dependency. But have you tried to add $(inherited)  flag in the Other Linker Flags for your project's Build Settings? That should resolve the issue here.

Thanks,
Veer Busani
Mobile Ads SDK Team

Rakesh Ponnoju

unread,
May 31, 2016, 1:13:20 PM5/31/16
to ima...@googlegroups.com

Hi Veer,
     I have tried the same, but no luck still i have been getting same error.Can you please try it on your sample code too because i was getting this issue in your code samples also.

Thanks,
Rakesh

--
You received this message because you are subscribed to a topic in the Google Groups "Interactive Media Ads SDK" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ima-sdk/Olinmm0vCCI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ima-sdk+u...@googlegroups.com.
To post to this group, send email to ima...@googlegroups.com.
Visit this group at https://groups.google.com/group/ima-sdk.
For more options, visit https://groups.google.com/d/optout.

Veer Arjun Busani

unread,
May 31, 2016, 4:51:18 PM5/31/16
to Interactive Media Ads SDK
Hi Rakesh,

Have you tried to add AVKit framework into your project and test this again? Also let me know if any of the listed suggestions here helps you out. If not, we would have a look into this issue.

Thanks,
Veer Busani
IMA SDK Team

Rakesh Ponnoju

unread,
May 31, 2016, 10:13:58 PM5/31/16
to ima...@googlegroups.com

Hi Veer,

      I have tried by adding the Avkit framework but still issue exists.But i have a query for you Avkit framework was introduced in iOS 8 ,will it work fine while running it on iOS7 devices???.

Thanks,
Rakesh.

Veer Arjun Busani

unread,
Jun 1, 2016, 12:31:04 PM6/1/16
to Interactive Media Ads SDK
Hi Rakesh,

AVKit framework won't work on iOS 7. Also, I have just now tried to use our SDK in Xcode 6.4 and was able to see the same error that you have been getting and here is my resolutions for this - 
  • Manually integrate the SDK and load the required frameworks. You can mark AVKit as optional, which would clear up the issue.
Let us know if you need anything else.

Thanks,
Veer Busani
IMA SDK Team

Rakesh Ponnoju

unread,
Jun 2, 2016, 12:11:43 AM6/2/16
to Interactive Media Ads SDK
Hi Veer,

    I have tried to manually integrate the SDK and marked AVKit Framework as optional but still i was receiving the error while i tried to build and run it on the Xcode 6.4.Could you please find a quick solution for this and if i want to revert back to the previous version of SDK i was unable to download the Version 2 of the SDK as you have completely removed the links from your Website.So please provide me the links for version 2 also.

Thanks,
Rakesh

Rakesh Ponnoju

unread,
Jun 2, 2016, 6:18:52 AM6/2/16
to Interactive Media Ads SDK
Hi Veer,

    I have installed iOS 8.1 simulator in my Xcode 7.2 and when i was running there is no build error which i was facing in Xcode 6.4 but i was not able to play the videos,it is giving the error

 ERROR:     400: error -66680

But videos were playing perfectly when i run it on iOS 9.2 simulator on the same Xcode 7.2.Please provide us a speedy solution for this issue.

Thanks,
Rakesh

Veer Arjun Busani

unread,
Jun 2, 2016, 1:01:06 PM6/2/16
to Interactive Media Ads SDK
Hi Rakesh,

I have informed the team about the iOS 7 build issue and will update as soon as I have any more information. With regards to the iOS 8.1, have you tried on Xcode 7.3? Because I have tested our sample on Xcode 7.3 and iOS 8.1 simulator and was able to play the videos without any errors.

If you want to download the version before PiP is supported, you can use CocaPods to download that. Simply use this pod 'GoogleAds-IMA-iOS-SDK-For-AdMob''3.0.beta.16'. The framework would be downloaded into your pod project.

Thanks,
Veer Busani
IMA SDK Team

Rakesh Ponnoju

unread,
Jun 6, 2016, 3:13:10 AM6/6/16
to Interactive Media Ads SDK
Hi Veer,

     Have you found any solution for iOS 7 build issue,and Can i get the pod file of version 2 of the framework??.

Thanks,
Rakesh

Veer Arjun Busani

unread,
Jun 6, 2016, 12:54:04 PM6/6/16
to Interactive Media Ads SDK
Hi Rakesh,

The team is currently aware of this and I will update you as soon as there is any more information. Could you clarify on the version number again? You can download all of our previous versions through CocoaPods.

For ex: pod 'GoogleAds-IMA-iOS-SDK-For-AdMob', '3.0.beta.xx(version number)'

Thanks,
Veer Busani
IMA SDK Team

Reply all
Reply to author
Forward
0 new messages