Nadeem Khoury
Nadeem Khoury

Reputation: 937

Cordova visual studio ios agent configuration

I am trying to test my Cordova application in iOS, I followed all the steps that included in https://msdn.microsoft.com/library/dn757054.aspx#ios

When configuring Visual Studio -->tools-->options--->tools for Apache Cordova, I get this error :

An error occurred trying to acquire certificate from [Host].

I have an Apple developer ID, and I am already logged in in Xcode.

Upvotes: 4

Views: 1338

Answers (3)

lincolnerson
lincolnerson

Reputation: 168

  • Replace host name using IP address MacBook and try again.
  • If this does not work then following are steps to reset remotebuild:

  • first stop server using following command:
    cntrl + c

    1. Execute following command to reset remotebuild certificates:

      remotebuild certificates reset

    2. Run following to command to regenerate remotebuild server:

      remotebuild certificates generate

  • here, new secure pin number will be generated.

    1. Following command to start remotebuild:

      remotebuild

  • now try again, make sure 'Enable remote iOS processing' is true and 'Secure mode' is true and valid secure number is added.

Upvotes: 0

user2125311
user2125311

Reputation: 67

Be sure after doing all of this to also type remotebuild on the command line of the mac to prepare it to receive the build from your pc :-) ... Think of it like bluetooth pairing..

Upvotes: 0

Philip Raath
Philip Raath

Reputation: 490

I solved this issue by placing the IP address of the host in the Host field, rather than the host name.

Upvotes: 1

Related Questions