我正在尝试将大型遗留 C++ 库与 iOS 应用程序集成。我们能够在设备上构建和运行,但我们无法存档应用程序。存档失败并出现以下错误。
命令 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip 失败,退出代码为 1
我在试纸条上做了一个“-v”,得到了一系列类似的警告
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip:无法剥离的重定位条目引用的符号: /MyApp/DerivedData/SmartMusic_iPad/Build/Intermediates/ArchiveIntermediates/MyApp /IntermediateBuildFilesPath/UninstalledProducts/libMyLib-iOS.a(MyWhatever.o)
目前尚不清楚此消息是警告还是失败的原因。条带输出中没有其他问题迹象。有什么线索吗?