【发布时间】:2014-11-10 10:52:00
【问题描述】:
我正在使用 Xcode 6.1 和 iOS 8.1 SDK 来开发 iOS 应用程序。
SailracerEngine 类导入 SmoothSpeedTimeSeries 和 SmoothCourseTimeSeries 类来实现它的一些功能。两者都是 SmoothTimeSeries 的子类。当我尝试构建我的项目时,链接器失败并出现以下错误:
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_SmoothCourseTimeSeries", referenced from:
objc-class-ref in SailracerEngine.o
"_OBJC_CLASS_$_SmoothSpeedTimeSeries", referenced from:
objc-class-ref in SailracerEngine.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我的代码中的其他模块正在使用 SmoothSpeedTimeSeries 和 SmoothCourseTimeSeries 没有任何链接器错误。如何解决这个问题?
【问题讨论】:
-
删除派生数据并运行应用程序
标签: ios objective-c xcode linker ld