0

我有一个适用于 XCode 5 的 iOS metaio 项目。自从切换到 XCode 6 进行 iOS8 测试后,我遇到了 6 个新的 Mach-O 链接器错误的问题

Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_EKEventEditViewController", referenced from:
    objc-class-ref in metaioSDK(XDtLkdmsHtXjGTCxiIGVbMqenrFYqNevtLOSg)
"_OBJC_CLASS_$_EKEvent", referenced from:
    objc-class-ref in metaioSDK(xhvNiLkUYIhedEvQjYEaAfH)
    objc-class-ref in metaioSDK(XDtLkdmsHtXjGTCxiIGVbMqenrFYqNevtLOSg)
"_OBJC_METACLASS_$_MPMoviePlayerViewController", referenced from:
    _OBJC_METACLASS_$_ASMoviePlayerViewController in metaioSDK(ASMoviePlayerViewController.o)
    _OBJC_METACLASS_$_MoviePlayerViewController in metaioSDK(MoviePlayerViewController.o)
"_OBJC_CLASS_$_EKEventStore", referenced from:
    objc-class-ref in metaioSDK(xhvNiLkUYIhedEvQjYEaAfH)
    objc-class-ref in metaioSDK(XDtLkdmsHtXjGTCxiIGVbMqenrFYqNevtLOSg)
"_OBJC_CLASS_$_MPMoviePlayerViewController", referenced from:
    _OBJC_CLASS_$_ASMoviePlayerViewController in metaioSDK(ASMoviePlayerViewController.o)
    _OBJC_CLASS_$_MoviePlayerViewController in metaioSDK(MoviePlayerViewController.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
4

1 回答 1

0

我的解决方案是在我的构建阶段添加三个新框架。

  1. 导航到构建阶段
  2. 添加以下新框架
    • 媒体播放器
    • EventKitUI
    • 事件套件

完毕...

于 2014-09-19T18:55:06.263 回答