Jump to content
hyeong

IOS deployment error [PAClient Error] Error: E0776

Recommended Posts

I was asked a question because the error could not be resolved during IOS app development and distribution...

(I tried googleling my own to solve it, but it was my first time on the IOS side, so I got to seek help due to limitations.

 

The Delphi version is 10.4.

 

If you compile with IOS Device 64-bit = Configuration = Development, it compiles well on the iPhone device,

Development continued.

[Provisioning has been set up for all (Application Store, Development, Ad hoc ), and I checked the option to connect the certificate. ]

To register on the App Store

When distributing Ad hoc or Application Store, the following error occurs.

================================================== ============

[PAClient Error] Error: E0776 ** EXPORT FAILED **

[PAClient Error] Error: E0776 error: Couldn't load -exportOptionsPlist: The data couldn’t be read because it isn’t in the correct format.

[PAClient Error] Error: E0776 Swift.DecodingError.dataCorrupted(Swift.DecodingError.Context(codingPath: [], debugDescription: "The given data was not a valid property list.", underlyingError: Optional(Error Domain=NSCocoaErrorDomain Code=3840 "Encountered unexpected character A on line 14 while looking for close tag" UserInfo={NSDebugDescription=Encountered unexpected character A on line 14 while looking for close tag, kCFPropertyListOldStyleParsingError=Error Domain=NSCocoaErrorDomain Code=3840 "Malformed data byte group at line 1; invalid hex" UserInfo={NSDebugDescription=Malformed data byte group at line 1; invalid hex}})))

================================================== ==========

Xcode version is 11.7, iOS software version is 13.7.

Share this post


Link to post

Most of my problems with deploying iOS apps disappeared when I:

- deleted the IOSDevice directory

- deleted the Launchscreen.TemplateiOS,

- deleted Entitlement.TemplateiOS.xml

- made sure every icon in project/Options has its own file

 

and rebuild

 

Not sure if this helps you though... I'm no iOS guru...

Share this post


Link to post
18 hours ago, John van de Waeter said:

Most of my problems with deploying iOS apps disappeared when I:

- deleted the IOSDevice directory

- deleted the Launchscreen.TemplateiOS,

- deleted Entitlement.TemplateiOS.xml

- made sure every icon in project/Options has its own file

 

and rebuild

 

Not sure if this helps you though... I'm no iOS guru...

 

Thanks for the answer.
-Remove iOS Device 64 folder
-Remove LaunchScreen.TemplateS folder
-Remove Entitlement.TemplateiOS.xml file
Add to
-info.plist.TemplateiOS.xml file removed
All icons and images have been changed to default.

Project -> Build => Ok
Project > Deployment -> Deploy => I got the same error though...
Is there any way I can try more..??

 

@Delployment@

image.thumb.png.cd32f67b4a7f9e582fffd6fc027a8646.png

Edited by hyeong

Share this post


Link to post

What I did in the past for such these problems :

 

remove target platform in the project (remove IOS)

clean project files just to remove all ios files

then exit Delphi, and restart,

reinstall target plateform,

compile and deploy.


Hope this helps.

Share this post


Link to post

For issues like that I have a Clean_EXE.cmd batch file, removing all created files and folders externally.

An internal clean is not good enough in most cases.

 

I usually run clean and build all before any important change or release.

 

In case of issues I step through the different shades of clean step-by-step, as not always a brutal full clean is needed.

But I didn't need to re-install the target platform yet, anyhow maybe the days will come :classic_smile:
Good to know there is another shade of clean in the portfolio.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×