Open dcharkes opened 9 months ago
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:
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
We'd like to support the visionOS as SDK option when compiling with XCode.
This should probably
eitherbe anotherOS
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_cli
so that it can be passed in from flutter_tools and consumed inbuild.dart
scripts.package:native_assets_builder
so that it can be passed in from flutter_tools.package:native_toolchain_c
so that the right SDK path is passed when compiling C code.