Tuesday, 15 September 2015

ios - Apple Mach-O for libAppLovinSdk.a in cocos2d for iPhone -



ios - Apple Mach-O for libAppLovinSdk.a in cocos2d for iPhone -

i trying display applovin sdk in cocos2d project in xcode , i'm unable debug apple mach-o error described below.

undefined symbols architecture i386: "_cmtimegetseconds", referenced from: -[alvideoviewcontroller timeleft] in libapplovinsdk.a(alvideoviewcontroller.o) -[alvideoviewcontroller percentviewed] in libapplovinsdk.a(alvideoviewcontroller.o) "_cmtimemakewithseconds", referenced from: -[alvideoviewcontroller createcountdowntimeobserver] in libapplovinsdk.a(alvideoviewcontroller.o) "_mpmovieplayerplaybackdidfinishnotification", referenced from: ___50-[alinterstitialviewcontroller prepareforvideoad:]_block_invoke in libapplovinsdk.a(alinterstitialviewcontroller.o) "_mpmovieplayerplaybackdidfinishreasonuserinfokey", referenced from: ___53-[alinterstitialviewcontroller movieplayerdidfinish:]_block_invoke in libapplovinsdk.a(alinterstitialviewcontroller.o) "_mpmovieplayerplaybackstatedidchangenotification", referenced from: ___50-[alinterstitialviewcontroller prepareforvideoad:]_block_invoke in libapplovinsdk.a(alinterstitialviewcontroller.o) "_objc_class_$_mpmovieplayercontroller", referenced from: objc-class-ref in libapplovinsdk.a(alinterstitialviewcontroller.o) ld: symbol(s) not found architecture i386 clang: error: linker command failed exit code 1 (use -v see invocation)

i went build phases -> add together other -> selected libapplovinsdk.a file finder displayed.

i set value of build active architectures no , removed arm64 architectures. there no i386 architecture.

you missing coremedia , mediaplayer frameworks.

(i found out googling cmtimegetseconds , mpmovieplayerplaybackdidfinishnotification , seeing section of apple docs got hits, cm , mp prefixes should plenty tell you).

ios xcode cocos2d-iphone applovin

No comments:

Post a Comment