问题描述
我是新人&尝试在App Store上安装我的第一个应用程序。
我已经在 UNITY(5.6)中创建了这个应用程序。
我面临的问题是由 Xcode(8.3)生成的存档大小,我必须在App Store上传,超过100 MB,而Play商店(.apk文件)上的相同APP只有31 MB。详情请见下方:
Android 其〜 31 MB (大约)。
和iOS一样:存档Unity-iphone文件名和文件结构:
- Unity-iphone 29-07-17,10.25 PM。 xcarchive : 630.50 MB
开箱后IT:
- BCSymbolMaps:
--- 778F6F4C-6E2D-3192-BAY9-FEBDFA98EF0E.bcsymbolmap:12.8 MB
--- B3746668-8893-3427-A5AB-9741BE4B62B3.bcsymbolmap:12.9 MB
- Unity-iphone.app.dSYM:138 MB
- Unity-iphone:467 MB
- info.plist
当我搜索互联网时,所有人都说.IPA文件可以在App Store上估算AppSize。所以我导出.IPA文件(3个变种)
I am new & try to have my First application on App Store.
I have made this app in UNITY (5.6).
The issue I'm Facing is the size of Archive generated by Xcode (8.3), which I have to upload on App Store and is over 100 MB while the same APP on Play store (.apk file) is only 31 MB. See the details Below :
For Android its ~ 31 MB (Approx).
And for iOS its like : Archive Unity-iphone FILE NAME and File Structure:
- Unity-iphone 29-07-17, 10.25 PM.xcarchive : 630.50 MB
After Unpacking IT :
-- BCSymbolMaps :
--- 778F6F4C-6E2D-3192-BAY9-FEBDFA98EF0E.bcsymbolmap : 12.8 MB
--- B3746668-8893-3427-A5AB-9741BE4B62B3.bcsymbolmap : 12.9 MB
-- Unity-iphone.app.dSYM : 138 MB
-- Unity-iphone : 467 MB
-- info.plist
As I searched internet, All are saying to make .IPA File to have estimate of AppSize on App Store. So I exported .IPA File (3 Variants)
- Unity-iphone.ipa(使用Bitcode和dSYM启用): 163 MB
- Unity-iphone.ipa((禁用Bitcode和dSYM启用): 55.2 MB
- Unity-iphone.ipa(禁用Bitcode和dSYM): 24.4 MB
请告诉我哪个一个上传到App Store。
AND if(禁用bitcode和dSYM)我必须在构建设置中禁用它(启用Bitcode为NO和调试信息。格式化版本仅限于DWARF )并再次编译项目并重新存档 OR 在上传存档到App Store时,我取消选中这两个选项。
请帮助我我是第一次这样做,因为文件大小存在巨大差异,这很重要。
- Unity-iphone.ipa (With Bitcode And dSYM Enable) : 163 MB
- Unity-iphone.ipa ((With Bitcode Disable And dSYM Enable) : 55.2 MB
- Unity-iphone.ipa (With Bitcode And dSYM Disable) : 24.4 MB
So please tell me which one to upload to App Store.
AND if (with bitcode and dSYM disable) I have to disable it in build settings ( Enable Bitcode to NO and Debug info. format release to DWARF only ) and compile the project again and make archive again OR Just while uploading archive toApp Store, I uncheck both options.
Please help as I am doing it for the first time and it matters as there is huge differences in File sizes.
推荐答案
越大越适合你的情况。
- DSYMs文件会让你如果你的应用程序在将来崩溃有更多的信息
- 不在客户的最终.ipa中
- 不在客户的最终.ipa中
上传它,您将看到,在Testflight部分(iTUnesConnect - >您的应用程序 - >活动 - >所有构建(左侧面板) - >您的构建 - > AppStore大小链接) ,每个iPhone / iPad的应用程序的实际大小。例如我上传了一个150Mb大小的捆绑包,最后,iPhone 7的.ipa大小只有40Mb。
Upload it, and you will see, in Testflight section (iTUnesConnect -> Your App -> Activity -> All Builds (left panel) -> Your build -> AppStore Size link), the real size of your app for each iPhone/iPad. for example i uploaded a 150Mb size bundle, and finally, the .ipa size for iPhone 7 is only 40Mb.
这篇关于启用Bitcode的Apple APP商店中的移动应用程序大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!