From 47a61216d000ccbf8d270b2a9874014ebbcd3d0f Mon Sep 17 00:00:00 2001 From: PP Date: Wed, 24 May 2023 17:33:19 +0800 Subject: [PATCH] fix: loading wasm on iOS (#15169) --- cc.config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cc.config.json b/cc.config.json index 679be7baf23..b19b8e46e82 100644 --- a/cc.config.json +++ b/cc.config.json @@ -629,7 +629,7 @@ "WASM_SUPPORT_MODE": { "comment": "Whether support wasm, here we provide 3 options:\n0: The platform doesn't support WASM\n1: The platform supports WASM\n2: The platform may support WASM, especially on Web platform", "type": "number", - "value": "$HTML5 ? 2 : ($NATIVE ? ($OPEN_HARMONY?0:1): ($MINIGAME? ($WECHAT?1:0) :0))", + "value": "$HTML5 ? 2 : ($NATIVE ? (($OPEN_HARMONY||$IOS)?0:1): ($MINIGAME? ($WECHAT?1:0) :0))", "internal": true } },