Metaio SDK - XCode 6 Mach-O链接器错误

时间:2014-09-19 18:55:06

标签: ios sdk metaio

我有一个适用于iOS的metaio项目,可以很好地使用XCode 5.自从切换到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)

1 个答案:

答案 0 :(得分:0)

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

  1. 导航到构建阶段
  2. 添加以下新框架
    • 的MediaPlayer
    • EventKitUI
    • EventKit
  3. 完成...