Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: [delphie 10.2-Paserver 19] [PAClient Erreur] "paclient" exited with code 1.



Permlink Replies: 9 - Last Post: Jul 7, 2017 6:54 AM Last Post By: Mario Gagne
Mario Gagne

Posts: 93
Registered: 2/17/12
[delphie 10.2-Paserver 19] [PAClient Erreur] "paclient" exited with code 1.
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 4, 2017 10:09 AM
Hi

Impossible when I compile my program because I have error [PAClient Erreur] "paclient" exited with code 1.

I change my acount and my mobile.provision and I have always error.

When I compile my software on developpement no problem, but only on ad-hoc or magasin d'application I have error.

I test with Berlin 10.1.2 with Paserver 18 and Tokyo 10.2with Paserver 19 and I have same error.

Thank for your help.

Mario
Dave Nottage

Posts: 1,850
Registered: 1/7/00
Re: [delphie 10.2-Paserver 19] [PAClient Erreur] "paclient" exited with code 1.
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 4, 2017 2:35 PM   in response to: Mario Gagne in response to: Mario Gagne
Mario Gagne wrote:

only on ad-hoc or magasin d'application I have error.

It likely means that the provisioning profile you're using does not use the correct certificate, or the certificate is
invalid, or you have duplicate certificates on your Mac.

First thing to check is if Delphi can actually choose a valid profile and certificate. Go to Project Options,
Provisioning, and select a Build Type of Ad-Hoc or Magasin D'Application. If there are issues, it will tell you.

When you receive the paclient exited with code 1, check the Output tab of the messages window, and report what it says.

--
Dave Nottage [MVP, TeamB]
Find hints, tips and tricks at Delphi Worlds blog: http://www.delphiworlds.com
Mario Gagne

Posts: 93
Registered: 2/17/12
Re: [delphie 10.2-Paserver 19] [PAClient Erreur] "paclient" exited with code 1.
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 5, 2017 5:49 AM   in response to: Dave Nottage in response to: Dave Nottage
Thank you for your help

I delete all provisionmobile in my mac and I recreate ad_hoc. and I have a same problem.

When you receive the paclient exited with code 1, check the Output tab of the messages window, and report what it says.
Just information How to check the Output tab of message Windows?

I see message in Message.

c:\program files (x86)\embarcadero\studio\19.0\bin\paclient.exe -u8 --ipa="NAME.app,Name.ipa,'iPhone Distribution: marioxxxxxx
(Lxxxxxxxxx)','/Users/marioxxxx/Library/MobileDevice/Provisioning Profiles/ba30xxb6-xxxxxxxxxxxxxxxx.mobileprovision'" ios19
[PAClient Erreur] "paclient" exited with code 1.

Thank you

Mario
Mario Gagne

Posts: 93
Registered: 2/17/12
Re: [delphie 10.2-Paserver 19] [PAClient Erreur] "paclient" exited with code 1.
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 5, 2017 6:48 AM   in response to: Mario Gagne in response to: Mario Gagne
Hi

Not sure but I think my probem is my certificat distribution.

1- I delete all distribution certificat in my developper account

2- I delete all distribution certificat in keychain

3- I delete all provision mobile in computer.

impossible for me to create distribution certificat with xcode

When I transfert my distribution certificat with download My system not create the public and private key in keychain.

With version xcode 8.2 I don't have problem to create my certificat ,now with xcode 8.3 I don't offer the choice to create my certificat.

I will like to help me to create my certificat with Xcode 8.3

Thank you

Mario
Mario Gagne

Posts: 93
Registered: 2/17/12
Re: [delphie 10.2-Paserver 19] [PAClient Erreur] "paclient" exited with code 1.
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 5, 2017 12:17 PM   in response to: Mario Gagne in response to: Mario Gagne
Mario Gagne wrote:
Hi

Not sure but I think my probem is my certificat distribution.

1- I delete all distribution certificat in my developper account

