簡體   English   中英

ios adhoc 分發的 Xamarin 存檔構建失敗

[英]Xamarin archive build fails for ios adhoc distribution

所以我的 ios 項目使用 ad-hoc|iphone 配置構建得很好。 我能夠在調試模式下針對模擬器運行。 我遇到的問題是當我嘗試歸檔項目時出現以下錯誤:

Severity    Code    Description Project File    Line    Suppression State
Error       The OutputPath property is not set for project 'arnBooking.iOS.csproj'.  Please check to 
make sure that you have specified a valid combination of Configuration and Platform for this project.  
Configuration='Ad-Hoc'  Platform='iPhoneSimulator'.  This error may also appear if some other project 
is trying to follow a project-to-project reference to this project, this project has been unloaded or 
is not included in the solution, and the referencing project does not build using the same or an  
equivalent Configuration or Platform.   arnBooking.iOS      

在此處輸入圖片說明

我查看了我的項目屬性,調試是針對 iPhoneSimulator 構建的唯一配置,也是唯一將模擬器作為其輸出路徑的配置。 我試圖弄清楚為什么存檔構建的配置與正常構建不同。

有沒有人遇到過這個?

我使用的是 Visual Studio Community 2019 版本 16.7.5

這一定是由 Visual Studio 緩存或其他原因引起的。 清理后,手動刪除 bin 和 obj 文件夾,然后重新啟動我的機器和 mac 就可以了。 我想只是 Xamarin 是它通常挑剔的自己

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM