我已經成功地建立了我的項目爲Android,但構建適用於iOS過程中出現了一個錯誤:的Visual Studio 2015年 - 不能建立適用於iOS
The remote build server denied the build request, because the client certificate is invalid or has expired. To build your project, you must generate and configure a security PIN. See http://go.microsoft.com/fwlink/?LinkID=511904
我已經產生了一個新的PIN(做了之後resetServerCert,後面跟着一個generateClientCert),如上面鏈接所述,我重新安裝了remotebuild工具,但都無濟於事。如果我只是嘗試構建或構建/部署到本地設備,這也無關緊要。
我也試過沒有腳的建築,但是,這並不工作,要麼:
Cannot POST /build/tasks?command=build&vcordova=5.1.1&cfg=debug&options=--device
我靠近釋放我的應用程序,但上述問題已經花了我一兩天。
有什麼建議嗎?
在嘗試任何事情之前,請先備份您的項目 - 在我的情況下,這是一個很好的建議:)!您是否在第二個終端窗口的Mac上嘗試了命令「remotebuild test --server --secure false http:// localhost:3000」?一定要設置相同的選項和端口。如果這樣做成功,則嘗試在Visual Studio工具 - >選項 - > Apache Cordova的工具 - >按鈕「清除科爾多瓦緩存」中清理cordova緩存。您必須重新打開解決方案。另一個測試:Remotebuild運行在Visual Studio的乾淨的「Hello World」cordova項目上嗎?祝你一切順利! – Bjoerg
第二個終端中的「remotebuild測試」成功運行。今晚我已經嘗試了幾次。 我也做了一個乾淨的科多瓦緩存,無濟於事。 – CrashingDutchman
感謝您的回覆@Bjoerg 我注意到來自第二個終端窗口(POST/cordova/build/tasks /?vcordova ....)和來自Visual Studio的POST(POST//建造/任務?命令=構建&vcordova ....)。 – CrashingDutchman