Open aderito7 opened 7 months ago
Hi @aderito7, it seems like the most relevant issue is this: https://github.com/flutter/flutter/issues/122098
This leads to a variety of other related issues regarding Flutter support on arm64, notably: https://github.com/flutter/flutter/issues/116196
What we think is happening here is Flutter builds x86-64 for Windows even when running on arm64, but our plugin builds for host (arm64). We can look into setting this within our cmake file to specify the target platform as a fallback, but you could also test it out now to see if it works by providing the following flag:
--target-platform windows-x64
Which should force everything to build for x64.
Ideally later you could use:
--target-platform windows-arm64
But not sure if this is fully supported yet.
Description
After setting up Parallels Desktop with Windows 11 and freshly installing flutter to create a new project, installing rive yields the following application error when building for windows:
Steps To Reproduce
Steps to reproduce the behavior:
flutter create myapp
)flutter pub add rive
)Expected behavior
Application should build and run.
Additional context
Tried on Mac M1 and M2 chip with Visual Sudio 2022