Just a Computer Graphics Studio & My Life

[iOS] 上傳App到App Store問題

最近幫公司準備送審App,發現一個之前沒遇到的問題:Too many symbol files

DSYM00002

以下是信件內容:

Dear developer,

We have discovered one or more issues with your recent delivery for “快樂健康“. To process your delivery, the following issues must be corrected:

Too many symbol files – These symbols have no corresponding slice in any binary [14E42F6A-6621-3606-AC82-4D80F9B8A619.symbols, 2BAD142B-5BFC-38BC-9C5B-7D52EA38AF7A.symbols, 473A1C10-3895-36A6-B6B3-B7E372944994.symbols, 49F9A33E-E8B6-3721-970A-3FE8194778A2.symbols, 4A883445-23F2-3A17-8A15-75512532A0E4.symbols, 4DD1B563-C4B8-369B-86E3-38B6525A1A59.symbols, 930B83B8-DECB-384B-A565-71CFEACD8CEB.symbols, ACEE5ED9-3DA8-35DB-BCB4-4F1581031FD0.symbols, C5E3E577-8FE7-3D18-BF63-5B903D99A96D.symbols, D0CC44EF-B43F-36BC-A0AC-18D951EA1103.symbols, E63CA8C9-3486-34D6-A93E-B984B247895B.symbols, EC0E6A08-CA54-30FE-BA38-E0B17795E481.symbols, F946186C-97CA-33EB-93E3-CBEA7E622844.symbols]

Once the required corrections have been made, you can then redeliver the corrected binary.

Regards,

The App Store team

選擇最簡當的解法,就是更改專案設定:

DSYM00003

發現debug information format中的Debug和Release不一樣,過去送審都沒遇到這個問題,難道是最新Xcode 9預設為如此?

DSYM00001

要是沒有改為DWARF,打包檔中的dSYMs,就會出現App和Framework的dSYM檔,現在上傳App到App Store是會馬上被退件喔!

Jason-teki-MacBook-Pro:dSYMs happyboy$ dwarfdump -u AFNetworking.framework.dSYM/

UUID: 2BAD142B-5BFC-38BC-9C5B-7D52EA38AF7A (armv7) AFNetworking.framework.dSYM/Contents/Resources/DWARF/AFNetworking

UUID: 72FEC8B9-3120-3F32-BF88-291DAD9E4544 (arm64) AFNetworking.framework.dSYM/Contents/Resources/DWARF/AFNetworking

Jason-teki-MacBook-Pro:dSYMs happyboy$ dwarfdump -u TestDeviceSDK.app.dSYM

UUID: 6EBA24AE-A4DD-3F42-9B32-202F3FC2B7B1 (arm64) TestDeviceSDK.app.dSYM/Contents/Resources/DWARF/TestDeviceSDK

信件中描述到的UUID,真的被我找到啦~

之後有空要了解一下DSYM檔的作用為何。

參考:“Too many symbol files” after successfully submitting my apps

廣告

發表留言

在下方填入你的資料或按右方圖示以社群網站登入:

WordPress.com Logo

您的留言將使用 WordPress.com 帳號。 登出 / 變更 )

Twitter picture

您的留言將使用 Twitter 帳號。 登出 / 變更 )

Facebook照片

您的留言將使用 Facebook 帳號。 登出 / 變更 )

Google+ photo

您的留言將使用 Google+ 帳號。 登出 / 變更 )

連結到 %s

標籤雲

%d 位部落客按了讚: