最新消息: USBMI致力于为网友们分享Windows、安卓、IOS等主流手机系统相关的资讯以及评测、同时提供相关教程、应用、软件下载等服务。

iOS9AppThinning(应用瘦身)功能介绍

IT圈 admin 34浏览 0评论

2024年4月24日发(作者:少盼晴)

Bitcode

Bitcode is an intermediate representation of a compiled program. Apps you upload to iTunes Connect that contain bitcode will be compiled

and linked on the App Store. Including bitcode will allow Apple to re-optimize your in the future without the need to submit a new version of

your app to the App Store.

For iOS apps, bitcode is the default, but optional. For watchOS and tvOS apps, bitcode is required. If you provide bitcode, all apps and

frameworks in the app bundle (all targets in the project) need to include bitcode.

Xcode hides your app’s symbols by default, so they are not readable by Apple. When you , you have the option of including symbols.

Including symbols allows Apple to when you or . If you’d like to collect and crash reports yourself, you don’t have to upload symbols.

Instead, you can after you distribute your app.

On-Demand Resources (iOS, tvOS)

On-demand resources are resources—such as images and sounds—that you can tag with keywords and request in groups, by tag. The

App Store hosts the resources on Apple servers and manages the downloads for you. The App Store also slices on-demand resources,

further optimizing variants of the app.

On-demand resources provide a better user experience:

App sizes are smaller so apps download faster, improving the first-time launch experience.

On-demand resources download in the background, as needed, while the user explores your app.

The operating system purges on-demand resources when they are no longer needed and disk space is low.

For example, a master-detail app may divide resources into levels and request the next level of resources only when the app anticipates

that the user will move to that level. Similarly, the app can request In-App Purchase resources only when the user makes the corresponding

in-app purchase.

Note: If you (outside of the App Store), you must host the on-demand resources yourself.

To set up on-demand resources in your app, read and .

Was this help page useful?

2024年4月24日发(作者:少盼晴)

Bitcode

Bitcode is an intermediate representation of a compiled program. Apps you upload to iTunes Connect that contain bitcode will be compiled

and linked on the App Store. Including bitcode will allow Apple to re-optimize your in the future without the need to submit a new version of

your app to the App Store.

For iOS apps, bitcode is the default, but optional. For watchOS and tvOS apps, bitcode is required. If you provide bitcode, all apps and

frameworks in the app bundle (all targets in the project) need to include bitcode.

Xcode hides your app’s symbols by default, so they are not readable by Apple. When you , you have the option of including symbols.

Including symbols allows Apple to when you or . If you’d like to collect and crash reports yourself, you don’t have to upload symbols.

Instead, you can after you distribute your app.

On-Demand Resources (iOS, tvOS)

On-demand resources are resources—such as images and sounds—that you can tag with keywords and request in groups, by tag. The

App Store hosts the resources on Apple servers and manages the downloads for you. The App Store also slices on-demand resources,

further optimizing variants of the app.

On-demand resources provide a better user experience:

App sizes are smaller so apps download faster, improving the first-time launch experience.

On-demand resources download in the background, as needed, while the user explores your app.

The operating system purges on-demand resources when they are no longer needed and disk space is low.

For example, a master-detail app may divide resources into levels and request the next level of resources only when the app anticipates

that the user will move to that level. Similarly, the app can request In-App Purchase resources only when the user makes the corresponding

in-app purchase.

Note: If you (outside of the App Store), you must host the on-demand resources yourself.

To set up on-demand resources in your app, read and .

Was this help page useful?

发布评论

评论列表 (0)

  1. 暂无评论