Where does iPad keep IPA installation files?

Discussion in 'iPad Hacking' started by Commodore, Mar 28, 2013.

  1. Commodore

    Commodore
    Expand Collapse
    iPad Fan

    Joined:
    Jul 30, 2012
    Messages:
    267
    Thanks Received:
    4
    When I sync the iPad with a computer, the installation IPA files are also copied to iTunes\Mobile Applications. Out of plain curiosity -- where does iPad keep these installation files within its file-system structure in the first place? I know for sure they're not being (re)downloaded when the sync is in progress.
     
  2. f4780y

    f4780y
    Expand Collapse
    Super Moderator
    Staff Member

    Joined:
    Sep 11, 2010
    Messages:
    7,114
    Thanks Received:
    648
    The ipa files are not stored on the device as you assume. That would be a complete duplication of storage for every installed app.

    An ipa is a compressed archive file, with the app binary itself being protected with DRM tying it to you personally. In technical terms ipa is not much more than a ZIP file.

    When ipa's are installed, the go to var/mobile/Applications/ are are appropriately decompressed by IOS.

    When transferring purchases from the device to iTunes, the ipa archive is reconstituted by IOS and sent upstream...
     
    #2 f4780y, Mar 28, 2013
    Last edited: Mar 28, 2013
  3. Commodore

    Commodore
    Expand Collapse
    iPad Fan

    Joined:
    Jul 30, 2012
    Messages:
    267
    Thanks Received:
    4
    If I get it right, it's basically sort of like "portable apps" in "Windows terminology" (which have no "setup.exe" equivalent, and everything the app needs is contained within its own folder, ready to run, and the only thing that changes in there are user settings if they're stored)?
    So the IPA archive that gets (re)generated while transferring purchases from iPad to computer's iTunes is basically the same as the "installation version" (and it just leaves the additional files for user settings and user content from the apps' folders out, I assume)?
     
  4. f4780y

    f4780y
    Expand Collapse
    Super Moderator
    Staff Member

    Joined:
    Sep 11, 2010
    Messages:
    7,114
    Thanks Received:
    648
    Yes, nothing "variable" will go into the archive. That's one of the "benefits" of the sandbox process and the way IOS apps are designed to work.
     
  5. Commodore

    Commodore
    Expand Collapse
    iPad Fan

    Joined:
    Jul 30, 2012
    Messages:
    267
    Thanks Received:
    4
    Shouldn't there be two versions of the same app in case you sync both iPhone and iPad - at least in some cases? Or is it because one IPA contains both versions of an app? For instance, I only see Facebook 6.0.2.ipa in there, although I'm pretty sure that iPhone iPad versions are not the same. Or do developers *always* put both versions into one IPA?
     
  6. willerz2

    willerz2
    Expand Collapse
    iPad Addict

    Joined:
    Feb 22, 2012
    Messages:
    1,341
    Thanks Received:
    255
    IPA is universal. What differentiates the iPad from iPhone version is the identifier check built into the app and/or how it's built
     
  7. Commodore

    Commodore
    Expand Collapse
    iPad Fan

    Joined:
    Jul 30, 2012
    Messages:
    267
    Thanks Received:
    4
    And by "how it's built" you mean the parts that make an app look "HD version" or iPhone version depending on where you install and use it (except those that are iPhone only and can only be 2x-scaled when on iPad)?
     
  8. willerz2

    willerz2
    Expand Collapse
    iPad Addict

    Joined:
    Feb 22, 2012
    Messages:
    1,341
    Thanks Received:
    255
    In XCode, there's a portion of the initial project setup screen that asks what device family you want the device to specifically target, which would differentiates iPhone and iPad apps from one another, or have a "2-in-1" app.
     
  9. Commodore

    Commodore
    Expand Collapse
    iPad Fan

    Joined:
    Jul 30, 2012
    Messages:
    267
    Thanks Received:
    4
    So... on a related matter...
    if I get me an app via AppsGoneFree on my iPhone, and its label says "Universal" (as opposed to "iPhone" or "iPad")... will that "purchase" allow me to install (from my purchased / not on this iPad list) the iPad version days/weeks later on the iPad (or will it be the iPhone one, since the first purchase was done on iPhone)?
    (That is, will it contain both versions, so it doesn't matter on which iDevice you make the purchase? I remember some apps have separate versions/purchases.)
     
  10. Mickey330

    Mickey330
    Expand Collapse
    Administrator
    Staff Member

    Joined:
    Aug 30, 2010
    Messages:
    11,876
    Thanks Received:
    2,189
    Correct. If its a "universal" app - you can download it on the other device. Again, it's all about coding and the app "knows" to which device it's being installed; it doesn't matter, either, which device you used to make the purchase. It also doesn't matter time wise - you can install or re-install an app to either device at any time (again, as long as they are listed as universal or compatible with a certain device).

    Hope that clarifies.

    Marilyn

    ADDED: I take advantage of this feature a lot when I'm reading tech articles on my iPad). If I see an app that's on sale (or being offered free), I'll use my phone to get it right away before the price changes. This way, I don't have to close my article/reader to go to the AppStore on my iPad. Then, when I'm done reading the news on the iPad, I go to the AppStore and get the app I just bought to put on my iPad. This cross-downloading works great...
     
    #10 Mickey330, May 22, 2013
    Last edited: May 22, 2013

Share This Page



Search tags for this page
where are appaddict apps stored on ipad
,
where are appaddict files stored
,
where are ipa files on ipad
,

where are ipa files stored on ipad

,
where are ipa files stored on iphone
,
where does appaddict keep ipa
,
where does appaddict store ipa files on ipad
,
where does ipad store ipa files
,
where does the ipa files located in ipad
,
where installer keep its original ipa file