iOS in-house app upgrade install failed with strange cancel error

We met some feedback of upgrade installation failed, I also met the same issue. And I can make sure I didn't cancel the upgrade install, but the apple system log shows install failed reason due to the user canceled.

canceled by client 1 for reason Error Domain=IXUserPresentableErrorDomain Code=3 "This installation was canceled by the user." UserInfo={NSLocalizedFailureReason=User canceled., NSLocalizedDescription=This installation was canceled by the user.}).

By analyzing the system log, I guess when upgrading the in-house app, the iOS system may need to uninstall the old version app, but the uninstall operation may fail due to some unknown reason. And will lead the upgrade install failed(the real install failed reason).

I don't know well about the installation of the in-house app. I think the in-house app upgrade install has some bugs.

Does anyone meet the same issue when upgrading the in-house app? Please download detail install log uploaded in the attachment!


2022-01-27 22:34:19.225873 +0800    nehelper    Handling an apps installed notification with bundle IDs (
    "com.***.yyy"
)
2022-01-27 22:34:19.291323 +0800    runningboardd   Acquiring assertion targeting system from originator [daemon<com.apple.mobile.installd>:203] with description <RBSAssertionDescriptor| "FBSApplicationTerminationAssertion" ID:32-203-1450 target:system attributes:[
    <RBSPreventLaunchLimitation| <RBSProcessPredicate <RBSProcessBundleIdentifierPredicate "com.***.yyy">>>
    ]>
2022-01-27 22:34:19.293129 +0800    runningboardd   Executing termination request for: <RBSProcessPredicate <RBSProcessBundleIdentifierPredicate "com.***.yyy">>
2022-01-27 22:34:19.531831 +0800    installd    0x16cf8b000 -[MIUninstaller performUninstallationWithError:]: Uninstalling parallel placeholder for com.***.yyy
2022-01-27 22:34:19.533612 +0800    installd    com.***.yyy:7:9:2:1:Success (End) : Uninstall (Parallel Placeholder)
2022-01-27 22:34:19.537589 +0800    SpringBoard termination assertion released for com.***.yyy
2022-01-27 22:34:19.537889 +0800    *** com.***.yyy:5:6:1:1:Unregister bundles - Start
2022-01-27 22:34:19.674045 +0800    *** com.***.yyy:5:6:1:1:Beginning _LSUnregisterAppWithBundleID (placeholder only)
2022-01-27 22:34:19.756216 +0800    installcoordinationd    -[IXSDataPromise cancelForReason:client:]: <IXSPlaceholder(0x15ff07b80) Name:App Placeholder: inhouse (com.***.yyy) Creator:App Store UUID:972307B4-DC5D-4A50-8421-4AE931560BA9> : canceled by client 1 for reason Error Domain=IXUserPresentableErrorDomain Code=3 "This installation was canceled by the user." UserInfo={NSLocalizedFailureReason=User canceled., NSLocalizedDescription=This installation was canceled by the user.}
2022-01-27 22:34:19.756742 +0800    installcoordinationd    -[IXSDataPromise decommission]: Decommissioning <IXSPlaceholder(0x15ff07b80) Name:App Placeholder: inhouse (com.***.yyy) Creator:App Store UUID:972307B4-DC5D-4A50-8421-4AE931560BA9>
2022-01-27 22:34:19.757803 +0800    installcoordinationd    -[IXSDataPromise cancelForReason:client:]: <IXSPromisedStreamingZipTransfer(0x15fe0e460) Name:UPP599852B1/com.***.yyy Creator:App Store UUID:36AE0914-4D2F-4C30-BE98-ED352ED22145 PercentComplete:0.108321 IsComplete:N DiskUsageBytes:0> : canceled by client 1 for reason Error Domain=IXUserPresentableErrorDomain Code=3 "This installation was canceled by the user." UserInfo={NSLocalizedFailureReason=User canceled., NSLocalizedDescription=This installation was canceled by the user.}
2022-01-27 22:34:19.759059 +0800    installcoordinationd    -[IXSDataPromise decommission]: Decommissioning <IXSPromisedStreamingZipTransfer(0x15fe0e460) Name:UPP599852B1/com.***.yyy Creator:App Store UUID:36AE0914-4D2F-4C30-BE98-ED352ED22145 PercentComplete:0.000000 IsComplete:N DiskUsageBytes:0>
2022-01-27 22:34:19.784715 +0800    appstored   Placeholder for application {bundleID = com.***.yyy; version = 2201122041; shortVersion = 1.8.1; variantID = (null)} removed, re-verifying installed application
2022-01-27 22:34:19.786051 +0800    appstored   Handling application installation: {bundleID = com.***.yyy; version = 2201122041; shortVersion = 1.8.1; variantID = (null)}
2022-01-27 22:34:19.786089 +0800    appstored   Ignoring installation for {bundleID = com.***.yyy; version = 2201122041; shortVersion = 1.8.1; variantID = (null)} as it does not appear to support ODR
2022-01-27 22:34:19.787542 +0800    appstored   Canceling progress for bundleID: com.***.yyy
2022-01-27 22:34:19.807920 +0800    navd    com.***.yyy:5:8:3:1:applicationsDidInstall <LSApplicationProxy: 0x103859f80> com.***.yyy file:///private/var/containers/Bundle/Application/70D1ADCE-B225-4F55-84A1-CA834A516F45/inhouse.app/ <com.***.yyy <installed >:0>
2022-01-27 22:34:21.645313 +0800    tccd    Handling Application Uninstalled event for {
    bundleIDs =     (
        "com.***.yyy"
    );
    isPlaceholder = 1;
}.
2022-01-27 22:34:22.107373 +0800    tccd    LS says com.***.yyy was uninstalled but now we have found it is still installed.
2022-01-27 22:34:28.331871 +0800    nehelper    Handling an apps uninstalled notification with bundle IDs (
    "com.***.yyy"
)
2022-01-27 22:34:28.754040 +0800    nehelper    Handling an apps installed notification with bundle IDs (
    "com.***.yyy"
)

2022-01-27 22:34:22.107373 +0800 tccd LS says com.***.yyy was uninstalled but now we have found it is still installed.

What does this mean?

Updating in-house apps does not require deleting the earlier version. The update should replace the existing .ipa if it contains the same bundle identifier. Please file a feedback including reproduction steps and a sysdiagnose for further investigation.

iOS in-house app upgrade install failed with strange cancel error
 
 
Q