Skip to content

Add --app_deltas option that can be used to specify a directory to store data to enable incremental installs. #434

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jan 7, 2020

Conversation

ivanhernandez13
Copy link

@ivanhernandez13 ivanhernandez13 commented Jan 3, 2020

This change will leave the standard install as the default option and have no affect on standard installs. Incremental installs needs to be enabled by passing the "--app_deltas" (-A) flag as well as a path to a directory where the mobile device framework will store what it needs to determine what needs has actually changed on a subsequent install.

@ivanhernandez13 ivanhernandez13 marked this pull request as ready for review January 3, 2020 20:23
…the path to the status only occurs during incremental installs
@gabebear
Copy link

gabebear commented Jan 3, 2020

What versions of Xcode has this been tested on? Since this is a fully optional new feature supporting Xcode 11 only it fine, but it would be great to document here what versions this is known to work on.

@gabebear
Copy link

gabebear commented Jan 3, 2020

This PR will resolve #379

@ivanhernandez13
Copy link
Author

What versions of Xcode has this been tested on? Since this is a fully optional new feature supporting Xcode 11 only it fine, but it would be great to document here what versions this is known to work on.

This was tested on Xcode 11.1 and Xcode 11.2.1. but should work with any Xcode version that includes the AMDeviceSecureInstallApplicationBundle() function which there are references to back to October 2014 (Xcode 6) based on a Google search. The internals may have changed but presumably if this function was used in previous Xcode versions to deploy, then it will probably work here as well.

@shazron shazron self-requested a review January 7, 2020 01:48
@gabebear gabebear merged commit 3a3e298 into ios-control:master Jan 7, 2020
geekonion pushed a commit to geekonion/ios-deploy that referenced this pull request Jun 29, 2023
…ore data to enable incremental installs. (ios-control#434)

* Add --app_deltas option that can be used to specify a directory to store data to enable incremental installs.

* Fixed the location of the getopts string and ensured adding appening the path to the status only occurs during incremental installs

* Updated to use CF over NS types.

* Resolve comments.

* Apply realpath to the app delta path.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants