Skip to content

Cannot work on IOS version 14.4 #701

@hieunguyen2211

Description

@hieunguyen2211

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:

  1. Run tesseract.js on IOS version 14.4
  2. See the error on console tab

Expected behavior
Everything should work as expected and there is no error occurred.

Screenshots
Screen Shot 2022-12-14 at 17 15 09

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions