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

enter image description here


if isn't it, you're missing framework google - google toolbox mac


Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -