You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

EAS Updates无法正常工作,疑因Expo.plist缺失channel-name

解决EAS Updates中Expo.plist缺少channel-name的问题
  • 先升级到最新版EAS CLI,旧版本可能存在channel信息同步到Expo.plist的bug。执行eas update:configure重新配置更新,这个命令会自动补全Expo.plist里的缺失字段。
  • 如果自动配置没生效,手动给iOS项目的Expo.plist添加以下键值对:
    <key>channel-name</key>
    <string>staging-1863</string>
    
    注意字符串要和你eas.json里配置的channel名称完全一致,之后重新构建iOS应用。
  • 确认构建时指定了正确的profile,比如执行eas build --profile staging-1863 --platform ios,避免因profile未正确指定导致channel信息未注入。
  • 用eas channel:list检查目标channel是否存在,且和build profile关联正确。如果channel不存在,先执行eas channel:create staging-1863创建对应channel。

你的eas.json配置是正确的,格式化后如下:

{
  "build": {
    "staging-1863": {
      "channel": "staging-1863",
      "env": {
        "ENVIRONMENT": "staging"
      },
      "android": {
        "buildType": "apk",
        "credentialsSource": "local"
      },
      "ios": {
        "credentialsSource": "local"
      }
    }
  }
}

内容的提问来源于stack exchange,提问作者Ioana C.

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.05 23:50:15