Integrating IMA iOS SDK -
i have integrated google sdk manually without cocoapods because i'm using inside static library. , have added frameworks (avfoundation,..etc) needed ima sdk.
my app getting crashed whenever trying set imasettings language.
here error:
+[nsdictionary gtm_dictionarywithhttpargumentsstring:]: "unrecognized selector sent to"
this code :
- (imasettings *)createimasettings { imasettings *settings = [[imasettings alloc] init]; settings.language = @"en"; return settings; }
i have initialized ads loader here :
self.adsloader = [[imaadsloader alloc] initwithsettings:[self createimasettings]];
you miss category method gtm_dictionarywithhttpargumentsstring
likely, part of sdk haven't setup linker right
add -objc
app's linker flags
if isn't it, you're missing framework google - google toolbox mac
Comments
Post a Comment