jped
jped

Reputation: 153

App can't import bridging header and find Google/Analytics.h when running in Release Configuration

So I'm trying to set up the debug/release configurations in the app I'm working on. When trying to test the Release configuration, the app won't build. Says: Can't import bridging header and 'Google/Analytics.h' file not found. But this is only when running in release.

Any ideas on what could be the problem?

Upvotes: 0

Views: 489

Answers (1)

kl.woon
kl.woon

Reputation: 2055

Another option you could try replacing the header with these lines:

#import <GoogleAnalytics/GAI.h>
#import <GoogleAnalytics/GAIDictionaryBuilder.h>
#import <GoogleAnalytics/GAIFields.h>

Found it from their reference sample app: Google Analytics iOS Quickstart app

Upvotes: 1

Related Questions