Xcode 4.3 的“估计应用商店大小"与 .ipa 文件有很大不同,为什么? [英] Xcode 4.3's 'estimated app store size' is considerably different than .ipa file, why?

查看:21
本文介绍了Xcode 4.3 的“估计应用商店大小"与 .ipa 文件有很大不同,为什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

直到上周我一直在使用 Xcode 4.2 并且我使用我的 .ipa 文件的大小来估计我的应用程序在应用程序商店中的大小(我将它保持在 20MB 以下)并且它非常一致.我 2 天前升级到 Xcode 4.3,它有一个新功能,可以在您归档"您的应用程序后向您指示估计的 App Store 大小",它给我的估计大小完全是我的 .ipa 文件大小的 2 倍我根据 Xcode 4.3,我一直在用来猜测我的应用商店大小和超过 20MB!

I had been using Xcode 4.2 up till last week and I was using the size of my .ipa file to estimate the size of my app in the app store (I've kept it just under 20MB) and its been pretty consistent. I upgraded to Xcode 4.3 2 days ago and it has a new feature to indicate to you the 'Estimated App Store Size' after you 'Archive' your app, the estimated size its giving me is fully 2x the size of my .ipa file I've been using to guess my app store size and its WAY over 20MB according to Xcode 4.3!

那么,哪个是正确的?:O

So, which one is right? :O

今天刚刚发布了应用程序,看起来 ipa 是我的情况下最接近的猜测,应用程序在商店中显示为 17.6MB,而 .ipa 是(现在)16.7MB,3.3MB 二进制文件.

Just released the app today and it looks like the ipa was the closest guess in my case the app shows in the store as 17.6MB and the .ipa is (now) 16.7MB, 3.3MB binary.

推荐答案

对于大多数 iOS 应用程序,您或多或少可以忽略 XCode 的估计"(或粗略地将其减半).IPA 是应用程序的大小.估计大小的翻倍似乎与 4.3.2 中的架构构建大修有关.由于您可能正在为armv6 armv7"构建您的应用程序,因此出于某种原因将其加倍.我最近上传了我以前的 15MB 应用程序,但做了一些小改动.XCode 显示存档的估计大小为 30MB.果然,新应用在应用商店里的实际大小为 15.2MB.

You can more or less ignore XCode's "estimate" (or roughly cut it in half) for most iOS apps. The IPA is the size of the app. This doubling in estimated size seems to be linked to the architecture build overhaul in 4.3.2. Since you are likely building your app for "armv6 armv7", it's doubling it for some reason. I recently uploaded my previously 15MB app with minor changes. XCode shows 30MB estimated size for the archive. Sure enough, the new app is actually 15.2MB on the app store.

如果您想要更好的估算,只需在管理器中右键单击存档并选择在 Finder 中显示.在那里,您可以再次右键单击并深入查看存档以查看实际的包和内容.该应用程序是唯一具有实质性大小的东西,并且是对 App Store 大小的一个很好的估计.

If you want a better estimate, simply right-click the archive in the Organizer and select Show in Finder. There, you can again right-click and drill down into the archive to see the actual package and contents. The app is the only thing of substantive size and is a very good estimation of the App Store size.

这篇关于Xcode 4.3 的“估计应用商店大小"与 .ipa 文件有很大不同,为什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