[英]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.