I am trying to add Google Analytics in my iSO app and I am using Google Analytics latest SDK
Added all required header and frameworks to my project successfully. But while running my app I am getting below errors
// Configure tracker from GoogleService-Info.plist.
[[GGLContext sharedInstance] configureWithError:&configureError];
NSAssert(!configureError, @"Error configuring Google services: %@", configureError);
// Optional: configure GAI options.
GAI *gai = [GAI sharedInstance];
gai.trackUncaughtExceptions = YES; // report uncaught exceptions
gai.logger.logLevel = kGAILogLevelVerbose; // remove before app release
OPN [Debug] target overrides the
OTHER_LDFLAGS build setting". This was the main issue. After adding $(inherited) in new line in other linker flags solved my issue.