iOS how to export .ipa without embedding On Demand Resources for App Store Deployment

I'm trying to take advantage of ODR in my iOS universal app. The app is not live yet, but I'm currently trying to reduce its size for TestFlight external testing.


When I use the organizer to export my app for "Ad Hoc Deployment", I get the option between "Embed resources in application" and "Host resources on server", picking the latter gets me a universal .ipa archive of 119 MB, and an asset pack of 19 MB.


If I export for "App Store Deployment" (which is the appropriate option for TestFlight external testing), the ui suggesting to "Host resources on server" doesn't show up and I end up with a single fat ipa archive of 153 MB, which results in a size-limit warning under iTunes Connect after I upload the archive through Application Loader.


The Build Details page under iTunes Connect shows "Yes | 1 Asset Packs" below On Demand Resources, yet the compressed file size remains the same (153 MB), which means my asset pack is not being split away from the app archive.


I have "Enable On Demand Resources" set to Yes, and "Embed Asset Packs in Product Bundle" set to No under XCode Build Settings/Assets..


What am I missing?

iOS how to export .ipa without embedding On Demand Resources for App Store Deployment
 
 
Q