Xcode app thinning, how to reduce list of IPAs

1.5k views Asked by At

I try to generate IPAs for Ad Hoc distribution. I always select "All compatible device variants" for app thinning.

So, Xcode generates a lot of IPAs : Several versions of iPhone and iPad.

I would like to reduce the list of IPAs generated, for example by removing the iPad's IPA. Xcode allow only to choose "All compatible device variants" or only one device.

Is it possible to select only the devices we want to choose ?

2

There are 2 answers

2
vipul thummar On

Don't select any options("All compatible device variants" or any others), keep it None as default and go to the next page to generate .ipa file. Now its generate one IPA file only and it's compatible with all device. Check here

enter image description here

1
ELanz.Embrace On

When you publish your thinned app, an IPA is created for every configuration that your project supports. So if you've marked iPads and iPhones all the way back to iOS 8 and are shipping both armv7 and arm64 slices, you will end up with tons of IPAs at publish time. Limiting the number of IPAs involves using the Xcode project build settings to limit the configurations that your project builds

In Xcode, you'll want to go to

  • Targets > General > Deployment Info
  • Projects > Build Settings > Architectures > Supported Platforms