I follow the steps in accordance with “Installing build tools for iOS” on msdn https://msdn.microsoft.com/en-us/library/dn771551.aspx to configure the iOS build. On my Mac, I get the following error when running the vs-mda-remote test command.
Initializing self test for https
downloading cert for pin 390276
Downloading client cert for selftest from https://myMac:3000/certs/390276 to /Users/fred/remote-builds/selftest/selftest-client.pfx
pfxPath: /Users/fred/remote-builds/selftest/selftest-client.pfx
serverUrl: https://myMac:3000
buildUrl: https://myMac:3000/build/tasks?vcordova=4.1.2&cfg=release&command=build&options=--emulator
_tls_common.js:176
c.context.loadPKCS12(pfx);
^
Error: not enough data
at Error (native)
at Object.createSecureContext (_tls_common.js:176:17)
at Object.exports.connect (_tls_wrap.js:850:21)
at Agent.createConnection (https.js:82:14)
at Agent.createSocket (_http_agent.js:194:16)
at Agent.addRequest (_http_agent.js:166:23)
at new ClientRequest (_http_client.js:154:16)
at Object.exports.request (http.js:49:10)
at Object.exports.request (https.js:136:15)
at Request.start (/usr/local/lib/node_modules/vs-mda-remote/node_modules/request/request.js:674:30)
It seems the server is sending ..
vs-mda-remote
Copyright (C) 2014 Microsoft Corporation. All rights reserved.
0.2.7
Loading resources for language en from /usr/local/lib/node_modules/vs-mda-remote/resources/en/resources.json
Build Retention initialized with baseBuildDir /Users/fred/remote-builds/builds, maxBuildsToKeep 20
Initialized BuildManager with installedCordovaVersion: 4.1.2; baseBuildDir /Users/fred/remote-builds/builds; maxBuildsInQueue 10; deleteBuildsOnShutdown true; allowsEmulate true; nextBuildNumber 1479
ios-sim is installed on path at: /usr/local/lib/node_modules/vs-mda-remote/node_modules/ios-sim/build/release/ios-sim
Remote build server listening on [https] port 3000
GET /certs/390276 200 1ms - 3.51kb
Troubleshooting: - to make sure that there are iOS profiles and xCode developer certificates - I tested that I can deploy a test application for the iPad. - repeat the installation and check each message to find a failure, no - the regenerated server Cert and clientCert several times
- pfxPath pfx. ( , , , , - , https://sourcegraph.com/github.com/joyent/node/.CommonJSPackage/node/.def/commonjs/lib/_tls_common.js/-/createSecureContext # 176, , .