Xamarin - iPhone 分布

Xamarin - iPhone Distribution

我已经在 AppStore 上发布了一个应用程序,现在我想为这个应用程序制作一个新版本。

在 Visual Studio 中,我只有两个构建配置,Debug 和 Release。缺少其他配置 "Ad-Hoc" 和 "AppStore"

如果我 select 发布构建配置 "Archive" 选项被禁用,我可以 select 只是 "Show the IPA file on server",如果我使用 [=23= 加载文件] 它将像测试版本一样加载。

如何才能像发布申请一样发布?

我认为存档菜单项尚未在 Visual Studio 中实现。您可以从命令行进行归档。看: https://developer.xamarin.com/guides/ios/troubleshooting/questions/create-xcarchive/

As of Xamarin 4.x, it is now possible to create a .xcarchive from Windows by setting the ArchiveOnBuild property to true. For example, using MSBuild on the command line:

msbuild /p:Configuration=Release /p:ServerAddress=10.211.55.2 /p:ServerUser=xamUser /p:Platform=iPhone /p:ArchiveOnBuild=true /t:"Build" MyProject.csproj

The .xcarchive will be placed in the $HOME/Library/Developer/Xcode/Archives directory on the Mac build host that both Xcode and Xamarin Studio search to display previously built archives.

See this Xamarin Forums post for some brief additional notes about the ArchiveOnBuild property. See the documentation about Xamarin.iOS command line builds on Windows for additional details about the ServerAddress and ServerUser properties.