Describe the bug
After upgrading tesseract.js to version 4.0.0, it cannot work as expected on IOS version 14.4. The system throws an error, which is described below:
Unhandled Promise Rejection: RuntimeError: Aborted(CompileError: WebAssembly.Module doesn't parse at byte 11942: invalid section). Build with -sASSERTIONS for more info. (evaluating 'new WebAssembly.RuntimeError(a+". Build with -sASSERTIONS for more info.")')
We tried to use the latest version (4.0.1) but the issue is still there.
To Reproduce
Steps to reproduce the behavior:
- Run tesseract.js on IOS version 14.4
- See the error on console tab
Expected behavior
Everything should work as expected and there is no error occurred.
Screenshots

Smartphone (please complete the following information):
- Device: iPhone XR
- OS: IOS 14.4
- Browser: Safari, Chrome
- Version: Safari version 14.4, Chrome version 108.0.5359.52
Describe the bug
After upgrading tesseract.js to version 4.0.0, it cannot work as expected on IOS version 14.4. The system throws an error, which is described below:
Unhandled Promise Rejection: RuntimeError: Aborted(CompileError: WebAssembly.Module doesn't parse at byte 11942: invalid section). Build with -sASSERTIONS for more info. (evaluating 'new WebAssembly.RuntimeError(a+". Build with -sASSERTIONS for more info.")')
We tried to use the latest version (4.0.1) but the issue is still there.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Everything should work as expected and there is no error occurred.
Screenshots

Smartphone (please complete the following information):