Skip to content
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

Fix Large Incremental Installs #470

Merged
merged 2 commits into from
Aug 19, 2020
Merged

Conversation

ivanhernandez13
Copy link

@ivanhernandez13 ivanhernandez13 commented Aug 17, 2020

Large apps installed with the incremental flag will timeout in one minute if done when a session is running. Timeouts are common for the initial install of large apps done with the incremental flag.

Remove start/stop/disconnect session calls from calls to AMDeviceSecureInstallApplicationBundle. This version does not seem to need it and it appears this causes errors during long install operations where the session will timeout and reult in kAMDSendMessageError. The standard install method will fail without the start session call.

Information about AMDevice session behavior was gleaned from https://github.com/facebook/idb/blob/8172962dd871805127ad883ce99e75ae0f7bea44/FBDeviceControl/Management/FBAMDevice.h.

…reInstallApplicationBundle. This version does not seem to need it and it appears this causes errors during long install operations where the session will timeout and reult in kAMDSendMessageError. The standard install method will fail without the start session call.

Information about AMDevice session behavior was gleaned from https://github.com/facebook/idb/blob/8172962dd871805127ad883ce99e75ae0f7bea44/FBDeviceControl/Management/FBAMDevice.h.
src/ios-deploy/ios-deploy.m Outdated Show resolved Hide resolved
@gabebear gabebear changed the title Remove start/stop/disconnect session calls from calls to AMDeviceSecu… Fix Large Incremental Installs Aug 19, 2020
@gabebear gabebear merged commit 89c509b into ios-control:master Aug 19, 2020
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.

2 participants