-
Notifications
You must be signed in to change notification settings - Fork 198
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
How to run the samples on M1 macOS on 'arm64' architecture? Issues with resources? #509
Comments
I'm having the same issue. |
The issue happens on all OS, there is probably a bug in cmake/build scripts that causes the resources not be copied where they need to be, if you copy them manually it works |
Ultralight filesystem works from ./assets/ by default, so that would be ./assets/resources/icudt67l.dat (relative to CWD of the process). This works on my machine. But looking at the code it might be different on macOS based on its app conventions. See ultralight::Settings::file_system_path and ultralight::Config::resource_path_prefix |
It works!!!!! Thank you so much for taking the time to help.
|
Hi, I want to test out Ultralight on my M1 macOS. I tried both 1.4.x and v1.4.0b, and it successfully compiles, but launching any
.app
instantly crashes with this error:I was able to fix it by manually modifying the
Info.plist
for the apps like inultralight-sdk-latest-mac-arm64/build/samples/Sample 8 - Web Browser/Sample8.app/Contents/Info.plist
by adding:Now, it does not crash instantly, but reports this error:
and this:
Does anyone know how to fix this? Thanks!
The text was updated successfully, but these errors were encountered: