native
native copied to clipboard
Support `visionOS`
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:
- [ ]
package:native_assets_cliso that it can be passed in from flutter_tools and consumed inbuild.dartscripts. - [ ]
package:native_assets_builderso that it can be passed in from flutter_tools. - [ ]
package:native_toolchain_cso that the right SDK path is passed when compiling C code.
or another
IOSSdk
It's not an iOS SDK, it's the visionOS SDK, which is a different SDK.
Did you manage to find a solution for this?
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.
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:
- https://github.com/flutter/flutter/issues/128313
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