larsacus / LARSAdController

Lightweight ad mediation for iOS to properly manage multiple ad networks dynamically including iAd and Google ads.
http://theonlylars.com/blog/2013/01/10/stupid-easy-ads-with-larsadcontroller-3-dot-0/
MIT License
269 stars 60 forks source link

error "Include of non-modular header inside framework module " #118

Closed nahung89 closed 9 years ago

nahung89 commented 9 years ago

here is my srcreenshot: http://imgur.com/NcVsQNN

In pod file, I add

platform :ios, '6.0' target 'abc' do inhibit_all_warnings! pod 'LARSAdController', '3.0' end

larsacus commented 9 years ago

You are explicitly specifying an old version of this pod. please use the latest version of the pod

pod 'LARSAdController', '3.1.0'

or use a more flexible version specification:

pod 'LARSAdController', '~> 3.0'

MarcoMoby commented 8 years ago

Getting the same errors with:

Using Google-Mobile-Ads-SDK (7.5.1) Using LARSAdController (3.1.0)

xCode 7.0.1 OS El Capitan please, reopen the issue.

larsacus commented 8 years ago

It sounds like you need to update cocoapods. The error you described isn't related to my source specifically, but how the source is built.

MarcoMoby commented 8 years ago

I understand, but afaik cocoapods is up to date: $ pod --version 0.38.2

Also, it does not seem to happen with any other pod.

larsacus commented 8 years ago

I've been having a lot of problems with the CocoaPods + GoogleMobileAds pod since google switched to using a fake framework without source. I will look into this, but I might just have to remove pod support for google ads since nothing is working consistently over time.