XE4 iOS app: Unable to install package. (E8008015)

I participated in XE4 beta testing and despite problems with the inability to create .ipa (error message in Delphi "Invalid ipa option"), the application was always physically deployed to the device, but was never created on Mac scratch-dir.

If I copied and pasted the paclient command into the command line, it worked. My problem with QC on this was closed as resolved, but it is not.

Now with XE4, using the same settings that I had with the beta version, I get this error when deploying to a device:

Unable to launch process on '10.0.0.60' using the parameters from the 'Delphi_XE4' profile. The following error was returned: 'Unable to install package. (e8008015)' 

The application is deployed in the Xcode OK simulator, so the connection data is correct. During deployment, I see that PAServer accepts commands on a Mac, but can I use the Debug or Ad-hoc build type, I get this error.

I checked the device logs in Xcode and found the following:

 Apr 29 08:48:37 Js-iPhone-4S installd[54] <Error>: 0x2ffed000 handle_install: Install of "/var/mobile/Media/PublicStaging/iOS_Location.app" requested by mobile_installation_proxy Apr 29 08:48:37 Js-iPhone-4S installd[54] <Error>: 0x2ffed000 MobileInstallationInstall_Server: Installing app iOS_Location Apr 29 08:48:37 Js-iPhone-4S installd[54] <Error>: Apr 29 08:48:37 SecTrustEvaluate [leaf CriticalExtensions IssuerCommonName] Apr 29 08:48:38 Js-iPhone-4S installd[54] <Error>: 0x2ffed000 verify_signer_identity: MISValidateSignatureAndCopyInfo failed for /var/tmp/install_staging.XRYC1t/iOS_Location.app/iOS_Location: 0xe8008015 Apr 29 08:48:38 Js-iPhone-4S installd[54] <Error>: 0x2ffed000 do_preflight_verification: Could not verify executable at /var/tmp/install_staging.XRYC1t/iOS_Location.app Apr 29 08:48:38 Js-iPhone-4S installd[54] <Error>: 0x2ffed000 install_application: Could not preflight application install Apr 29 08:48:38 Js-iPhone-4S mobile_installation_proxy[1595] <Error>: 0x3baabb88 MobileInstallationInstall: failed with -1 Apr 29 08:48:38 Js-iPhone-4S mobile_installation_proxy[1595] <Error>: handle_install: Installation failed Apr 29 08:48:38 Js-iPhone-4S installd[54] <Error>: 0x2ffed000 handle_install: API failed 

It seems that the stage of signing the code does not work, although I use the same mobile software that I used during the beta process. I went through all the steps in Docwiki, but nothing changed this error. My iPhone Developer and Distribution Certificates are valid for only a few months.

This happens in my project and in any of the sample projects installed with XE4. In the above log, I used the iOS_Location sample.

I am upset because I saw how beta works, but now I can’t get the full version for work. I am sure it is environmentally friendly, but my ideas are running out.

XE3 is installed on the same PC, but forums suggest this is normal. Xcode on Mac is completely updated. Remember that it is deployed to a simulator on a small mac.

Any help would be appreciated.

+6
source share
2 answers

I found out what caused this. Although I chose Debug or Release as the Target Build Type, I did not select β€œAd-hoc” under the iOS device platform.

+4
source

This error occurs because the target iOS device was not provided by the provisioning profile configured in RAD Studio. Either provide the target device with a configured provisioning profile , or change the configuration of the RAD Studio project to a different provisioning profile. See Completing the submission page . Make sure that your collateral data in RAD Studio matches the iOS developer account and not your Mac developer account. Be especially careful when specifying the name of the iOS developer certificate .

-1
source

Source: https://habr.com/ru/post/943914/


All Articles