Skip to content

Support visionOS #961

@dcharkes

Description

@dcharkes

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

This should probably either be another OS or another IOSSdk:

abstract class OS {
static const OS android = model.OS.android;
static const OS fuchsia = model.OS.fuchsia;
static const OS iOS = model.OS.iOS;
static const OS linux = model.OS.linux;
static const OS macOS = model.OS.macOS;
static const OS windows = model.OS.windows;

abstract class IOSSdk {
static const IOSSdk iPhoneOs = model.IOSSdk.iPhoneOs;
static const IOSSdk iPhoneSimulator = model.IOSSdk.iPhoneSimulator;

We need this in:

  • package:native_assets_cli so that it can be passed in from flutter_tools and consumed in build.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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions