开发者社区> 问答> 正文

10.1.32 升级10.1.60 之后,编译失败!

已解决

10.1.32 升级10.1.60 之后,编译失败!具体报错信息如下:

如果去掉“mPaaS_TinyApp”模块,可以编译成功 模块通过cocoaPods引入

Undefined symbols for architecture arm64:
  "_MPMoviePlayerThumbnailImageKey", referenced from:
      -[BEEAssetVideoPlayer videoThumbnailIsAvailable:] in BeePhotoBrowser(BEEAssetVideoPlayer.o)
  "_MPMoviePlayerPlaybackStateDidChangeNotification", referenced from:
      -[BEEAssetVideoPlayer buildPlayerView:] in BeePhotoBrowser(BEEAssetVideoPlayer.o)
  "_OBJC_CLASS_$_MPRemoteCommandCenter", referenced from:
      objc-class-ref in BEEAudioUtil(BeeAudioPlayermanager.o)
  "_OBJC_CLASS_$_MPNowPlayingInfoCenter", referenced from:
      objc-class-ref in BEEAudioUtil(BeeAudioPlayermanager.o)
  "_MPMoviePlayerThumbnailImageRequestDidFinishNotification", referenced from:
      -[BEEAssetVideoPlayer buildPlayerView:] in BeePhotoBrowser(BEEAssetVideoPlayer.o)
  "_MPMediaItemPropertyArtwork", referenced from:
      -[BeeAudioPlayermanager updateRemoteControlInfoWithCoverImage:isPlaying:] in BEEAudioUtil(BeeAudioPlayermanager.o)
  "_MPMediaItemPropertyTitle", referenced from:
      -[BeeAudioPlayermanager updateRemoteControlInfoWithCoverImage:isPlaying:] in BEEAudioUtil(BeeAudioPlayermanager.o)
  "_MPMediaItemPropertyArtist", referenced from:
      -[BeeAudioPlayermanager updateRemoteControlInfoWithCoverImage:isPlaying:] in BEEAudioUtil(BeeAudioPlayermanager.o)
  "_MPMediaItemPropertyAlbumTitle", referenced from:
      -[BeeAudioPlayermanager updateRemoteControlInfoWithCoverImage:isPlaying:] in BEEAudioUtil(BeeAudioPlayermanager.o)
  "_OBJC_CLASS_$_MPVolumeView", referenced from:
      objc-class-ref in BeeCapture(BCMediaRecordBtnView.o)
  "_OBJC_CLASS_$_MPMoviePlayerViewController", referenced from:
      objc-class-ref in BeePhotoBrowser(BEEAssetVideoPlayer.o)
  "_OBJC_CLASS_$_MPMediaItemArtwork", referenced from:
      objc-class-ref in BEEAudioUtil(BeeAudioPlayermanager.o)
  "_MPNowPlayingInfoPropertyElapsedPlaybackTime", referenced from:
      -[BeeAudioPlayermanager updateRemoteControlInfoWithCoverImage:isPlaying:] in BEEAudioUtil(BeeAudioPlayermanager.o)
  "_OBJC_CLASS_$_MPMusicPlayerController", referenced from:
      objc-class-ref in BeeMediaPlayer(BeeVideoPlayerControlView.o)
  "_MPMediaItemPropertyPlaybackDuration", referenced from:
      -[BeeAudioPlayermanager updateRemoteControlInfoWithCoverImage:isPlaying:] in BEEAudioUtil(BeeAudioPlayermanager.o)
  "_MPNowPlayingInfoPropertyPlaybackRate", referenced from:
      -[BeeAudioPlayermanager updateRemoteControlInfoWithCoverImage:isPlaying:] in BEEAudioUtil(BeeAudioPlayermanager.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

展开
收起
1962376350165612 2019-12-05 17:26:13 2155 0
1 条回答
写回答
取消 提交回答
  • 采纳回答

    导入这个mediaPlayer.framework就行了image.png

    2019-12-05 17:35:25
    赞同 展开评论 打赏
来源圈子
更多
收录在圈子:
问答排行榜
最热
最新

相关电子书

更多
面向失败设计 立即下载
低代码开发师(初级)实战教程 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载