2- I delete all distribution certificat in keychain

3- I delete all provision mobile in computer.

impossible for me to create distribution certificat with xcode

When I transfert my distribution certificat with download My system not create the public and private key in keychain.

With version xcode 8.2 I don't have problem to create my certificat ,now with xcode 8.3 I don't offer the choice to create my certificat.

I will like to help me to create my certificat with Xcode 8.3

Thank you

Mario

Just information for support

When I create certificat I have error with missing private key in xode

Thank for your help

Mario

Mario Gagne

Posts: 93
Registered: 2/17/12
Re: [delphie 10.2-Paserver 19] [PAClient Erreur] "paclient" exited with code 1.
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 5, 2017 6:33 PM   in response to: Mario Gagne in response to: Mario Gagne
Hi

After reading a lot on google I found that Tokyo is imcompatible with Xcode 8.3 which creates an error when creating the IPA file. I'll wait for the embarcadero patch.

Just see

http://docwiki.embarcadero.com/PlatformStatus/en/Main_Page#iOS_10

I'm sorry I don't see this information before.

I will wait a patch. I think after 3 mounths it very long time before patch.
Dave Nottage

Posts: 1,850
Registered: 1/7/00
Re: [delphie 10.2-Paserver 19] [PAClient Erreur] "paclient" exited with code 1.
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 5, 2017 6:56 PM   in response to: Mario Gagne in response to: Mario Gagne
Mario Gagne wrote:

I will like to help me to create my certificat with Xcode 8.3

There's a workaround for using Xcode 8.3, here:

https://www.developer-experts.net/en/2017/05/22/delphi-and-xcode-8-3-x-deployment-solution/

--
Dave Nottage [MVP, TeamB]
Find hints, tips and tricks at Delphi Worlds blog: http://www.delphiworlds.com
Mario Gagne

Posts: 93
Registered: 2/17/12
Re: [delphie 10.2-Paserver 19] [PAClient Erreur] "paclient" exited with code 1.
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 6, 2017 6:06 PM   in response to: Dave Nottage in response to: Dave Nottage
Thanks for your reply

I followed the steps of

1.Install current Xcode from Appstore into your applications folder – currently 8.3.2
2.Download Xcode 8.2.1 from
https://developer.apple.com/download/more/
3.Unzip Xcode_8.2.1.xip to a separate folder (e.g. /tmp/Xcode)
4.Make a backup copy of your current Xcode version:
cp -R /Applications/Xcode.app /tmp/Xcode.8.3.app (might take a minute or two)
5.Copy the following file from 8.2.1 to your current Xcode app:
sudo /tmp/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/PackageApplication /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/

and was able to compile my program in ad-hoc mode. I create my IPA program

But I still have the Paclient error ... in store mode.

Is it normal or it is I who made a mistake in the creation of my profile distribution.

Thank you

Mario
Dave Nottage

Posts: 1,850
Registered: 1/7/00
Re: [delphie 10.2-Paserver 19] [PAClient Erreur] "paclient" exited with code 1.
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 6, 2017 9:08 PM   in response to: Mario Gagne in response to: Mario Gagne
Mario Gagne wrote:

But I still have the Paclient error ... in store mode.

What's the details of the error, which are on the Output tab of the messages window?

--
Dave Nottage [MVP, TeamB]
Find hints, tips and tricks at Delphi Worlds blog: http://www.delphiworlds.com
Mario Gagne

Posts: 93
Registered: 2/17/12
Re: [delphie 10.2-Paserver 19] [PAClient Erreur] "paclient" exited with code 1.
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 7, 2017 6:54 AM   in response to: Mario Gagne in response to: Mario Gagne
Hello

Thank you for your help

I do not know why but this morning I checked my application and all worked very well I submitted my application to Apple store for validation.

Just an information is there a place where we can see the problems before launching it in an update and the way to solve them instead of thinking that it is us the problem when it is the software that is All up to date.

thank you very much

Mario

Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02