Plataforma ios ya instalada
Frecuentes
Visto 1,172 equipos
0
I'm tryin' to debug my app on iOS simulator in my Mac.
I've followed all the instructions installing on my Mac:
sudo npm install -g vs-mda-remote
sudo npm install -g ios-sim
When I prompted
vs-mda-remote --buildDir Projects
(Projects is the folder where debug files will be droped), I see results in my PC by
http://<MAc_IP>:3000
With the following text
Remote build Express server open for business on port 3000
Ok, now I prompted
vs-mda-remote test
And I see an error with the following message
Failed to build app: CordovaError: Platform ios already added
No sé que pasa.
3 Respuestas
1
Ok, I found the problem. Maybe, I'm too eagier.
Instead of using one session in terminal app on mac, I used too many, so, when I prompted too many timesvs-mda-remote
, obviously ios was already installed.
So, opening terminal at first time, and prompting
vs-mda-remote --buildDir Projects --allowsEmulate=true
Now, I can debug on iOS simulator from my PC to Mac.
contestado el 29 de mayo de 14 a las 08:05
Didnt need to run this command in my case. Just closed all the terminal windows but one. Tried again and success! Thanks - Mago
0
While running the build agent, the correct command is:
vs-mda-remote --buildDir <server-build-directory> --allowsEmulate=true
Note the last "--allowsEmulate=true" part of the command.
*Taken from "Setting up the Remote Agent to Support Starting the iOS Simulator" section in the documentación.
contestado el 28 de mayo de 14 a las 15:05
0
Plataforma ios ya instalada
Received this error for running in device too, while running multiple instance in mac. Quit Terminal and run single instance for vs-mda-remote to resolve this problem if you receive this error for running in Device.
Respondido 14 Oct 14, 11:10
No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas ios visual-studio cordova visual-studio-cordova or haz tu propia pregunta.
.@Shanty - Any chance you could pipe output to a file and share it? Use the command: vs-mda-remote –buildDir Projects > builds.log 2>&1 - Priyank