I am trying to demonstrate AppLovin sdk in cocos2d project in Xcode and I currently caused this Apple-o I am unable to debug the error as described below.
i386 undefined symbols of architecture: "_CMTimeGetSeconds", refers to: - [ALVideoViewController timeLeft] in libAppLovinSdk.a (ALVideoViewController.o) - [View ALVideoViewController percent] in libAppLovinSdk. A (ALVideoViewController.o) "_CMTimeMakeWithSeconds", refers to: - In ___ 50- [ALInterstitialViewController prepareForVideoAd:] _ libAppLovinSdk.a block_invoke (ALInterstitialViewController.o [ALVideoViewController createCountdownTimeObserver] libAppLovinSdk.a (ALVideoViewController.o) "_MPMoviePlayerPlaybackDidFinishNotification", in referenced) "_MPMoviePlayerPlaybackDidFinishReasonUserInfoKey", refer to: ___ 53- [ALInterstitialViewController moviePlayerDidFinish:] _ block_invoke libAppLovinSdk.a (ALInterstitialVie wController.o) "_MPMoviePlayerPlaybackStateDidChangeNotification" in references to: ___ 50- [ALInterstitialViewController prepareForVideoAd:] _ libAppLovinSdk.a ( in ALInterstitialViewController.o) "_OBJC_CLASS _ $ _ MPMoviePlayerController", refers block_invoke: ObjC- class referee libAppLovinSdk.a (ALInter stitialViewController.o) LD: did not get the symbol (s) architecture i386 clang: error: linker command failure code to see -V orientation failed with 1 (use)
I went to build steps -> Add another -> Libfopoloin SDK.A file selected from Finder was displayed.
I have not only created an active architecture but also set the value of arm64 removed from the architecture. There is no i386 architecture.
You CoreMedia
and mediaplayer
frameworks
(I had CMTimeGetSeconds
and MPMoviePlayerPlaybackDidFinishNotification is detected by Googling for
and seeing that hit the Apple Docs section, although CM
and the MP
prefix must be enough to tell you).
Comments
Post a Comment