40 Replies
      Latest reply on May 27, 2020 11:09 AM by markshred
      Chris060 Level 1 Level 1 (0 points)

        Hi,

         

        We've been attempting to upload, to TestFlight, an application which makes use of on demand resources / ODR. 

         

        The app appears to upload correctly and be processed, and be made available for testing in TestFlight BUT our various ODR bundles appear to not be available to the app to "pull".  We get an error whenever the app attempts to fetch an ODR down.

         

        This is an all-new thing for us - we've been uploading versions of this app for quite some time but now, suddenly, this is happening.  No change to the content of the ODR bundles, no change to the App.  We've even uploaded a previous app version to rule out it being a change "our side" - it still fails to be able to pull down any of the ODR bundles.

         

        Is anyone else seeing this or does anyone know of any potential work arounds (obviously there's the option not to use ODR but that's rather extreme and would mean a HUGE download for our customers).

        • Re: TestFlight - missing On Demand Resources
          Goff.Marocchi Level 1 Level 1 (0 points)

          Hello,

           

          We have noticed that too in our last two TestFlight uploads. ODR tags appear to be missing completely (everything works when simulating it with the app connected to the debugger) and we have not changed tooling, export plist settings, or our dev environment (nothing governing how ODR tags are created and managed in the project that I know of).

           

          I have created the following bug in Feedback Assistant: FB7611040. Please feel free to dupe it/quote it in your bug report if you raise one (please do as it helps their engineers to prioritise).

           

          Kind Regards,

           

          Goffredo

          • Re: TestFlight - missing On Demand Resources
            nickxpams Level 1 Level 1 (0 points)

            The same problem

            • Re: TestFlight - missing On Demand Resources
              mj2025 Level 1 Level 1 (0 points)

              Hey. We are exeperincing exactly the same issue. All this was working fine last week 25th of Feb, but starting from yesterday it no longer works for us either.

              • Re: TestFlight - missing On Demand Resources
                lenk Level 1 Level 1 (10 points)

                Same problem here. We've found that ODR with a new build works on iOS 13.4, but not on any version prior, like iOS 13.3, etc. I've filed Feedback reports, App Store support reports and a Technical Support Incident. No responses with anything useful yet.

                  • Re: TestFlight - missing On Demand Resources
                    Chris060 Level 1 Level 1 (0 points)

                    We don't seem to be able to see any success even with iOS 13.4 beta 4.  We've tried builds from Xcode 11.3.1 and also 11.4 beta 2 & beta 3.

                     

                    Can you confirm the exact configuration you saw success with please?

                      • Re: TestFlight - missing On Demand Resources
                        lenk Level 1 Level 1 (10 points)

                        This morning I am unable to get our latest build to even install from TestFlight - it just hangs half-way through the installation every time. The Apple System Status page says there was a "performance problem" but it was "resolved" though apparently not quite completly.

                         

                        However, what I can get working is to use Xcode to install a Release build of our app onto two iPads, one of which is running iOS 13.3.1 and one of which is running iOS 13.4 Beta 4.  The Release build is configured to NOT embed the on-demand resources IN the app (EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE = false), so it is downloading them from the App Store (verified by connecting the Console app and filtering on "process:appstored"). The app successfully downloads the resources on the iPad running iOS 13.4 and fails (hangs) on the iPad running iOS 13.3.1.

                         

                        The app is being built with Xcode Version 11.4 beta 3 (11N132i) and it was uploaded to the App Store / TestFlight March 4, 2020 at 6:02 PM PST.

                         

                        I have not heard anything new from Apple Developer Technical Support or any other channel.

                    • Re: TestFlight - missing On Demand Resources
                      lenk Level 1 Level 1 (10 points)

                      Just recevied this from Developer Technical Support:

                       

                      I have seen this issue pop up for a few developers recently, so I would have normally have asked you to file a bug report. But, I see that you already have filed one, which is great. Thank you for that.

                       

                      That fact you are seeing invalid hashes, is a giveaway that this is related to a known issue on our backend and was recently confirmed by our engineering team.

                       

                      I don’t have a workaround at the moment, but I’m in close contact with the ODR engineering team and will relay any relevant information I hear surrounding this issue back to you as soon as I hear about it.

                      • Re: TestFlight - missing On Demand Resources
                        mojoguy Level 1 Level 1 (0 points)

                        Hello,

                        Thank you for that thread, it's very helpful.

                         

                        I don't know if it's related but we started to see weird crashes in our app at startup for new users since yesterday (03/03). Nothing has been changed on our side and the app was live for a week. Weirdest part is that it's only happening for users in the U.S.

                        The stack trace is also weird since it's crashing in UIKit.

                         

                        Could it be a bigger issue that just ODR ?

                        Regards,

                        • Re: TestFlight - missing On Demand Resources
                          sgonchar2 Level 1 Level 1 (0 points)

                          Thank you for thread! We experience the same issue with ODR. It stops working after the upload to TestFlight.

                          • Re: TestFlight - missing On Demand Resources
                            FlopBut Level 1 Level 1 (0 points)

                            Same thing since 28 Feb

                             

                            Error {
                            errorCode = 4994;
                            errorDescription = "The requested application data doesn\U2019t exist.";
                            }

                             

                            Only for builds uploaded to Test Flight

                            • Re: TestFlight - missing On Demand Resources
                              slid3r3 Level 1 Level 1 (0 points)

                              Hello! Same thing here.
                              Does anyone know if this bug reproduces itself after you upload the build to the production instead of Testflight?

                              • Re: TestFlight - missing On Demand Resources
                                sgonchar2 Level 1 Level 1 (0 points)

                                Have it started to work for anyone? Please share any news and updates from Apple guys on this issue

                                • Re: TestFlight - missing On Demand Resources
                                  anden Level 1 Level 1 (0 points)

                                  I am experiencing the same issue with errorCode: 4994 in my latest TestFlight builds.
                                  Please do post any updates here.

                                  • Re: TestFlight - missing On Demand Resources
                                    Kathy A Apple Staff Apple Staff (60 points)

                                    Thanks to all who have contributed info.

                                     

                                    It's generally helpful to include your DTS or Feedback Assistant issue number with your post, so we can chase down from our side also.

                                    • Re: TestFlight - missing On Demand Resources
                                      James M Apple Staff Apple Staff (20 points)

                                      Hey folks,

                                      Thank you all for jumping in on this. We believe this issue has been addressed. Please try uploading a TestFlight build again and let us know if you are continuing to experience problems.

                                       

                                      Thanks,

                                      James

                                        • Re: TestFlight - missing On Demand Resources
                                          lenk Level 1 Level 1 (10 points)

                                          We've now rebuilt and uploaded a new build to the App Store and installed it via TestFlight on a few devices and the on-demand resources seem to be working again. Thank you.

                                          • Re: TestFlight - missing On Demand Resources
                                            Goff.Marocchi Level 1 Level 1 (0 points)

                                            Thank you for your help, server side issues on such a widely used system must not be that easy or fun :/.

                                             

                                            Bugs raised:

                                            * Feedback Assistant: FB7611040

                                            * DTS ticket: 731018346

                                             

                                            I have rebuilt and resubmitted the ODR powered app in question, it processed on TestFlight even faster than it used to be too , and I can confirm the issue seems solved for me. The ODR tags were found and worked as expected. Thanks  !

                                              • Re: TestFlight - missing On Demand Resources
                                                James M Apple Staff Apple Staff (20 points)

                                                Fantastic!! Thanks all for posting your updates.

                                                  • Re: TestFlight - missing On Demand Resources
                                                    Balaji Level 1 Level 1 (0 points)

                                                    On attempting to pull ODR content, the iTunes server responded as "The requested application data doesn't exist." with error code 4994, for apple reviewer, so the app is rejected. But I am able to download from TestFlight in my device, it works perfectly.

                                                     

                                                    Software: xcode 11.3.1

                                                    Tested on device iPad Pro iOS 13.3.1 in wifi

                                                     

                                                    Feedback tracker: FB7640363

                                                    • Re: TestFlight - missing On Demand Resources
                                                      nickxpams Level 1 Level 1 (0 points)

                                                      a few weeks ago we encountered a problem with downloading on-demand resources on the test flight.

                                                      We've noticed that this problem is discussed at  this forum, and users replied that there was a problem with tags on testflight server.

                                                       

                                                       

                                                      when this issue was resolved, we got a request to resubmit a new version, which we did. After that, an error with on-demand content disappeared / was solve on the version which was in Testflight.

                                                       

                                                       

                                                      Loading of On Demand Resources was tested on different devices by many testers through the testflight - the application works perfectly, but the reviewer still gets an error.

                                                       

                                                       

                                                      But apparently this error remained in the version which is being reviewed by your team.

                                                       

                                                       

                                                      Pls check the matter of errors related to tags and on your production server?

                                                       

                                                       

                                                      We introduced on-demand content initially in accordance with Apple's recommendations, and hope that the previous issues with it were solved, and that the update will be published as soon as possible - the customers are really really waiting for it..

                                                       

                                                       

                                                      many thanks

                                                  • Re: TestFlight - missing On Demand Resources
                                                    vlad443 Level 1 Level 1 (0 points)

                                                    We're experiencing the same issue (feedback ID: FB7698419 TSI Case ID: 734928412 ).

                                                    The app works as expected when installed from TestFlight but fails downloading the ODR tags when in review (NSBundleOnDemandResourceInvalidTagError).

                                                    We've also tried using different bundle id and diferent Xcode versions (11.1 & 11.4.1) but the result is the same.

                                                      • Re: TestFlight - missing On Demand Resources
                                                        markshred Level 1 Level 1 (0 points)

                                                        I received a response on May 21 from a technical support representative who was able to reproduce the error the App Reviewers are seeing and produce a console log.  The error was reproduced on a cellular connection so I believe that rules out issues involving reviewers connecting via VPN.  He said he has passed the information on to the ODR engineers who hopefully can use the logs to find the issue on their backend.  I followed up today and sent him a link to this thread and enumerated all the Feedback Assistant reports and developer TSI cases that everyone has filed with the hope that the issue can be escalated.  I'll report back if I hear anything more from them.

                                                    • Re: TestFlight - missing On Demand Resources
                                                      clucas91 Level 1 Level 1 (0 points)

                                                      We were also experiencing this issue. We processed a build and the games were launching using ODR and then suddenly stopped. We have also been seeing build take around 8-12 hours to process and then fail with no information as to why. We have now started to process builds with less AOD resources and saw this working later this afternoon.

                                                      • Re: TestFlight - missing On Demand Resources
                                                        abhishek.verma Level 1 Level 1 (0 points)

                                                        (in response to Chris060)

                                                        Released application using ODR solution on Test flight and on Main submission (App store submission).

                                                        When tested build from Test flight on our iPhones it worked well, and resource files are getting downloaded from iTunes server successfully.

                                                        When it comes to apple reviewer for both Test flight build and Main Submission, they are facing problem in downloading resources.

                                                        Pop up message appears is "The requested application data doesn't exist".

                                                         

                                                        Our observation:

                                                        1. When using ODR, application download meta data information (which contains plist to refer tagged resource in App to server resource hosted on iTunes Server) from iTunes server using internal API calls.
                                                        2. These download of meta data is getting failed on reviewer iPhone because either iPhone is connected to VPN or using private network.
                                                        3. Although we re-submitted application by blocking user to use application, when connected to VPN.
                                                        4. After rejection and convincing the reviewer to disable the VPN while testing, again when he/she try to download the resource file same error message appears.
                                                        5. After reading lots of blog/threads related to similar issue, a very old thread appears ((https://forums.developer.apple.com/thread/37962),

                                                        which state similar problem. Just wondering what rich kubota - rkubota@apple.com has stated to restart the mobile will work for  apple reviewer or he misinterpreted IAP with ODR problem. Or both problem are linked as both are pulling meta data information from iTunes.

                                                          6. Right now we are clue less and does not have any alternative other than ODR, as our resources are JS/HTML5 games and we have to follow Guideline 4.7 - Design - HTML5 Games, Bots, etc.

                                                        (As we have already tried AWS solution with checksum and our app got rejected).

                                                          7. Already raised ticket regarding the same and waiting for the reply.

                                                          8. According to me it seems more like network or firewall issue. Can any one help us to understand the environment set up used by apple reviewer, also help us in understaning any linkage of IAP with ODR? Or can we ask reviewer to retest the application after restart of the device.

                                                        • Re: TestFlight - missing On Demand Resources
                                                          movch Level 1 Level 1 (0 points)

                                                          Same thing here. My app with ODR works perfectly in TestFlight (tested on several devices in several networks), but App Review team still has the error with missing data when they try to test functionality with ODR. I've asked the guys from review team to turn off VPN, or reboot devices, but I'm receiving in response only default replies that they don't provide any technical details and I should fix it on my side... But how if it works everywhere, except the review team devices???