如果已使用带有指定发布通道的世博构建了世博会iOS应用程序prod-v1
expo build:ios --release-channel prod-v1如何让expo upload:ios上传配置为从发布通道prod-v1中提取更新的构建?
使用博览SDK 34,expo-cli@3.0.9,节点v12.6.0,Mac Mojave 10.14.5
expo upload:ios似乎没有任何用于指定发布通道的参数。
expo upload:ios --help**:**的输出
$ expo upload:ios --help
Usage: upload:ios|ui [options] [projectDir]
Uploads a standalone app to Apple TestFlight (works on macOS only). Uploads the latest build by default.
Options:
--latest uploads the latest build (default)
--id <id> id of the build to upload
--path <path> path to the .ipa file
--apple-id <apple-id> your Apple ID username (you can also set EXPO_APPLE_ID env variable)
--itc-team-id <itc-team-id> App Store Connect Team ID (optional if there is only one team available)
--apple-id-password <apple-id-password> your Apple ID password (you can also set EXPO_APPLE_ID_PASSWORD env variable)
--app-name <app-name> the name of your app as it will appear on the App Store, this can't be longer than 30 characters (default: expo.name from app.json)
--sku <sku> a unique ID for your app that is not visible on the App Store, will be generated unless provided
--language <language> primary language (e.g. English, German; run `expo upload:ios --help` to see the list of available languages) (default: English)
--public-url <url> The URL of an externally hosted manifest (for self-hosted apps)
--config [file] Specify a path to app.json
-h, --help output usage information发布于 2019-12-09 16:24:52
正如您在expo upload:ios帮助中所看到的,它默认为该应用程序/段塞的最后/最新构建。因此,如果您只是使用expo build:ios --release-channel prod-v1构建,那么您应该可以继续使用。但是,如果您的最新构建指向不同的发布通道,那么您可以转到https://expo.io上的构建历史记录,获取指向prod-v1或任何您想要的发布通道的构建id,并将其作为expo upload:ios命令的--id选项的参数传递。看起来会是这样的:
expo upload:ios --id {id-of-target-build-here}我希望这能帮到你。
发布于 2019-08-19 01:08:59
如果您在“iOS”通道上构建prod-v1,那么它将使用该通道上最新版本的iOS构建。
如果你想更新你的iOS应用程序,你可以发布到频道。
expo publish --release-channel prod-v1https://stackoverflow.com/questions/57547034
复制相似问题