我正在尝试在我的应用程序中手动添加分段 iOS 框架。当我构建项目时,它以以下错误结束,“架构 i386 的未定义符号”和日志。
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_Amplitude", referenced from:
objc-class-ref in Analytics(SEGAmplitudeIntegration.o)
"_OBJC_CLASS_$_AppsFlyerTracker", referenced from:
objc-class-ref in Analytics(SEGAppsFlyerIntegration.o)
"_OBJC_CLASS_$_Bugsnag", referenced from:
objc-class-ref in Analytics(SEGBugsnagIntegration.o)
"_OBJC_CLASS_$_Countly", referenced from:
objc-class-ref in Analytics(SEGCountlyIntegration.o)
"_OBJC_CLASS_$_Crittercism", referenced from:
objc-class-ref in Analytics(SEGCrittercismIntegration.o)
"_OBJC_CLASS_$_CrittercismConfig", referenced from:
objc-class-ref in Analytics(SEGCrittercismIntegration.o)
"_OBJC_CLASS_$_Flurry", referenced from:
objc-class-ref in Analytics(SEGFlurryIntegration.o)
"_OBJC_CLASS_$_GAI", referenced from:
objc-class-ref in Analytics(SEGGoogleAnalyticsIntegration.o)
"_OBJC_CLASS_$_GAIDictionaryBuilder", referenced from:
objc-class-ref in Analytics(SEGGoogleAnalyticsIntegration.o)
"_OBJC_CLASS_$_KahunaAnalytics", referenced from:
objc-class-ref in Analytics(SEGKahunaIntegration.o)
"_OBJC_CLASS_$_Localytics", referenced from:
objc-class-ref in Analytics(SEGLocalyticsIntegration.o)
"_OBJC_CLASS_$_Mixpanel", referenced from:
objc-class-ref in Analytics(SEGMixpanelIntegration.o)
"_OBJC_CLASS_$_QuantcastMeasurement", referenced from:
objc-class-ref in Analytics(SEGQuantcastIntegration.o)
"_OBJC_CLASS_$_TRVSDictionaryWithCaseInsensitivity", referenced from:
objc-class-ref in Analytics(SEGAnalyticsIntegration.o)
"_OBJC_CLASS_$_TSConfig", referenced from:
objc-class-ref in Analytics(SEGTapstreamIntegration.o)
"_OBJC_CLASS_$_TSEvent", referenced from:
objc-class-ref in Analytics(SEGTapstreamIntegration.o)
"_OBJC_CLASS_$_TSTapstream", referenced from:
objc-class-ref in Analytics(SEGTapstreamIntegration.o)
"_kGAIScreenName", referenced from:
-[SEGGoogleAnalyticsIntegration screen:properties:options:] in Analytics(SEGGoogleAnalyticsIntegration.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
如何解决此错误,我严格遵循此处给出的所有说明。但是只是无法解决它。
请帮忙 !