Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

On-demand resources uploading failure

Recently I have faced with problem of uploading on demand resources. I am using Xcode 9.0 for uploading app to AppStore and every uploading finishes successfully. But looking at iTunes Connect build details I can see, that on-demand resources are enabled, but there are 0 assets packs for this build.

There is one more interesting moment in this problem. Build number 3 of my app also was uploaded with on-demand resources and everything works great with that build. But builds number 4 and 5 doesn't have assets packs included. I reviewed changes in application - there are no changes connected with on-demand resources at all.

In Xcode->Build Settings -> Assets ->Embed Asset Packs in Product Bundle is set to No. Also, size of one asset pack is around 5MB, total size of all packs around 150MB.

Maybe, someone had this problem too? Thanks.

UPDATE I have checked Product folder inside the Xcode archive - there are all 36 assets packs, but iTunes Connect still shows 0 packs.

UPDATE 2 It seems, that it happened not once. Developers had the same problem one year ago. I think, we should report a bug to Apple.

UPDATE 3 We tried to upload app with on-demand resources using Application Loader, but result was the same.

UPDATE 4 We tried to revert code to version where everything works great with on-demand resources and upload the same binary with different version number to iTC, but result is the same.

UPDATE 5 We received an answer from Apple Developer Technical Support (DTS)

Thank you for contacting Apple Developer Technical Support (DTS). Our engineers have reviewed your request and have determined that you are experiencing a known issue for which there is no known workaround at this time.

I will post any updates here connected to this issue.

like image 669
ostap_holub Avatar asked Nov 02 '17 08:11

ostap_holub


1 Answers

In Xcode 10 it won't allow ODR Anymore unless you go back to legacy mode so this works for me Instructions

like image 89
Ahmed El-Bermawy Avatar answered Nov 14 '22 17:11

Ahmed El-Bermawy