收紧移动壳构建配置边界

禁止 EAS 构建 profile 写入 runtimeVersion

保持移动壳可分发构建不提前接入 OTA 语义
This commit is contained in:
2026-06-21 19:44:35 +08:00
parent 7e5ba60ac0
commit e45c0605bb
@@ -137,7 +137,13 @@ for (const [profileName, profile] of Object.entries(easConfig.build)) {
assertObject(profile, `EAS ${profileName} profile`);
assertNoKeys(
profile,
['credentialsSource', 'autoIncrement', 'submit', 'releaseChannel'],
[
'credentialsSource',
'autoIncrement',
'submit',
'runtimeVersion',
'releaseChannel',
],
`EAS ${profileName} profile`,
);
}