我正試圖將一個大的傳統C++庫與iOS應用程序集成。我們可以在設備上構建和運行,但我們無法歸檔該應用。歸檔失敗,出現以下錯誤。Xcode存檔調試條錯誤
命令/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip失敗,退出代碼1
我就帶做了「-v」,並獲得了一系列通過重定位項引用的那些不能在剝離符號::/MyApp的/ DerivedData類似於
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip警告/SmartMusic_iPad/Build/Intermediates/ArchiveIntermediates/MyApp/IntermediateBuildFilesPath/UninstalledProducts/libMyLib-iOS.a(MyWhatever.o)
此消息是警告還是故障原因尚不清楚。在帶材輸出中沒有其他的問題跡象。任何線索?
注意:您可以通過Build Settings中的「Additional Strip Flags」選項明確設置strip的命令行參數。不幸的是,帶「-r」的條仍然失敗。 – HatAndBeard 2012-07-31 17:59:02