dart-lang / native

Dart packages related to FFI and native assets bundling.
BSD 3-Clause "New" or "Revised" License
157 stars 44 forks source link

Support `visionOS` #961

Open dcharkes opened 9 months ago

dcharkes commented 9 months ago

We'd like to support the visionOS as SDK option when compiling with XCode.

This should probably either be another OS or another IOSSdk:

https://github.com/dart-lang/native/blob/876f9a1948c1642a57640ef9b1526746042a17eb/pkgs/native_assets_cli/lib/src/api/target.dart#L36-L42

https://github.com/dart-lang/native/blob/876f9a1948c1642a57640ef9b1526746042a17eb/pkgs/native_assets_cli/lib/src/api/ios_sdk.dart#L10-L12

We need this in:

stuartmorgan commented 9 months ago

or another IOSSdk

It's not an iOS SDK, it's the visionOS SDK, which is a different SDK.

guilherme-francisco commented 4 months ago

Did you manage to find a solution for this?

stuartmorgan commented 4 months ago

This isn't a "find a solution" kind of issue, it's a "do the work of adding all of the plumbing" kind of issue. There's not going to be a trick or shortcut, it something that has to be worked through methodically.

dcharkes commented 4 months ago

To clarify, there's no point in adding support in the native assets feature, which this issue is tracking, if Flutter doesn't have support yet:

guilherme-francisco commented 4 months ago

Nice! Thank you guys for the quick response. I am trying to understand the work that needs to be done for visionOS support and when I tried to run it through xcode it got me here