2***@qq.com
2***@qq.com
  • 发布:2025-03-13 13:57
  • 更新:2026-05-21 21:53
  • 阅读:379

关于在IOS上跑WebAssembly出现未定义

分类:uni-app

现在我在uniapp编写APP来运行webAssembly,在安卓上运行没有问题,可是到了IOS系统上却提示“Can't find variable: WebAssembly”,也就是说找不到WebAssembly模块定义,但是我使用的IOS版本是16.00+的,比较新了,是不是我哪里设置问题?可是我使用HBuilderX调试进去,WebAssembly 却没这个问题, 并且在我调试的真机 Safari 中访问 WebAssembly 测试页结果如下:“Wasm feature detect — npm.im/wasm-feature-detect
Your browser supports:

✔️ bigInt
✔️ bulkMemory
✔️ exceptions
❌ exceptionsFinal
❌ extendedConst
❌ gc
❌ jsStringBuiltins
❌ jspi
❌ memory64
❌ multiMemory
✔️ multiValue
✔️ mutableGlobals
✔️ referenceTypes
❌ relaxedSimd
✔️ saturatedFloatToInt
✔️ signExtensions
✔️ simd
✔️ streamingCompilation
❌ tailCall
❌ threads
❌ typeReflection
❌ typedFunctionReferences

2025-03-13 13:57 负责人:DCloud_App_Array 分享
已邀请:
ero

ero - ero

请问,这个问题解决了吗?我现在,也出现这个问题

DCloud_App_Array

DCloud_App_Array

代码是写在vue/uvue页面还是注入到Webview中执行?前者不支持,在WebView中是支持的。

要回复问题请先登录注册