2017-01-26 29 views
23

我想上傳的dSYM文件中使用此命令火力點:火力地堡錯誤:symbolFileMappings:UPSERT:上傳的文件是不是有效的Breakpad符號文件

./Pods/FirebaseCrash/batch-upload -i ./Info.plist -p ./GoogleService-Info.plist ./service-accounts/mtb.json 78*****C-5**4-3***-***C-00*********7 

但每次我運行這段時間,我得到回下列錯誤

./Pods/FirebaseCrash/upload-sym-util.bash:377: error: symbolFileMappings:upsert: The uploaded file is not a valid Breakpad Symbol file. 
./Pods/FirebaseCrash/upload-sym-util.bash:378: note: symbolFileMappings:upsert: The metadata for the symbol file failed to update. 

我已經試過此鏈接https://groups.google.com/forum/#!msg/firebase-talk/4829Sp1_uKY/IEC_T4-VBAAJ,但還沒有任何運氣,因爲它錯誤出

usage: batch-upload [-hv] [-p google-service] [-i info] service-account-file {mach-o file|uuid} 

有人可以幫我解決這個問題嗎?

感謝

+1

同樣在這裏。找不到解決方案 – alexdd55

+0

您是否擁有最新的Pods版本? – Ludovic

+0

@盧多維克是的,我有 –

回答

0

顯然這個錯誤涉及具有與檔案問題批次上傳腳本,所以你需要手動修補它。

嘗試以下操作:

  • 變化extract_symbols_and_upload "$EXE" "$ARCH" "$BUNDLE"extract_symbols_and_upload "$EXE" "$ARCH" "$BUNDLE/$BNDL_PATH"

The dump_syms utility understands dSYM bundles but not archives, curiously enough. This fix will go out with the next release.

Source