XCode 4.5 のプロジェクトに iOS エージェントを追加しました。ビルドは次のエラーで失敗します。
Undefined symbols for architecture i386:
"_MPMoviePlayerPlaybackStateDidChangeNotification", referenced from:
+[MPMovieView(MTReady) load] in libMonkeyTalkMediaPlayer-1.0.24.a(MPMovieView+MTReady.o)
"_OBJC_CLASS_$_MPFullScreenTransportControls", referenced from:
l_OBJC_$_CATEGORY_MPFullScreenTransportControls_$_MTDisable in libMonkeyTalkMediaPlayer-1.0.24.a(MPMovieView+MTReady.o)
"_OBJC_CLASS_$_MPFullScreenVideoOverlay", referenced from:
l_OBJC_$_CATEGORY_MPFullScreenVideoOverlay_$_MTDisable in libMonkeyTalkMediaPlayer-1.0.24.a(MPMovieView+MTReady.o)
"_OBJC_CLASS_$_MPMovieView", referenced from:
anon in libMonkeyTalkMediaPlayer-1.0.24.a(MPMovieView+MTReady.o)
l_OBJC_$_CATEGORY_MPMovieView_$_MTReady in libMonkeyTalkMediaPlayer-1.0.24.a(MPMovieView+MTReady.o)
"_OBJC_CLASS_$_MPSwipableView", referenced from:
l_OBJC_$_CATEGORY_MPSwipableView_$_MTDisable in libMonkeyTalkMediaPlayer-1.0.24.a(MPMovieView+MTReady.o)
"_OBJC_CLASS_$_MPTransportButton", referenced from:
l_OBJC_$_CATEGORY_MPTransportButton_$_MTDisable in libMonkeyTalkMediaPlayer-1.0.24.a(MPMovieView+MTReady.o)
"_OBJC_CLASS_$_MPVideoBackgroundView", referenced from:
l_OBJC_$_CATEGORY_MPVideoBackgroundView_$_MTDisable in libMonkeyTalkMediaPlayer-1.0.24.a(MPMovieView+MTReady.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
誰か助けてくれませんか。iOS エージェントなしのビルドは正常にビルドされます。
ありがとう