首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >世博会上传:带发布渠道的ios

世博会上传:带发布渠道的ios
EN

Stack Overflow用户
提问于 2019-08-18 17:54:13
回答 2查看 1.1K关注 0票数 1

如果已使用带有指定发布通道的世博构建了世博会iOS应用程序prod-v1

代码语言:javascript
复制
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**:**的输出

代码语言:javascript
复制
$ 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
EN

回答 2

Stack Overflow用户

发布于 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选项的参数传递。看起来会是这样的:

代码语言:javascript
复制
expo upload:ios --id {id-of-target-build-here}

我希望这能帮到你。

票数 1
EN

Stack Overflow用户

发布于 2019-08-19 01:08:59

如果您在“iOS”通道上构建prod-v1,那么它将使用该通道上最新版本的iOS构建。

如果你想更新你的iOS应用程序,你可以发布到频道。

代码语言:javascript
复制
expo publish --release-channel prod-v1
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/57547034

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档