我有一個Mac設置作爲Visual Studio和Visual Studio Team Services(VSTS)的Xamarin構建代理。星期五,Xcode使用iOS 10 SDK升級到8.0。這當然打破了一切。升級Mac上的Xamarin iOS和Visual Studio的Xamarin後,我設法讓Visual Studio重新連接。在代理上升級到Xcode 8.0之後,Xamarin激活步驟中iOS構建失敗
現在,我唯一的問題是VSTS代理無法構建。此代理程序與Visual Studio代理程序運行在同一臺計算機上(例如,我可以在Visual Studio中構建,並在Mac上構建,併爲我提供ipa)。自升級以來,我沒有更改任何構建設置。
這裏是哪裏失敗,在Xamarin激活生成步驟:
是的,我再三地檢查了XamarinPassword變量是正確的。事實上,如果我輸入了錯誤的密碼,它將會失敗並顯示無效的登錄錯誤。
以下是錯誤:
******************************************************************************
Starting: Activate Xamarin license
******************************************************************************
warning MT0061: No Xcode.app specified (using --sdkroot), using the system Xcode as reported by 'xcode-select --print-path': /Applications/Xcode.app/Contents/Developer
error MT0052: No command specified.
/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/bin/mtouch --datafile
Xamarin.iOS 10.0.0 using framework: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator0.0.sdk
Failed to activate Xamarin license. {"code":1,"message":"An internal error occurred. Please email us at [email protected] and make sure to include the address associated with your Xamarin account ."}
Return code: 1
是在VSTS代理準備好iOS的10?我應該將所有事情降級到星期五之前和Xcode 8.0更新之前嗎?我在配置中缺少新的東西嗎?
基於這篇文章(https://www.visualstudio.com/en-us/docs/build/apps/mobile/xamarin),您不再需要Xamarin許可證來構建您的Xamarin應用程序。我們貶低實用程序:Xamarin許可證任務。如果您刪除該任務並構建,結果如何? –
@starain y,修復它!隨意添加,作爲答案,我會接受它。 – jrummell
你如何「刪除任務」? – jdmdevdotnet