Unable to perform OTA install of adhoc IPA

Hi

I've set up an internal server on my company intranet to distribute an IPA to my remote team for testing. The IPA is signed using adhoc provision and certificate, and installing directly via xcode works.

However while installing via OTA, it showed these errors on the console log:

-[IXSCoordinatedAppInstall _onQueue_internal_cancelForReason:client:needsLSDatabaseSync:]: [com.company.app/P]: Pending installs completed on group

-[IXSDataPromise cancelForReason:client:]: <IXSPlaceholder(0x79a91de50) Name:App Placeholder: App name (com.company.app) Creator:App Store UUID:528CF246-F7FA-4747-8629-D87CBAB8588C> : canceled by client 1 for reason Error Domain=IXUserPresentableErrorDomain Code=1 "This app could not be installed at this time." UserInfo={AlertUser=true, NSLocalizedDescription=This app could not be installed at this time., NSLocalizedRecoverySuggestion=cancelled, NSLocalizedFailureReason=Could not install at this time., NSUnderlyingError=0x79a81a130 {Error Domain=NSURLErrorDomain Code=-999 "cancelled" UserInfo={NSErrorFailingURLStringKey=https://192.168.72.4:49999/ipa-adhoc-distro/app.ipa, NSErrorFailingURLKey=https://192.168.72.4:49999/ipa-adhoc-distro/app.ipa, _NSURLErrorRelatedURLSessionTaskErrorKey=( "LocalDataTask <DDD51217-4A99-462C-BF26-3A29FD56E129>.<13>" ), _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <DDD51217-4A

-[IXSDataPromise decommission]: Decommissioning <IXSPlaceholder(0x79a91de50) Name:App Placeholder: app (com.company.app) Creator:App Store UUID:528CF246-F7FA-4747-8629-D87CBAB8588C>

-[IXSClientConnection _client_promiseWithUUID:didCancelWithReason:client:]: Client passd (pid 79) was not interested in promise UUID 528CF246-F7FA-4747-8629-D87CBAB8588C

-[IXSDataPromise cancelForReason:client:]: <IXSPromisedStreamingZipTransfer(0x79ab14000) Name:UPPA55AD7B6/com.company.app Creator:App Store UUID:8BFBFEFB-1C9B-4CCC-B6AC-DABBA0E81D39 PercentComplete:0.000000 IsComplete:N DiskUsageBytes:0> : canceled by client 1 for reason Error Domain=IXUserPresentableErrorDomain Code=1 "This app could not be installed at this time." UserInfo={AlertUser=true, NSLocalizedDescription=This app could not be installed at this time., NSLocalizedRecoverySuggestion=cancelled, NSLocalizedFailureReason=Could not install at this time., NSUnderlyingError=0x79a81a130 {Error Domain=NSURLErrorDomain Code=-999 "cancelled" UserInfo={NSErrorFailingURLStringKey=https://192.168.72.4:49999/ipa-adhoc-distro/app.ipa, NSErrorFailingURLKey=https://192.168.72.4:49999/ipa-adhoc-distro/app.ipa, _NSURLErrorRelatedURLSessionTaskErrorKey=( "LocalDataTask <DDD51217-4A99-462C-BF26-3A29FD56E129>.<13>" ), _NSURLErrorFailingURLS

Note again that, the exact same IPA can be installed and run successfully via xcode on my test device. I then uninstalled and use the same test device to try installing via OTA and the above errors are generated. Thus issues such as cert signing, provisioning profile, correct device UUID registration can be eliminated. And for info, I used adhoc distribution for code signing certificate and provisioning profile.

I have checked through my manifest file and URL paths on my webpage and in the manifest, and they are all correct. I have followed apple documentation instructions to use https binding for the site, enabled plist and ipa mime types, installed my in-house CA root certificate on my device and enabled trust for it. In fact, prior to above logs, I could see logs showing that the TLS handshake was successful. I also used the mobile Safari to access the webpage.

I am rather new to the IOS ecosystem and mobile app distribution topics. Based on the above errors, I could not figure out what could be the problem. Searching the error codes and some of the log strings also yielded nothing that helped.

Hope someone can help shed some light on it. As without OTA distribution, my remote team will not be able to help participate in testing. :(

Unable to perform OTA install of adhoc IPA
 
 
Q