更新到Xcode 5.1后,收到编译错误:
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_LocalyticsSession", referenced from:
objc-class-ref in Analytics(LocalyticsProvider.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
答案 0 :(得分:0)
Segment.io通过更新0.10.1发布了此问题的解决方案 - 只需将新版本的Framework添加到您的Xcode项目中:https://github.com/segmentio/analytics-ios/issues/98
答案 1 :(得分:0)
@snibbe,这似乎仍在使用latest built SDK(按照manual installation instructions):
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_Localytics", referenced from:
objc-class-ref in Analytics(SEGLocalyticsIntegration.o)
我已经包含了所有必需的框架。
答案 2 :(得分:0)
把这个
libLocalyticsAMP_x64.a
而不是在你的框架中
libLocalyticsAMP.a