Download Container Error (Xcode 8 from iOS )

Hi,

I think you may be right. With a debug build archived using development I could download the container on an iOS 10 phone. However, if I build the same code as release and archived for enterprise use, I could not download the container on the same phone.

+1 Same problem here. App was built with enterprise certificate. Tested with devices on iOS 10.0.2 and iOS 10.1.1, along with Xcode version 8 and 8.1. Always get the same error: "Failed to download application container". Works with devices that are still on iOS 9.

Any ideas would be welcome.

I still have this Problem in the recent version of XCode from the Appstore. Is there any advice on how to fix this? I tried

- reinstalling XCode

- Rebooting the device,

- Rebooting the Mac.


I tried everything with different Versions of iOS:

- iOS-Versions 10.1, 10.1.1, 10.0

- I am using Mac OS 10.11.6


Did someone open a ticket at Apple?

I have the exact same problem in Xcode 8.1 (8B62). I updated Xcode 8 to Xcode 8.1 directly from the app store. I've tried with all iOS 10 versions and haven't been able to find a workaround. I can only download the application container with an iOS 9 device, but then of course I cannot upload the container to an iOS 10 device. This is definitely worthy of a ticket at Apple.


I've tried:


- Updating Xcode 8 to Xcode 8.1 directly from the App Store.

- Rebooting the device and the Mac

- Downloading/uploading application container using Xcode 7.3.1

- Download the container from an iOS 9 device, then trying to upload it to an iOS 10 device

- All iOS 10 versions

- I'm on a Mac OS 10.11.6

Further testing indicates this could be related to the fact that only containers from debug builds are downloadable. Versions built as Release/Distribution builds don't seem to allow the application container to download.

I can actually download the app container from my iPhone 6Plus which is iOS 10.1.1 (same as the iPod).

I have no idea why trying to do it on the iPod fails though.


Observations:

  • Same iOS version
  • Different hardware
  • Same trust store version


The differences:

  • The iPod is supervised. (removing supervision did not allow me to download the app container)
  • XCode reports several older provisioning profiles on the iPhone. I cannot get all of these to install onto the iPod as some have expired/ or are no longer available to me.
  • I have signed in with my iCloud account on the iPhone ( same account is used for iOS development)

I think Apple has tightened its security with enterprise releases, not allowing to download document directory with iOS 10.0 and above devices.. Using below steps we can get document directory from enterprise application also this is valid to App which is downloaded from Apple App Store.


  • Create a simple project (just new project from xcode) and use same bundle Identifier, Increased version number. Need to use same singer certs.
  • Run in the same device.
  • Now can get the document directory from our old approach. Note: if use this steps original app will be useless and need to reinstall the original application.

I have the same issue on an iPhone 5S with iOS 9.2.1 on Xcode 7.2.1. Rebooting the phone and the computer solves the problem temporarily, but after about 5 downloads of the application container I have to repeat the process.

Encountered same error : "Failed to download application container" on ios 10 and above.

I was trying to view some data that were saved on my application's documents folder.


To fix this issue, I added UIFileSharingEnabled on info.plist of my application and set its value to YES.


I connected my device on mac and used iTunes to download and view the data I needed.

Please see this post: http://pinkstone.co.uk/how-to-enable-itunes-file-sharing-in-your-ios-app/


Hope this process will helps.

Download Container Error (Xcode 8 from iOS )
 
 
Q