我试图通过cocoapods在我的应用程序中编译TestFlightSDK时似乎收到错误消息
我的Podfile我有这条线:
pod 'TestFlightSDK'
pod更新工作正常。
当我尝试编译应用程序时,我收到消息:
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_TestFlight", referenced from:
objc-class-ref in OurDealAppDelegate_iPhone.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我的应用程序仅支持架构armv7(因为如果我添加armv7s或arm64旧库无法编译 - 所以我假设它与此有关。
有没有解决这个问题?
答案 0 :(得分:2)
好的,您需要确认Cocoapods
是否在项目中包含了libTestFlight.a
库。 Cocoapods
从未为我添加过该库。
所以,请按照以下步骤操作:
libTestFlight.a
libTestFlight.a
找到 [$SRCROOT]/Pods/TestFlightsSDK