IMA SDK error in Xcode 7.1

176 views
Skip to first unread message

fusioni...@gmail.com

unread,
Oct 23, 2015, 5:07:01 AM10/23/15
to Interactive Media Ads SDK
Hello Sir,
               I am working on iOS app in swift. I need to play DFP pre roll ad in my application. IMA SDK is working fine in Xcode 7.0.1 but I have updated my Xcode 7.0.1 to Xcode 7.1 then getting error in GoogleInteractiveMediaAds.h  "include of non-modular header inside framework module 'GoogleInteractiveMediaAds' ". How to fix this error?

Thanks.
Screen Shot 2015-10-23 at 2.30.35 PM.png

Tyler Sidell (IMA SDK Team)

unread,
Oct 23, 2015, 12:07:25 PM10/23/15
to Interactive Media Ads SDK
Hi,

There are a couple of suggestions here to help you resolve your issue.
  1. Make sure that your headers are set to public.  
    • Select the header file in Xcode through the project explorer.
    • There should be a Target Membership area on the right with a dropdown next to the target.
    • Change the headers from "project" to "public".
  2. Edit the module.modulemap of the Google Interactive Media Ads SDK to include the framework headers.  The location of this file is Pods->GoogleAds-IMA-iOS-SDK->GoogleInteractiveMediaAds->GoogleInteractiveMediaAds-GoogleIMA3-GoogleInteractiveMediaAds.framework/Modules
If you are still facing issues after taking any of the routes above, please provide us additional steps you took in setting up your integration (did you manually ad the framework or are you using Cocoapods?).

Thanks,
Tyler Sidell
IMA SDK Team

thomas ridenour

unread,
Feb 27, 2017, 4:05:20 AM2/27/17
to Interactive Media Ads SDK
I am having the same issue. Number 1 of the proposed solution does not make any sense. These are header files inside a cocoa pod. There is no such option. Number 2 the path does not exist. Inside are only header files no other files.

Tyler Sidell (IMA SDK Team)

unread,
Feb 27, 2017, 3:40:38 PM2/27/17
to Interactive Media Ads SDK
Hi Thomas,

Would you mind opening a new thread providing as many details as possible?  This would help us to better track the issue.

Thanks,
Tyler Sidell
IMA SDK Team

Reply all
Reply to author
Forward
0 new messages