Reputation: 937
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
Reputation: 168
If this does not work then following are steps to reset remotebuild:
first stop server using following command:
cntrl + c
Execute following command to reset remotebuild certificates:
remotebuild certificates reset
Run following to command to regenerate remotebuild server:
remotebuild certificates generate
here, new secure pin number will be generated.
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
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
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