How to check App slicing feature in iOS without up

2019-07-22 14:29发布

I am working on App slicing feature and set all images in asset, i need to check that feature without uploading on Appstore.

Is that possible? is there any way by which we can get .IPA file and check it's size or resources.

1条回答
姐就是有狂的资本
2楼-- · 2019-07-22 15:03

If you want to check the size of application '.ipa' file.

Just follow the following steps.

  1. Open the Archives organizer (choose Organizer from the Window menu), and select the archive.
  2. Click the Export button, select an export option, and click Next. To distribute your app to users with designated devices, select “Save for Ad Hoc Deployment.” The app will be code signed with the distribution certificate.

    To distribute your app for internal testing, select “Save for Development Deployment.” The app will be code signed with your development certificate.

  3. In the dialog that appears, choose a team from the pop-up menu and click Choose. If necessary, Xcode creates the needed signing identity and provisioning profile for you.

  4. In the Device Support dialog, choose whether to export the universal app or a variant for a specific device, and click Next.

    • If you want to run the app on any supported device, select “Export one app for all compatible devices.”
    • If you want to test all device variances, select “Export for specific devices” and choose “All compatible device variants” from the pop-up menu.
    • If you want to test a specific device variant, select “Export a thinned app for a specific device” and choose the device family from the pop-up menu.
  5. In the dialog that appears, review the app, its entitlements, and the provisioning profile. The ad hoc provisioning profile should begin with the text XC Ad Hoc:. The team provisioning profile should begin with the text [platform] Team Provisioning Profile: [App ID]

6.Review the build options, and click Next.

7.If you request a manifest file, enter details about your web server in the “Distribution manifest information” dialog that appears. Enter the following information:

8.Enter a filename and location for the file, and click Export.

enter image description here

Refer apple document here.

查看更多
登录 后发表回答