ios - google mobAd is conflict with Parse framework in (-ObjC) how to solve this issue? -
i have google mobile ad in project , make work should add -objc other linker flag have added parse framework project ,and 1 need remove -objc can compile after run project crashes on exception :
terminating app due uncaught exception 'nsinvalidargumentexception', reason: '-[gadobjectprivate changestate:]: unrecognized selector sent instance 0x1dde57b0'
so please can conflict ?? or should use ad engine if there no solution ?
you can use -objc
parse. when use flag, though, need include facebook sdk , dependencies well. that's because -objc
flag tells linker load all frameworks , classes referenced code, turns optional facebook sdk library required library.
instead of using -objc
, consider using -force_load
cherry pick frameworks loaded.
Comments
Post a Comment