Background: I am developing an app within my company for internal usage that stores some data files in the Documents folder of the document container for the app. I have been designated a developer, and once I finished creating the app, I gave it to my team leader, who then created an .ipa file for the app via the enterprise distrubution method.
Problem: When I install the app using Xcode, run the app, and use some iPhone file explorer (iExplorer in my case), I can see my documents stored properly AppName -> Documents -> 12_6_16_data.dat etc. When I install the app using the .ipa file, it looks like the document container. The Documents, Library, and tmp folders don't show up under the app, and for some reason the date modified for the app shows Dec 31st, 1969. I have used the iTunes method as well as the finder method to install the app from the .IPA. All other functionality of the app, seems to work however.
Please advise, how this issue could be resolved. Thanks.
1. What is the suggested way to view the document container? I have a hunch that this could issue could be becasue iExplorer isn't able to recognize apps installed via the .ipa method.
First up, I can’t really speak to iExplorer; there’s no supported way to do what it’s doing, so all bets are off.
If you want a supported way to look at your app’s container, check out the Devices window in Xcode (this post has details).
However, this only works if you app is signed to allow it. It definitely works for developer-signed apps and it definitely doesn’t work for apps downloaded from the App Store. The other cases I’m less familiar with, but my understanding is that iOS 10 prevents it working for enterprise-signed apps.
Share and Enjoy
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"