Visual Studio Cordova 混合应用 "release" 对比 "distribution"

Visual Studio Cordova Hybrid App "release" vs "distribution"

当 运行 来自 的混合应用程序项目时,请解释 ReleaseDistribution 模式之间的区别Visual Studio for Apache Cordova
在 Visual Studio 中,在解决方案配置下拉列表中您有:

据我所知,“release”将应用程序推送到 USB 连接的 Android 设备,而 "distribution" 仅编译它,然后就可以了显示 adb.exe 的空命令提示屏幕(但不会将应用程序推送到设备)。

我想测试 "distribution" 版本。

谢谢!

它仅适用于 iOS 个应用程序。在提交到 App Store 之前,iOS 应用程序必须由分发证书签名。分发配置使用此分发证书而不是用于调试和发布版本的开发证书。

在最近发布的 RC 中似乎已经删除了分发配置,而 release 取代了它。前面说的documentation

When building a Debug or Release configuration, the Visual Studio remote agent selects the first valid iOS Development signing identity installed on your Mac. When building a Distribution configuration, the Visual Studio remote agent selects the first valid iOS Distribution signing identity installed on your Mac.

现在说:

When building a Debug configuration, by default the Visual Studio remote agent selects the first valid iOS Development signing identity installed on your Mac. When building a Release configuration, by default the Visual Studio remote agent selects the first valid iOS Distribution signing identity installed on your Mac.