架构错误

时间:2014-04-22 08:58:02

标签: ios iphone xcode

我从github添加了库到我的项目。 我有这个错误 我该如何解决?

架构i386的未定义符号:“_ AVMakeRectWithAspectRatioInsideRect”,引自:

    -[MHTransitionShowOverView animateTransition:] in MHTransitionShowOverView.o
      -[MHTransitionShowOverView startInteractiveTransition:] in MHTransitionShowOverView.o
      -[MHTransitionShowShareView animateTransition:] in MHTransitionShowShareView.o
      -[MHTransitionDismissMHGallery animateTransition:] in MHTransitionDismissMHGallery.o
      -[MHTransitionDismissMHGallery startInteractiveTransition:] in MHTransitionDismissMHGallery.o
      -[MHImageViewController centerImageView] in MHGalleryImageViewerViewController.o
  "_CMTimeGetSeconds", referenced from:
      ___54-[MHGallerySharedManager createThumbURL:successBlock:]_block_invoke in MHGallerySharedManager.o
  "_CMTimeMakeWithSeconds", referenced from:
      ___54-[MHGallerySharedManager createThumbURL:successBlock:]_block_invoke in MHGallerySharedManager.o
  "_MPMoviePlayerLoadStateDidChangeNotification", referenced from:
      -[MHImageViewController removeAllMoviePlayerViewsAndNotifications] in MHGalleryImageViewerViewController.o
      -[MHImageViewController addMoviePlayerToViewWithURL:] in MHGalleryImageViewerViewController.o
  "_MPMoviePlayerPlaybackDidFinishNotification", referenced from:
      -[MHImageViewController removeAllMoviePlayerViewsAndNotifications] in MHGalleryImageViewerViewController.o
      -[MHImageViewController addMoviePlayerToViewWithURL:] in MHGalleryImageViewerViewController.o
  "_MPMoviePlayerPlaybackStateDidChangeNotification", referenced from:
      -[MHImageViewController removeAllMoviePlayerViewsAndNotifications] in MHGalleryImageViewerViewController.o
  "_OBJC_CLASS_$_AVAssetImageGenerator", referenced from:
      objc-class-ref in MHGallerySharedManager.o
  "_OBJC_CLASS_$_AVURLAsset", referenced from:
      objc-class-ref in MHGallerySharedManager.o
  "_OBJC_CLASS_$_MPMoviePlayerController", referenced from:
      objc-class-ref in MHGalleryImageViewerViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

0 个答案:

没有答案