Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

broken on ios14 on versions above 1.0.102 #317

Open
typeetfunc opened this issue May 29, 2023 · 3 comments
Open

broken on ios14 on versions above 1.0.102 #317

typeetfunc opened this issue May 29, 2023 · 3 comments
Labels

Comments

@typeetfunc
Copy link

typeetfunc commented May 29, 2023

Description

On mobile devices with IOS 14(v14.4), rive canvas and webgl packages(starting from 1.0.103) doesn't works:

[Warning] failed to asynchronously prepare wasm: CompileError: WebAssembly.Module doesn't parse at byte 538: invalid opcode 192, in function at index 41 (bundle.js, line 112877)
[Warning] Aborted(CompileError: WebAssembly.Module doesn't parse at byte 538: invalid opcode 192, in function at index 41) (bundle.js, line 110438)
[Error] Unhandled Promise Rejection: RuntimeError: Aborted(CompileError: WebAssembly.Module doesn't parse at byte 538: invalid opcode 192, in function at index 41). Build with -sASSERTIONS for more info. (evaluating 'new WebAssembly.RuntimeError(a + . Build with -sASSERTIONS for more info.))
	(anonymous function) (bundle.js:110440)
	promiseReactionJobw

Provide a Repro

Check any web example on ios14: https://codesandbox.io/s/rive-plain-js-sandbox-1ddrc?file=/package.json:282-289

Source .riv/.rev file

Any rive file

Expected behavior

there is no wasm compilation exception

Browser & Versions

  • Browser: [Safari]
  • OS: [ios 14.4]
  • NPM Version: [any]

Additional context

Similar issue and connected fixes 1 , 2

@TravelingTice
Copy link

Still an issue... Not sure if it's possible to provide with a fallback icon when the wasm file doesn't want to work out? Or would there be another way for us to catch it if it goes wrong? We are using the @rive-app/react-canvas package... Thanks a lot.

@liumulin614
Copy link

we met the same problem, is there any solution? @mjohnsullivan

@nfsq246
Copy link

nfsq246 commented Dec 5, 2023

try to use emsdk version 3.1.25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants