dotnet publish -f net8.0-ios -c Release -p:ArchiveOnBuild=true -p:RuntimeIdentifier=ios-arm64 -p:CodesignKey="{insert the name of the code signing key}" -p:CodesignProvision="{insert the provisioning profile to use when signing the app bundle}"
字符串 Windows上的示例:
dotnet publish -f net8.0-ios -c Release -p:ArchiveOnBuild=true -p:RuntimeIdentifier=ios-arm64 -p:CodesignKey="insert the name of the code signing key" -p:CodesignProvision="insert the provisioning profile to use when signing the app bundle." -p:ServerAddress={macOS build host IP address} -p:ServerUser={macOS username} -p:ServerPassword={macOS password} -p:TcpPort=58181 -p:_DotNetRootRemoteDirectory=/Users/{macOS username}/Library/Caches/Xamarin/XMA/SDKs/dotnet/
1条答案
按热度按时间aor9mmx11#
您可以使用命令行发布.NET MAUI应用程序。
Mac上的例子:
字符串
Windows上的示例:
型
完整的如何:Publish an iOS app using the command line