initial commit, 4.5 stable
Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled

This commit is contained in:
2025-09-16 20:46:46 -04:00
commit 9d30169a8d
13378 changed files with 7050105 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
# visionOS platform port
This folder contains the C++, Objective-C and Objective-C++ code for the visionOS
platform port.
This platform derives from the Apple Embedded abstract platform ([`drivers/apple_embedded`](drivers/apple_embedded)).
This platform uses shared Apple code ([`drivers/apple`](drivers/apple)).
See also [`misc/dist/ios_xcode`](/misc/dist/ios_xcode) folder for the Xcode
project template used for packaging the iOS export templates.
## Documentation
The compiling and exporting process is the same as on iOS, but replacing the `ios` parameter by `visionos`.
- [Compiling for iOS](https://docs.godotengine.org/en/latest/engine_details/development/compiling/compiling_for_ios.html)
- Instructions on building this platform port from source.
- [Exporting for iOS](https://docs.godotengine.org/en/latest/tutorials/export/exporting_for_ios.html)
- Instructions on using the compiled export templates to export a project.

29
platform/visionos/SCsub Normal file
View File

@@ -0,0 +1,29 @@
#!/usr/bin/env python
from misc.utility.scons_hints import *
from platform_visionos_builders import generate_bundle
from platform_methods import combine_libs_apple_embedded
Import("env")
visionos_lib = [
"display_layer_visionos.mm",
"display_server_visionos.mm",
"godot_view_visionos.mm",
"main_visionos.mm",
"os_visionos.mm",
]
env_visionos = env.Clone()
visionos_lib = env_visionos.add_library("visionos", visionos_lib)
# Enable module support
env_visionos.Append(CCFLAGS=["-fmodules", "-fcxx-modules"])
combine_command = env_visionos.Command(
"#bin/libgodot" + env_visionos["LIBSUFFIX"], [visionos_lib] + env_visionos["LIBS"], combine_libs_apple_embedded
)
if env["generate_bundle"]:
env.AlwaysBuild(env.CommandNoCache("generate_bundle", combine_command, env.Run(generate_bundle)))

View File

@@ -0,0 +1,48 @@
/**************************************************************************/
/* api.cpp */
/**************************************************************************/
/* This file is part of: */
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
/* Permission is hereby granted, free of charge, to any person obtaining */
/* a copy of this software and associated documentation files (the */
/* "Software"), to deal in the Software without restriction, including */
/* without limitation the rights to use, copy, modify, merge, publish, */
/* distribute, sublicense, and/or sell copies of the Software, and to */
/* permit persons to whom the Software is furnished to do so, subject to */
/* the following conditions: */
/* */
/* The above copyright notice and this permission notice shall be */
/* included in all copies or substantial portions of the Software. */
/* */
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#include "api.h"
#if defined(VISIONOS_ENABLED)
void register_visionos_api() {
godot_apple_embedded_plugins_initialize();
}
void unregister_visionos_api() {
godot_apple_embedded_plugins_deinitialize();
}
#else
void register_visionos_api() {}
void unregister_visionos_api() {}
#endif // VISIONOS_ENABLED

View File

@@ -0,0 +1,39 @@
/**************************************************************************/
/* api.h */
/**************************************************************************/
/* This file is part of: */
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
/* Permission is hereby granted, free of charge, to any person obtaining */
/* a copy of this software and associated documentation files (the */
/* "Software"), to deal in the Software without restriction, including */
/* without limitation the rights to use, copy, modify, merge, publish, */
/* distribute, sublicense, and/or sell copies of the Software, and to */
/* permit persons to whom the Software is furnished to do so, subject to */
/* the following conditions: */
/* */
/* The above copyright notice and this permission notice shall be */
/* included in all copies or substantial portions of the Software. */
/* */
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#pragma once
#if defined(VISIONOS_ENABLED)
extern void godot_apple_embedded_plugins_initialize();
extern void godot_apple_embedded_plugins_deinitialize();
#endif
void register_visionos_api();
void unregister_visionos_api();

160
platform/visionos/detect.py Normal file
View File

@@ -0,0 +1,160 @@
import os
import sys
from typing import TYPE_CHECKING
from methods import detect_darwin_sdk_path, detect_darwin_toolchain_path, print_warning
from platform_methods import validate_arch
if TYPE_CHECKING:
from SCons.Script.SConscript import SConsEnvironment
def get_name():
return "visionOS"
def can_build():
if sys.platform == "darwin" or ("OSXCROSS_VISIONOS" in os.environ):
return True
return False
def get_opts():
from SCons.Variables import BoolVariable
return [
# APPLE_TOOLCHAIN_PATH Example: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
(("APPLE_TOOLCHAIN_PATH", "IOS_TOOLCHAIN_PATH"), "Path to the Apple toolchain", ""),
("VISIONOS_SDK_PATH", "Path to the visionOS SDK", ""),
("apple_target_triple", "Triple for corresponding target Apple platform toolchain", ""),
BoolVariable("simulator", "Build for Simulator", False),
BoolVariable("generate_bundle", "Generate an APP bundle after building visionOS/macOS binaries", False),
]
def get_doc_classes():
return [
"EditorExportPlatformVisionOS",
]
def get_doc_path():
return "doc_classes"
def get_flags():
return {
"arch": "arm64",
"target": "template_debug",
"use_volk": False,
"metal": True,
"supported": ["metal", "mono"],
"builtin_pcre2_with_jit": False,
"vulkan": False,
"opengl3": False,
}
def configure(env: "SConsEnvironment"):
# Validate arch.
supported_arches = ["x86_64", "arm64"]
validate_arch(env["arch"], get_name(), supported_arches)
detect_darwin_toolchain_path(env)
## LTO
if env["lto"] == "auto": # Disable by default as it makes linking in Xcode very slow.
env["lto"] = "none"
if env["lto"] != "none":
if env["lto"] == "thin":
env.Append(CCFLAGS=["-flto=thin"])
env.Append(LINKFLAGS=["-flto=thin"])
else:
env.Append(CCFLAGS=["-flto"])
env.Append(LINKFLAGS=["-flto"])
## Compiler configuration
# Save this in environment for use by other modules
if "OSXCROSS_VISIONOS" in os.environ:
env["osxcross"] = True
env["ENV"]["PATH"] = env["APPLE_TOOLCHAIN_PATH"] + "/Developer/usr/bin/:" + env["ENV"]["PATH"]
compiler_path = "$APPLE_TOOLCHAIN_PATH/usr/bin/${apple_target_triple}"
ccache_path = os.environ.get("CCACHE")
if ccache_path is None:
env["CC"] = compiler_path + "clang"
env["CXX"] = compiler_path + "clang++"
env["S_compiler"] = compiler_path + "clang"
else:
# there aren't any ccache wrappers available for visionOS,
# to enable caching we need to prepend the path to the ccache binary
env["CC"] = ccache_path + " " + compiler_path + "clang"
env["CXX"] = ccache_path + " " + compiler_path + "clang++"
env["S_compiler"] = ccache_path + " " + compiler_path + "clang"
env["AR"] = compiler_path + "ar"
env["RANLIB"] = compiler_path + "ranlib"
## Compile flags
if env["simulator"]:
detect_darwin_sdk_path("visionossimulator", env)
env.Append(ASFLAGS=["-mtargetos=xros2.0-simulator"])
env.Append(CCFLAGS=["-mtargetos=xros2.0-simulator"])
env.Append(CPPDEFINES=["VISIONOS_SIMULATOR"])
env.extra_suffix = ".simulator" + env.extra_suffix
else:
detect_darwin_sdk_path("visionos", env)
env.Append(ASFLAGS=["-mtargetos=xros2.0"])
env.Append(CCFLAGS=["-mtargetos=xros2.0"])
if env["arch"] == "arm64":
env.Append(
CCFLAGS=(
"-fobjc-arc -arch arm64 -fmessage-length=0"
" -fdiagnostics-print-source-range-info -fdiagnostics-show-category=id -fdiagnostics-parseable-fixits"
" -fpascal-strings -fblocks -fvisibility=hidden -MMD -MT dependencies"
" -isysroot $VISIONOS_SDK_PATH".split()
)
)
env.Append(ASFLAGS=["-arch", "arm64"])
# Temp fix for ABS/MAX/MIN macros in visionOS SDK blocking compilation
env.Append(CCFLAGS=["-Wno-ambiguous-macro"])
env.Prepend(
CPPPATH=[
"$VISIONOS_SDK_PATH/usr/include",
"$VISIONOS_SDK_PATH/System/Library/Frameworks/AudioUnit.framework/Headers",
]
)
env.Prepend(CPPPATH=["#platform/visionos"])
env.Append(CPPDEFINES=["VISIONOS_ENABLED", "APPLE_EMBEDDED_ENABLED", "UNIX_ENABLED", "COREAUDIO_ENABLED"])
if env["vulkan"]:
print_warning("The visionOS platform does not support the Vulkan rendering driver")
env["vulkan"] = False
if env["metal"] and env["simulator"]:
print_warning("visionOS Simulator does not support the Metal rendering driver")
env["metal"] = False
if env["metal"]:
env.AppendUnique(CPPDEFINES=["METAL_ENABLED", "RD_ENABLED"])
env.Prepend(
CPPPATH=[
"$VISIONOS_SDK_PATH/System/Library/Frameworks/Metal.framework/Headers",
"$VISIONOS_SDK_PATH/System/Library/Frameworks/MetalFX.framework/Headers",
"$VISIONOS_SDK_PATH/System/Library/Frameworks/QuartzCore.framework/Headers",
]
)
env.Prepend(CPPPATH=["#thirdparty/spirv-cross"])
if env["opengl3"]:
print_warning("The visionOS platform does not support the OpenGL rendering driver")
env["opengl3"] = False

View File

@@ -0,0 +1,36 @@
/**************************************************************************/
/* display_layer_visionos.h */
/**************************************************************************/
/* This file is part of: */
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
/* Permission is hereby granted, free of charge, to any person obtaining */
/* a copy of this software and associated documentation files (the */
/* "Software"), to deal in the Software without restriction, including */
/* without limitation the rights to use, copy, modify, merge, publish, */
/* distribute, sublicense, and/or sell copies of the Software, and to */
/* permit persons to whom the Software is furnished to do so, subject to */
/* the following conditions: */
/* */
/* The above copyright notice and this permission notice shall be */
/* included in all copies or substantial portions of the Software. */
/* */
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#pragma once
#include "drivers/apple_embedded/display_layer_apple_embedded.h"
@interface GDTMetalLayer : CAMetalLayer <GDTDisplayLayer>
@end

View File

@@ -0,0 +1,47 @@
/**************************************************************************/
/* display_layer_visionos.mm */
/**************************************************************************/
/* This file is part of: */
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
/* Permission is hereby granted, free of charge, to any person obtaining */
/* a copy of this software and associated documentation files (the */
/* "Software"), to deal in the Software without restriction, including */
/* without limitation the rights to use, copy, modify, merge, publish, */
/* distribute, sublicense, and/or sell copies of the Software, and to */
/* permit persons to whom the Software is furnished to do so, subject to */
/* the following conditions: */
/* */
/* The above copyright notice and this permission notice shall be */
/* included in all copies or substantial portions of the Software. */
/* */
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#import "display_layer_visionos.h"
@implementation GDTMetalLayer
- (void)initializeDisplayLayer {
}
- (void)layoutDisplayLayer {
}
- (void)startRenderDisplayLayer {
}
- (void)stopRenderDisplayLayer {
}
@end

View File

@@ -0,0 +1,54 @@
/**************************************************************************/
/* display_server_visionos.h */
/**************************************************************************/
/* This file is part of: */
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
/* Permission is hereby granted, free of charge, to any person obtaining */
/* a copy of this software and associated documentation files (the */
/* "Software"), to deal in the Software without restriction, including */
/* without limitation the rights to use, copy, modify, merge, publish, */
/* distribute, sublicense, and/or sell copies of the Software, and to */
/* permit persons to whom the Software is furnished to do so, subject to */
/* the following conditions: */
/* */
/* The above copyright notice and this permission notice shall be */
/* included in all copies or substantial portions of the Software. */
/* */
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#pragma once
#include "drivers/apple_embedded/display_server_apple_embedded.h"
class DisplayServerVisionOS : public DisplayServerAppleEmbedded {
GDSOFTCLASS(DisplayServerVisionOS, DisplayServerAppleEmbedded);
_THREAD_SAFE_CLASS_
DisplayServerVisionOS(const String &p_rendering_driver, DisplayServer::WindowMode p_mode, DisplayServer::VSyncMode p_vsync_mode, uint32_t p_flags, const Vector2i *p_position, const Vector2i &p_resolution, int p_screen, Context p_context, int64_t p_parent_window, Error &r_error);
~DisplayServerVisionOS();
public:
static DisplayServerVisionOS *get_singleton();
static void register_visionos_driver();
static DisplayServer *create_func(const String &p_rendering_driver, WindowMode p_mode, DisplayServer::VSyncMode p_vsync_mode, uint32_t p_flags, const Vector2i *p_position, const Vector2i &p_resolution, int p_screen, Context p_context, int64_t p_parent_window, Error &r_error);
virtual String get_name() const override;
virtual int screen_get_dpi(int p_screen = SCREEN_OF_MAIN_WINDOW) const override;
virtual float screen_get_scale(int p_screen = SCREEN_OF_MAIN_WINDOW) const override;
virtual float screen_get_refresh_rate(int p_screen = SCREEN_OF_MAIN_WINDOW) const override;
};

View File

@@ -0,0 +1,79 @@
/**************************************************************************/
/* display_server_visionos.mm */
/**************************************************************************/
/* This file is part of: */
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
/* Permission is hereby granted, free of charge, to any person obtaining */
/* a copy of this software and associated documentation files (the */
/* "Software"), to deal in the Software without restriction, including */
/* without limitation the rights to use, copy, modify, merge, publish, */
/* distribute, sublicense, and/or sell copies of the Software, and to */
/* permit persons to whom the Software is furnished to do so, subject to */
/* the following conditions: */
/* */
/* The above copyright notice and this permission notice shall be */
/* included in all copies or substantial portions of the Software. */
/* */
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#import "display_server_visionos.h"
DisplayServerVisionOS *DisplayServerVisionOS::get_singleton() {
return (DisplayServerVisionOS *)DisplayServerAppleEmbedded::get_singleton();
}
DisplayServerVisionOS::DisplayServerVisionOS(const String &p_rendering_driver, WindowMode p_mode, DisplayServer::VSyncMode p_vsync_mode, uint32_t p_flags, const Vector2i *p_position, const Vector2i &p_resolution, int p_screen, Context p_context, int64_t p_parent_window, Error &r_error) :
DisplayServerAppleEmbedded(p_rendering_driver, p_mode, p_vsync_mode, p_flags, p_position, p_resolution, p_screen, p_context, p_parent_window, r_error) {
}
DisplayServerVisionOS::~DisplayServerVisionOS() {
}
DisplayServer *DisplayServerVisionOS::create_func(const String &p_rendering_driver, WindowMode p_mode, DisplayServer::VSyncMode p_vsync_mode, uint32_t p_flags, const Vector2i *p_position, const Vector2i &p_resolution, int p_screen, Context p_context, int64_t p_parent_window, Error &r_error) {
return memnew(DisplayServerVisionOS(p_rendering_driver, p_mode, p_vsync_mode, p_flags, p_position, p_resolution, p_screen, p_context, p_parent_window, r_error));
}
void DisplayServerVisionOS::register_visionos_driver() {
register_create_function("visionOS", create_func, get_rendering_drivers_func);
}
String DisplayServerVisionOS::get_name() const {
return "visionOS";
}
int DisplayServerVisionOS::screen_get_dpi(int p_screen) const {
p_screen = _get_screen_index(p_screen);
int screen_count = get_screen_count();
ERR_FAIL_INDEX_V(p_screen, screen_count, 72);
// TODO(Apple): Compute this properly from SwiftUI Metric APIs
return 72;
}
float DisplayServerVisionOS::screen_get_refresh_rate(int p_screen) const {
p_screen = _get_screen_index(p_screen);
int screen_count = get_screen_count();
ERR_FAIL_INDEX_V(p_screen, screen_count, SCREEN_REFRESH_RATE_FALLBACK);
return 90;
}
float DisplayServerVisionOS::screen_get_scale(int p_screen) const {
p_screen = _get_screen_index(p_screen);
int screen_count = get_screen_count();
ERR_FAIL_INDEX_V(p_screen, screen_count, 1.0f);
return 1;
}

View File

@@ -0,0 +1,593 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="EditorExportPlatformVisionOS" inherits="EditorExportPlatformAppleEmbedded" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
<brief_description>
Exporter for visionOS.
</brief_description>
<description>
</description>
<tutorials>
<link title="Exporting for iOS">$DOCS_URL/tutorials/export/exporting_for_ios.html</link>
<link title="iOS plugins documentation index">$DOCS_URL/tutorials/platform/ios/index.html</link>
</tutorials>
<members>
<member name="application/additional_plist_content" type="String" setter="" getter="">
Additional data added to the root [code]&lt;dict&gt;[/code] section of the [url=https://developer.apple.com/documentation/bundleresources/information_property_list]Info.plist[/url] file. The value should be an XML section with pairs of key-value elements, e.g.:
[codeblock lang=text]
&lt;key&gt;key_name&lt;/key&gt;
&lt;string&gt;value&lt;/string&gt;
[/codeblock]
</member>
<member name="application/app_store_team_id" type="String" setter="" getter="">
Apple Team ID, unique 10-character string. To locate your Team ID check "Membership details" section in your Apple developer account dashboard, or "Organizational Unit" of your code signing certificate. See [url=https://developer.apple.com/help/account/manage-your-team/locate-your-team-id]Locate your Team ID[/url].
</member>
<member name="application/bundle_identifier" type="String" setter="" getter="">
Unique application identifier in a reverse-DNS format, can only contain alphanumeric characters ([code]A-Z[/code], [code]a-z[/code], and [code]0-9[/code]), hyphens ([code]-[/code]), and periods ([code].[/code]).
</member>
<member name="application/code_sign_identity_debug" type="String" setter="" getter="">
The "Full Name", "Common Name" or SHA-1 hash of the signing identity used for debug export.
</member>
<member name="application/code_sign_identity_release" type="String" setter="" getter="">
The "Full Name", "Common Name" or SHA-1 hash of the signing identity used for release export.
</member>
<member name="application/delete_old_export_files_unconditionally" type="bool" setter="" getter="">
If [code]true[/code], existing "project name" and "project name.xcodeproj" in the export destination directory will be unconditionally deleted during export.
</member>
<member name="application/export_method_debug" type="int" setter="" getter="">
Application distribution target (debug export).
</member>
<member name="application/export_method_release" type="int" setter="" getter="">
Application distribution target (release export).
</member>
<member name="application/export_project_only" type="bool" setter="" getter="">
If [code]true[/code], exports iOS project files without building an XCArchive or [code].ipa[/code] file. If [code]false[/code], exports iOS project files and builds an XCArchive and [code].ipa[/code] file at the same time. When combining Godot with Fastlane or other build pipelines, you may want to set this to [code]true[/code].
</member>
<member name="application/icon_interpolation" type="int" setter="" getter="">
Interpolation method used to resize application icon.
</member>
<member name="application/min_visionos_version" type="String" setter="" getter="">
</member>
<member name="application/provisioning_profile_specifier_debug" type="String" setter="" getter="">
Name of the provisioning profile. Sets XCode PROVISIONING_PROFILE_SPECIFIER for debug. [url=https://developer.apple.com/documentation/xcode/build-settings-reference#Provisioning-Profile]Used for manual provisioning[/url].
Can be overridden with the environment variable [code]GODOT_APPLE_PLATFORM_PROFILE_SPECIFIER_DEBUG[/code].
</member>
<member name="application/provisioning_profile_specifier_release" type="String" setter="" getter="">
Name of the provisioning profile. Sets XCode PROVISIONING_PROFILE_SPECIFIER for release. [url=https://developer.apple.com/documentation/xcode/build-settings-reference#Provisioning-Profile]Used for manual provisioning[/url].
Can be overridden with the environment variable [code]GODOT_APPLE_PLATFORM_PROFILE_SPECIFIER_RELEASE[/code].
</member>
<member name="application/provisioning_profile_uuid_debug" type="String" setter="" getter="">
UUID of the provisioning profile. If left empty, Xcode will download or create a provisioning profile automatically. See [url=https://developer.apple.com/help/account/manage-profiles/edit-download-or-delete-profiles]Edit, download, or delete provisioning profiles[/url].
Can be overridden with the environment variable [code]GODOT_APPLE_PLATFORM_PROVISIONING_PROFILE_UUID_DEBUG[/code].
</member>
<member name="application/provisioning_profile_uuid_release" type="String" setter="" getter="">
UUID of the provisioning profile. If left empty, Xcode will download or create a provisioning profile automatically. See [url=https://developer.apple.com/help/account/manage-profiles/edit-download-or-delete-profiles]Edit, download, or delete provisioning profiles[/url].
Can be overridden with the environment variable [code]GODOT_APPLE_PLATFORM_PROVISIONING_PROFILE_UUID_RELEASE[/code].
</member>
<member name="application/short_version" type="String" setter="" getter="">
Application version visible to the user. Can only contain numeric characters ([code]0-9[/code]) and periods ([code].[/code]). Falls back to [member ProjectSettings.application/config/version] if left empty.
[b]Note:[/b] This value is used for the [i]Identity &gt; Version[/i] value in the generated Xcode project.
</member>
<member name="application/signature" type="String" setter="" getter="">
A four-character creator code that is specific to the bundle. Optional.
</member>
<member name="application/version" type="String" setter="" getter="">
Machine-readable application version in the [code]major.minor.patch[/code] format. Can only contain numeric characters ([code]0-9[/code]) and periods ([code].[/code]). This must be incremented with every new release pushed to the App Store. Falls back to [member ProjectSettings.application/config/version] if left empty.
[b]Note:[/b] This value is used for the [i]Identity &gt; Build[/i] value in the generated Xcode project.
</member>
<member name="architectures/arm64" type="bool" setter="" getter="">
If [code]true[/code], [code]arm64[/code] binaries are included into exported project.
</member>
<member name="capabilities/access_wifi" type="bool" setter="" getter="">
If [code]true[/code], networking features related to Wi-Fi access are enabled. See [url=https://developer.apple.com/support/required-device-capabilities/]Required Device Capabilities[/url].
</member>
<member name="capabilities/additional" type="PackedStringArray" setter="" getter="">
Additional data added to the [code]UIRequiredDeviceCapabilities[/code] array of the [code]Info.plist[/code] file.
</member>
<member name="capabilities/performance_a12" type="bool" setter="" getter="">
Requires the graphics performance and features of the A12 Bionic and later chips (devices supporting all Vulkan renderer features).
Enabling this option limits supported devices to: iPhone XS, iPhone XR, iPad Mini (5th gen.), iPad Air (3rd gen.), iPad (8th gen) and newer.
</member>
<member name="capabilities/performance_gaming_tier" type="bool" setter="" getter="">
Requires the graphics performance and features of the A17 Pro and later chips.
Enabling this option limits supported devices to: iPhone 15 Pro and newer.
</member>
<member name="custom_template/debug" type="String" setter="" getter="">
Path to the custom export template. If left empty, default template is used.
</member>
<member name="custom_template/release" type="String" setter="" getter="">
Path to the custom export template. If left empty, default template is used.
</member>
<member name="entitlements/additional" type="String" setter="" getter="">
Additional data added to the root [code]&lt;dict&gt;[/code] section of the [url=https://developer.apple.com/documentation/bundleresources/entitlements].entitlements[/url] file. The value should be an XML section with pairs of key-value elements, for example:
[codeblock lang=text]
&lt;key&gt;key_name&lt;/key&gt;
&lt;string&gt;value&lt;/string&gt;
[/codeblock]
</member>
<member name="entitlements/game_center" type="bool" setter="" getter="">
If [code]true[/code], allows access to Game Center features. See [url=https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_developer_game-center]com.apple.developer.game-center[/url].
</member>
<member name="entitlements/increased_memory_limit" type="bool" setter="" getter="">
If [code]true[/code], hints that the app might perform better with a higher memory limit. See [url=https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_developer_kernel_increased-memory-limit]com.apple.developer.kernel.increased-memory-limit[/url].
</member>
<member name="entitlements/push_notifications" type="String" setter="" getter="">
Environment for Apple Push Notification service. See [url=https://developer.apple.com/documentation/bundleresources/entitlements/aps-environment]aps-environment[/url].
</member>
<member name="icons/icon_1024x1024" type="String" setter="" getter="">
Base application icon used to generate other icons. If left empty, it will fallback to [member ProjectSettings.application/config/icon]. See [url=https://developer.apple.com/design/human-interface-guidelines/foundations/app-icons]App icons[/url].
</member>
<member name="icons/icon_1024x1024_dark" type="String" setter="" getter="">
Base application icon used to generate other icons, dark version. See [url=https://developer.apple.com/design/human-interface-guidelines/foundations/app-icons]App icons[/url].
</member>
<member name="icons/icon_1024x1024_tinted" type="String" setter="" getter="">
Base application icon used to generate other icons, tinted version. See [url=https://developer.apple.com/design/human-interface-guidelines/foundations/app-icons]App icons[/url].
</member>
<member name="privacy/active_keyboard_access_reasons" type="int" setter="" getter="">
The reasons your app use active keyboard API. See [url=https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api]Describing use of required reason API[/url].
</member>
<member name="privacy/camera_usage_description" type="String" setter="" getter="">
A message displayed when requesting access to the device's camera (in English).
</member>
<member name="privacy/camera_usage_description_localized" type="Dictionary" setter="" getter="">
A message displayed when requesting access to the device's camera (localized).
</member>
<member name="privacy/collected_data/advertising_data/collected" type="bool" setter="" getter="">
Indicates whether your app collects advertising data.
</member>
<member name="privacy/collected_data/advertising_data/collection_purposes" type="int" setter="" getter="">
The reasons your app collects advertising data. See [url=https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_data_use_in_privacy_manifests]Describing data use in privacy manifests[/url].
</member>
<member name="privacy/collected_data/advertising_data/linked_to_user" type="bool" setter="" getter="">
Indicates whether your app links advertising data to the user's identity.
</member>
<member name="privacy/collected_data/advertising_data/used_for_tracking" type="bool" setter="" getter="">
Indicates whether your app uses advertising data for tracking.
</member>
<member name="privacy/collected_data/audio_data/collected" type="bool" setter="" getter="">
Indicates whether your app collects audio data.
</member>
<member name="privacy/collected_data/audio_data/collection_purposes" type="int" setter="" getter="">
The reasons your app collects audio data. See [url=https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_data_use_in_privacy_manifests]Describing data use in privacy manifests[/url].
</member>
<member name="privacy/collected_data/audio_data/linked_to_user" type="bool" setter="" getter="">
Indicates whether your app links audio data to the user's identity.
</member>
<member name="privacy/collected_data/audio_data/used_for_tracking" type="bool" setter="" getter="">
Indicates whether your app uses audio data for tracking.
</member>
<member name="privacy/collected_data/browsing_history/collected" type="bool" setter="" getter="">
Indicates whether your app collects browsing history.
</member>
<member name="privacy/collected_data/browsing_history/collection_purposes" type="int" setter="" getter="">
The reasons your app collects browsing history. See [url=https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_data_use_in_privacy_manifests]Describing data use in privacy manifests[/url].
</member>
<member name="privacy/collected_data/browsing_history/linked_to_user" type="bool" setter="" getter="">
Indicates whether your app links browsing history to the user's identity.
</member>
<member name="privacy/collected_data/browsing_history/used_for_tracking" type="bool" setter="" getter="">
Indicates whether your app uses browsing history for tracking.
</member>
<member name="privacy/collected_data/coarse_location/collected" type="bool" setter="" getter="">
Indicates whether your app collects coarse location data.
</member>
<member name="privacy/collected_data/coarse_location/collection_purposes" type="int" setter="" getter="">
The reasons your app collects coarse location data. See [url=https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_data_use_in_privacy_manifests]Describing data use in privacy manifests[/url].
</member>
<member name="privacy/collected_data/coarse_location/linked_to_user" type="bool" setter="" getter="">
Indicates whether your app links coarse location data to the user's identity.
</member>
<member name="privacy/collected_data/coarse_location/used_for_tracking" type="bool" setter="" getter="">
Indicates whether your app uses coarse location data for tracking.
</member>
<member name="privacy/collected_data/contacts/collected" type="bool" setter="" getter="">
Indicates whether your app collects contacts.
</member>
<member name="privacy/collected_data/contacts/collection_purposes" type="int" setter="" getter="">
The reasons your app collects contacts. See [url=https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_data_use_in_privacy_manifests]Describing data use in privacy manifests[/url].
</member>
<member name="privacy/collected_data/contacts/linked_to_user" type="bool" setter="" getter="">
Indicates whether your app links contacts to the user's identity.
</member>
<member name="privacy/collected_data/contacts/used_for_tracking" type="bool" setter="" getter="">
Indicates whether your app uses contacts for tracking.
</member>
<member name="privacy/collected_data/crash_data/collected" type="bool" setter="" getter="">
Indicates whether your app collects crash data.
</member>
<member name="privacy/collected_data/crash_data/collection_purposes" type="int" setter="" getter="">
The reasons your app collects crash data. See [url=https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_data_use_in_privacy_manifests]Describing data use in privacy manifests[/url].
</member>
<member name="privacy/collected_data/crash_data/linked_to_user" type="bool" setter="" getter="">
Indicates whether your app links crash data to the user's identity.
</member>
<member name="privacy/collected_data/crash_data/used_for_tracking" type="bool" setter="" getter="">
Indicates whether your app uses crash data for tracking.
</member>
<member name="privacy/collected_data/credit_info/collected" type="bool" setter="" getter="">
Indicates whether your app collects credit information.
</member>
<member name="privacy/collected_data/credit_info/collection_purposes" type="int" setter="" getter="">
The reasons your app collects credit information. See [url=https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_data_use_in_privacy_manifests]Describing data use in privacy manifests[/url].
</member>
<member name="privacy/collected_data/credit_info/linked_to_user" type="bool" setter="" getter="">
Indicates whether your app links credit information to the user's identity.
</member>
<member name="privacy/collected_data/credit_info/used_for_tracking" type="bool" setter="" getter="">
Indicates whether your app uses credit information for tracking.
</member>
<member name="privacy/collected_data/customer_support/collected" type="bool" setter="" getter="">
Indicates whether your app collects customer support data.
</member>
<member name="privacy/collected_data/customer_support/collection_purposes" type="int" setter="" getter="">
The reasons your app collects customer support data. See [url=https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_data_use_in_privacy_manifests]Describing data use in privacy manifests[/url].
</member>
<member name="privacy/collected_data/customer_support/linked_to_user" type="bool" setter="" getter="">
Indicates whether your app links customer support data to the user's identity.
</member>
<member name="privacy/collected_data/customer_support/used_for_tracking" type="bool" setter="" getter="">
Indicates whether your app uses customer support data for tracking.
</member>
<member name="privacy/collected_data/device_id/collected" type="bool" setter="" getter="">
Indicates whether your app collects device IDs.
</member>
<member name="privacy/collected_data/device_id/collection_purposes" type="int" setter="" getter="">
The reasons your app collects device IDs. See [url=https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_data_use_in_privacy_manifests]Describing data use in privacy manifests[/url].
</member>
<member name="privacy/collected_data/device_id/linked_to_user" type="bool" setter="" getter="">
Indicates whether your app links device IDs to the user's identity.
</member>
<member name="privacy/collected_data/device_id/used_for_tracking" type="bool" setter="" getter="">
Indicates whether your app uses device IDs for tracking.
</member>
<member name="privacy/collected_data/email_address/collected" type="bool" setter="" getter="">
Indicates whether your app collects email address.
</member>
<member name="privacy/collected_data/email_address/collection_purposes" type="int" setter="" getter="">
The reasons your app collects email address. See [url=https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_data_use_in_privacy_manifests]Describing data use in privacy manifests[/url].
</member>
<member name="privacy/collected_data/email_address/linked_to_user" type="bool" setter="" getter="">
Indicates whether your app links email address to the user's identity.
</member>
<member name="privacy/collected_data/email_address/used_for_tracking" type="bool" setter="" getter="">
Indicates whether your app uses email address for tracking.
</member>
<member name="privacy/collected_data/emails_or_text_messages/collected" type="bool" setter="" getter="">
Indicates whether your app collects emails or text messages.
</member>
<member name="privacy/collected_data/emails_or_text_messages/collection_purposes" type="int" setter="" getter="">
The reasons your app collects emails or text messages. See [url=https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_data_use_in_privacy_manifests]Describing data use in privacy manifests[/url].
</member>
<member name="privacy/collected_data/emails_or_text_messages/linked_to_user" type="bool" setter="" getter="">
Indicates whether your app links emails or text messages to the user's identity.
</member>
<member name="privacy/collected_data/emails_or_text_messages/used_for_tracking" type="bool" setter="" getter="">
Indicates whether your app uses emails or text messages for tracking.
</member>
<member name="privacy/collected_data/environment_scanning/collected" type="bool" setter="" getter="">
Indicates whether your app collects environment scanning data.
</member>
<member name="privacy/collected_data/environment_scanning/collection_purposes" type="int" setter="" getter="">
The reasons your app collects environment scanning data. See [url=https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_data_use_in_privacy_manifests]Describing data use in privacy manifests[/url].
</member>
<member name="privacy/collected_data/environment_scanning/linked_to_user" type="bool" setter="" getter="">
Indicates whether your app links environment scanning data to the user's identity.
</member>
<member name="privacy/collected_data/environment_scanning/used_for_tracking" type="bool" setter="" getter="">
Indicates whether your app uses environment scanning data for tracking.
</member>
<member name="privacy/collected_data/fitness/collected" type="bool" setter="" getter="">
Indicates whether your app collects fitness and exercise data.
</member>
<member name="privacy/collected_data/fitness/collection_purposes" type="int" setter="" getter="">
The reasons your app collects fitness and exercise data. See [url=https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_data_use_in_privacy_manifests]Describing data use in privacy manifests[/url].
</member>
<member name="privacy/collected_data/fitness/linked_to_user" type="bool" setter="" getter="">
Indicates whether your app links fitness and exercise data to the user's identity.
</member>
<member name="privacy/collected_data/fitness/used_for_tracking" type="bool" setter="" getter="">
Indicates whether your app uses fitness and exercise data for tracking.
</member>
<member name="privacy/collected_data/gameplay_content/collected" type="bool" setter="" getter="">
Indicates whether your app collects gameplay content.
</member>
<member name="privacy/collected_data/gameplay_content/collection_purposes" type="int" setter="" getter="">
The reasons your app collects gameplay content. See [url=https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_data_use_in_privacy_manifests]Describing data use in privacy manifests[/url].
</member>
<member name="privacy/collected_data/gameplay_content/linked_to_user" type="bool" setter="" getter="">
Indicates whether your app links gameplay content to the user's identity.
</member>
<member name="privacy/collected_data/gameplay_content/used_for_tracking" type="bool" setter="" getter="">
Indicates whether your app uses gameplay content for tracking.
</member>
<member name="privacy/collected_data/hands/collected" type="bool" setter="" getter="">
Indicates whether your app collects user's hand structure and hand movements.
</member>
<member name="privacy/collected_data/hands/collection_purposes" type="int" setter="" getter="">
The reasons your app collects user's hand structure and hand movements. See [url=https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_data_use_in_privacy_manifests]Describing data use in privacy manifests[/url].
</member>
<member name="privacy/collected_data/hands/linked_to_user" type="bool" setter="" getter="">
Indicates whether your app links user's hand structure and hand movements to the user's identity.
</member>
<member name="privacy/collected_data/hands/used_for_tracking" type="bool" setter="" getter="">
Indicates whether your app uses user's hand structure and hand movements for tracking.
</member>
<member name="privacy/collected_data/head/collected" type="bool" setter="" getter="">
Indicates whether your app collects user's head movement.
</member>
<member name="privacy/collected_data/head/collection_purposes" type="int" setter="" getter="">
The reasons your app collects user's head movement. See [url=https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_data_use_in_privacy_manifests]Describing data use in privacy manifests[/url].
</member>
<member name="privacy/collected_data/head/linked_to_user" type="bool" setter="" getter="">
Indicates whether your app links user's head movement to the user's identity.
</member>
<member name="privacy/collected_data/head/used_for_tracking" type="bool" setter="" getter="">
Indicates whether your app uses user's head movement for tracking.
</member>
<member name="privacy/collected_data/health/collected" type="bool" setter="" getter="">
Indicates whether your app collects health and medical data.
</member>
<member name="privacy/collected_data/health/collection_purposes" type="int" setter="" getter="">
The reasons your app collects health and medical data. See [url=https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_data_use_in_privacy_manifests]Describing data use in privacy manifests[/url].
</member>
<member name="privacy/collected_data/health/linked_to_user" type="bool" setter="" getter="">
Indicates whether your app links health and medical data to the user's identity.
</member>
<member name="privacy/collected_data/health/used_for_tracking" type="bool" setter="" getter="">
Indicates whether your app uses health and medical data for tracking.
</member>
<member name="privacy/collected_data/name/collected" type="bool" setter="" getter="">
Indicates whether your app collects user's name.
</member>
<member name="privacy/collected_data/name/collection_purposes" type="int" setter="" getter="">
The reasons your app collects user's name. See [url=https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_data_use_in_privacy_manifests]Describing data use in privacy manifests[/url].
</member>
<member name="privacy/collected_data/name/linked_to_user" type="bool" setter="" getter="">
Indicates whether your app links user's name to the user's identity.
</member>
<member name="privacy/collected_data/name/used_for_tracking" type="bool" setter="" getter="">
Indicates whether your app uses user's name for tracking.
</member>
<member name="privacy/collected_data/other_contact_info/collected" type="bool" setter="" getter="">
Indicates whether your app collects any other contact information.
</member>
<member name="privacy/collected_data/other_contact_info/collection_purposes" type="int" setter="" getter="">
The reasons your app collects any other contact information. See [url=https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_data_use_in_privacy_manifests]Describing data use in privacy manifests[/url].
</member>
<member name="privacy/collected_data/other_contact_info/linked_to_user" type="bool" setter="" getter="">
Indicates whether your app links any other contact information to the user's identity.
</member>
<member name="privacy/collected_data/other_contact_info/used_for_tracking" type="bool" setter="" getter="">
Indicates whether your app uses any other contact information for tracking.
</member>
<member name="privacy/collected_data/other_data_types/collected" type="bool" setter="" getter="">
Indicates whether your app collects any other data.
</member>
<member name="privacy/collected_data/other_data_types/collection_purposes" type="int" setter="" getter="">
The reasons your app collects any other data. See [url=https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_data_use_in_privacy_manifests]Describing data use in privacy manifests[/url].
</member>
<member name="privacy/collected_data/other_data_types/linked_to_user" type="bool" setter="" getter="">
Indicates whether your app links any other data to the user's identity.
</member>
<member name="privacy/collected_data/other_data_types/used_for_tracking" type="bool" setter="" getter="">
Indicates whether your app uses any other data for tracking.
</member>
<member name="privacy/collected_data/other_diagnostic_data/collected" type="bool" setter="" getter="">
Indicates whether your app collects any other diagnostic data.
</member>
<member name="privacy/collected_data/other_diagnostic_data/collection_purposes" type="int" setter="" getter="">
The reasons your app collects any other diagnostic data. See [url=https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_data_use_in_privacy_manifests]Describing data use in privacy manifests[/url].
</member>
<member name="privacy/collected_data/other_diagnostic_data/linked_to_user" type="bool" setter="" getter="">
Indicates whether your app links any other diagnostic data to the user's identity.
</member>
<member name="privacy/collected_data/other_diagnostic_data/used_for_tracking" type="bool" setter="" getter="">
Indicates whether your app uses any other diagnostic data for tracking.
</member>
<member name="privacy/collected_data/other_financial_info/collected" type="bool" setter="" getter="">
Indicates whether your app collects any other financial information.
</member>
<member name="privacy/collected_data/other_financial_info/collection_purposes" type="int" setter="" getter="">
The reasons your app collects any other financial information. See [url=https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_data_use_in_privacy_manifests]Describing data use in privacy manifests[/url].
</member>
<member name="privacy/collected_data/other_financial_info/linked_to_user" type="bool" setter="" getter="">
Indicates whether your app links any other financial information to the user's identity.
</member>
<member name="privacy/collected_data/other_financial_info/used_for_tracking" type="bool" setter="" getter="">
Indicates whether your app uses any other financial information for tracking.
</member>
<member name="privacy/collected_data/other_usage_data/collected" type="bool" setter="" getter="">
Indicates whether your app collects any other usage data.
</member>
<member name="privacy/collected_data/other_usage_data/collection_purposes" type="int" setter="" getter="">
The reasons your app collects any other usage data. See [url=https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_data_use_in_privacy_manifests]Describing data use in privacy manifests[/url].
</member>
<member name="privacy/collected_data/other_usage_data/linked_to_user" type="bool" setter="" getter="">
Indicates whether your app links any other usage data to the user's identity.
</member>
<member name="privacy/collected_data/other_usage_data/used_for_tracking" type="bool" setter="" getter="">
Indicates whether your app uses any other usage data for tracking.
</member>
<member name="privacy/collected_data/other_user_content/collected" type="bool" setter="" getter="">
Indicates whether your app collects any other user generated content.
</member>
<member name="privacy/collected_data/other_user_content/collection_purposes" type="int" setter="" getter="">
The reasons your app collects any other user generated content. See [url=https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_data_use_in_privacy_manifests]Describing data use in privacy manifests[/url].
</member>
<member name="privacy/collected_data/other_user_content/linked_to_user" type="bool" setter="" getter="">
Indicates whether your app links any other user generated content to the user's identity.
</member>
<member name="privacy/collected_data/other_user_content/used_for_tracking" type="bool" setter="" getter="">
Indicates whether your app uses any other user generated content for tracking.
</member>
<member name="privacy/collected_data/payment_info/collected" type="bool" setter="" getter="">
Indicates whether your app collects payment information.
</member>
<member name="privacy/collected_data/payment_info/collection_purposes" type="int" setter="" getter="">
The reasons your app collects payment information. See [url=https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_data_use_in_privacy_manifests]Describing data use in privacy manifests[/url].
</member>
<member name="privacy/collected_data/payment_info/linked_to_user" type="bool" setter="" getter="">
Indicates whether your app links payment information to the user's identity.
</member>
<member name="privacy/collected_data/payment_info/used_for_tracking" type="bool" setter="" getter="">
Indicates whether your app uses payment information for tracking.
</member>
<member name="privacy/collected_data/performance_data/collected" type="bool" setter="" getter="">
Indicates whether your app collects performance data.
</member>
<member name="privacy/collected_data/performance_data/collection_purposes" type="int" setter="" getter="">
The reasons your app collects performance data. See [url=https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_data_use_in_privacy_manifests]Describing data use in privacy manifests[/url].
</member>
<member name="privacy/collected_data/performance_data/linked_to_user" type="bool" setter="" getter="">
Indicates whether your app links performance data to the user's identity.
</member>
<member name="privacy/collected_data/performance_data/used_for_tracking" type="bool" setter="" getter="">
Indicates whether your app uses performance data for tracking.
</member>
<member name="privacy/collected_data/phone_number/collected" type="bool" setter="" getter="">
Indicates whether your app collects phone number.
</member>
<member name="privacy/collected_data/phone_number/collection_purposes" type="int" setter="" getter="">
The reasons your app collects phone number. See [url=https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_data_use_in_privacy_manifests]Describing data use in privacy manifests[/url].
</member>
<member name="privacy/collected_data/phone_number/linked_to_user" type="bool" setter="" getter="">
Indicates whether your app links phone number to the user's identity.
</member>
<member name="privacy/collected_data/phone_number/used_for_tracking" type="bool" setter="" getter="">
Indicates whether your app uses phone number for tracking.
</member>
<member name="privacy/collected_data/photos_or_videos/collected" type="bool" setter="" getter="">
Indicates whether your app collects photos or videos.
</member>
<member name="privacy/collected_data/photos_or_videos/collection_purposes" type="int" setter="" getter="">
The reasons your app collects photos or videos. See [url=https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_data_use_in_privacy_manifests]Describing data use in privacy manifests[/url].
</member>
<member name="privacy/collected_data/photos_or_videos/linked_to_user" type="bool" setter="" getter="">
Indicates whether your app links photos or videos to the user's identity.
</member>
<member name="privacy/collected_data/photos_or_videos/used_for_tracking" type="bool" setter="" getter="">
Indicates whether your app uses photos or videos for tracking.
</member>
<member name="privacy/collected_data/physical_address/collected" type="bool" setter="" getter="">
Indicates whether your app collects physical address.
</member>
<member name="privacy/collected_data/physical_address/collection_purposes" type="int" setter="" getter="">
The reasons your app collects physical address. See [url=https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_data_use_in_privacy_manifests]Describing data use in privacy manifests[/url].
</member>
<member name="privacy/collected_data/physical_address/linked_to_user" type="bool" setter="" getter="">
Indicates whether your app links physical address to the user's identity.
</member>
<member name="privacy/collected_data/physical_address/used_for_tracking" type="bool" setter="" getter="">
Indicates whether your app uses physical address for tracking.
</member>
<member name="privacy/collected_data/precise_location/collected" type="bool" setter="" getter="">
Indicates whether your app collects precise location data.
</member>
<member name="privacy/collected_data/precise_location/collection_purposes" type="int" setter="" getter="">
The reasons your app collects precise location data. See [url=https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_data_use_in_privacy_manifests]Describing data use in privacy manifests[/url].
</member>
<member name="privacy/collected_data/precise_location/linked_to_user" type="bool" setter="" getter="">
Indicates whether your app links precise location data to the user's identity.
</member>
<member name="privacy/collected_data/precise_location/used_for_tracking" type="bool" setter="" getter="">
Indicates whether your app uses precise location data for tracking.
</member>
<member name="privacy/collected_data/product_interaction/collected" type="bool" setter="" getter="">
Indicates whether your app collects product interaction data.
</member>
<member name="privacy/collected_data/product_interaction/collection_purposes" type="int" setter="" getter="">
The reasons your app collects product interaction data. See [url=https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_data_use_in_privacy_manifests]Describing data use in privacy manifests[/url].
</member>
<member name="privacy/collected_data/product_interaction/linked_to_user" type="bool" setter="" getter="">
Indicates whether your app links product interaction data to the user's identity.
</member>
<member name="privacy/collected_data/product_interaction/used_for_tracking" type="bool" setter="" getter="">
Indicates whether your app uses product interaction data for tracking.
</member>
<member name="privacy/collected_data/purchase_history/collected" type="bool" setter="" getter="">
Indicates whether your app collects purchase history.
</member>
<member name="privacy/collected_data/purchase_history/collection_purposes" type="int" setter="" getter="">
The reasons your app collects purchase history. See [url=https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_data_use_in_privacy_manifests]Describing data use in privacy manifests[/url].
</member>
<member name="privacy/collected_data/purchase_history/linked_to_user" type="bool" setter="" getter="">
Indicates whether your app links purchase history to the user's identity.
</member>
<member name="privacy/collected_data/purchase_history/used_for_tracking" type="bool" setter="" getter="">
Indicates whether your app uses purchase history for tracking.
</member>
<member name="privacy/collected_data/search_hhistory/collected" type="bool" setter="" getter="">
Indicates whether your app collects search history.
</member>
<member name="privacy/collected_data/search_hhistory/collection_purposes" type="int" setter="" getter="">
The reasons your app collects search history. See [url=https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_data_use_in_privacy_manifests]Describing data use in privacy manifests[/url].
</member>
<member name="privacy/collected_data/search_hhistory/linked_to_user" type="bool" setter="" getter="">
Indicates whether your app links search history to the user's identity.
</member>
<member name="privacy/collected_data/search_hhistory/used_for_tracking" type="bool" setter="" getter="">
Indicates whether your app uses search history for tracking.
</member>
<member name="privacy/collected_data/sensitive_info/collected" type="bool" setter="" getter="">
Indicates whether your app collects sensitive user information.
</member>
<member name="privacy/collected_data/sensitive_info/collection_purposes" type="int" setter="" getter="">
The reasons your app collects sensitive user information. See [url=https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_data_use_in_privacy_manifests]Describing data use in privacy manifests[/url].
</member>
<member name="privacy/collected_data/sensitive_info/linked_to_user" type="bool" setter="" getter="">
Indicates whether your app links sensitive user information to the user's identity.
</member>
<member name="privacy/collected_data/sensitive_info/used_for_tracking" type="bool" setter="" getter="">
Indicates whether your app uses sensitive user information for tracking.
</member>
<member name="privacy/collected_data/user_id/collected" type="bool" setter="" getter="">
Indicates whether your app collects user IDs.
</member>
<member name="privacy/collected_data/user_id/collection_purposes" type="int" setter="" getter="">
The reasons your app collects user IDs. See [url=https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_data_use_in_privacy_manifests]Describing data use in privacy manifests[/url].
</member>
<member name="privacy/collected_data/user_id/linked_to_user" type="bool" setter="" getter="">
Indicates whether your app links user IDs to the user's identity.
</member>
<member name="privacy/collected_data/user_id/used_for_tracking" type="bool" setter="" getter="">
Indicates whether your app uses user IDs for tracking.
</member>
<member name="privacy/disk_space_access_reasons" type="int" setter="" getter="">
The reasons your app use free disk space API. See [url=https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api]Describing use of required reason API[/url].
</member>
<member name="privacy/file_timestamp_access_reasons" type="int" setter="" getter="">
The reasons your app use file timestamp/metadata API. See [url=https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api]Describing use of required reason API[/url].
</member>
<member name="privacy/microphone_usage_description" type="String" setter="" getter="">
A message displayed when requesting access to the device's microphone (in English).
</member>
<member name="privacy/microphone_usage_description_localized" type="Dictionary" setter="" getter="">
A message displayed when requesting access to the device's microphone (localized).
</member>
<member name="privacy/photolibrary_usage_description" type="String" setter="" getter="">
A message displayed when requesting access to the user's photo library (in English).
</member>
<member name="privacy/photolibrary_usage_description_localized" type="Dictionary" setter="" getter="">
A message displayed when requesting access to the user's photo library (localized).
</member>
<member name="privacy/system_boot_time_access_reasons" type="int" setter="" getter="">
The reasons your app use system boot time / absolute time API. See [url=https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api]Describing use of required reason API[/url].
</member>
<member name="privacy/tracking_domains" type="PackedStringArray" setter="" getter="">
The list of internet domains your app connects to that engage in tracking. See [url=https://developer.apple.com/documentation/bundleresources/privacy_manifest_files]Privacy manifest files[/url].
</member>
<member name="privacy/tracking_enabled" type="bool" setter="" getter="">
Indicates whether your app uses data for tracking. See [url=https://developer.apple.com/documentation/bundleresources/privacy_manifest_files]Privacy manifest files[/url].
</member>
<member name="privacy/user_defaults_access_reasons" type="int" setter="" getter="">
The reasons your app use user defaults API. See [url=https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api]Describing use of required reason API[/url].
</member>
<member name="shader_baker/enabled" type="bool" setter="" getter="">
If [code]true[/code], shaders will be compiled and embedded in the application. This option is only supported when using the Forward+ and Mobile renderers.
</member>
<member name="user_data/accessible_from_files_app" type="bool" setter="" getter="">
If [code]true[/code], the app "Documents" folder can be accessed via "Files" app. See [url=https://developer.apple.com/documentation/bundleresources/information_property_list/lssupportsopeningdocumentsinplace]LSSupportsOpeningDocumentsInPlace[/url].
</member>
<member name="user_data/accessible_from_itunes_sharing" type="bool" setter="" getter="">
If [code]true[/code], the app "Documents" folder can be accessed via iTunes file sharing. See [url=https://developer.apple.com/documentation/bundleresources/information_property_list/uifilesharingenabled]UIFileSharingEnabled[/url].
</member>
</members>
</class>

View File

@@ -0,0 +1,46 @@
/**************************************************************************/
/* export.cpp */
/**************************************************************************/
/* This file is part of: */
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
/* Permission is hereby granted, free of charge, to any person obtaining */
/* a copy of this software and associated documentation files (the */
/* "Software"), to deal in the Software without restriction, including */
/* without limitation the rights to use, copy, modify, merge, publish, */
/* distribute, sublicense, and/or sell copies of the Software, and to */
/* permit persons to whom the Software is furnished to do so, subject to */
/* the following conditions: */
/* */
/* The above copyright notice and this permission notice shall be */
/* included in all copies or substantial portions of the Software. */
/* */
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#include "export.h"
#include "export_plugin.h"
#include "editor/export/editor_export.h"
void register_visionos_exporter_types() {
GDREGISTER_VIRTUAL_CLASS(EditorExportPlatformVisionOS);
}
void register_visionos_exporter() {
Ref<EditorExportPlatformVisionOS> platform;
platform.instantiate();
EditorExport::get_singleton()->add_export_platform(platform);
}

View File

@@ -0,0 +1,34 @@
/**************************************************************************/
/* export.h */
/**************************************************************************/
/* This file is part of: */
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
/* Permission is hereby granted, free of charge, to any person obtaining */
/* a copy of this software and associated documentation files (the */
/* "Software"), to deal in the Software without restriction, including */
/* without limitation the rights to use, copy, modify, merge, publish, */
/* distribute, sublicense, and/or sell copies of the Software, and to */
/* permit persons to whom the Software is furnished to do so, subject to */
/* the following conditions: */
/* */
/* The above copyright notice and this permission notice shall be */
/* included in all copies or substantial portions of the Software. */
/* */
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#pragma once
void register_visionos_exporter_types();
void register_visionos_exporter();

View File

@@ -0,0 +1,56 @@
/**************************************************************************/
/* export_plugin.cpp */
/**************************************************************************/
/* This file is part of: */
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
/* Permission is hereby granted, free of charge, to any person obtaining */
/* a copy of this software and associated documentation files (the */
/* "Software"), to deal in the Software without restriction, including */
/* without limitation the rights to use, copy, modify, merge, publish, */
/* distribute, sublicense, and/or sell copies of the Software, and to */
/* permit persons to whom the Software is furnished to do so, subject to */
/* the following conditions: */
/* */
/* The above copyright notice and this permission notice shall be */
/* included in all copies or substantial portions of the Software. */
/* */
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#include "export_plugin.h"
#include "logo_svg.gen.h"
#include "run_icon_svg.gen.h"
Vector<String> EditorExportPlatformVisionOS::device_types({ "realityDevice" });
EditorExportPlatformVisionOS::EditorExportPlatformVisionOS() :
EditorExportPlatformAppleEmbedded(_visionos_logo_svg, _visionos_run_icon_svg) {
#ifdef MACOS_ENABLED
_start_remote_device_poller_thread();
#endif
}
EditorExportPlatformVisionOS::~EditorExportPlatformVisionOS() {
}
void EditorExportPlatformVisionOS::get_export_options(List<ExportOption> *r_options) const {
EditorExportPlatformAppleEmbedded::get_export_options(r_options);
r_options->push_back(ExportOption(PropertyInfo(Variant::STRING, "application/min_visionos_version"), get_minimum_deployment_target()));
}
Vector<EditorExportPlatformAppleEmbedded::IconInfo> EditorExportPlatformVisionOS::get_icon_infos() const {
return Vector<EditorExportPlatformAppleEmbedded::IconInfo>();
}

View File

@@ -0,0 +1,61 @@
/**************************************************************************/
/* export_plugin.h */
/**************************************************************************/
/* This file is part of: */
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
/* Permission is hereby granted, free of charge, to any person obtaining */
/* a copy of this software and associated documentation files (the */
/* "Software"), to deal in the Software without restriction, including */
/* without limitation the rights to use, copy, modify, merge, publish, */
/* distribute, sublicense, and/or sell copies of the Software, and to */
/* permit persons to whom the Software is furnished to do so, subject to */
/* the following conditions: */
/* */
/* The above copyright notice and this permission notice shall be */
/* included in all copies or substantial portions of the Software. */
/* */
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#pragma once
#include "editor/export/editor_export_platform_apple_embedded.h"
class EditorExportPlatformVisionOS : public EditorExportPlatformAppleEmbedded {
GDCLASS(EditorExportPlatformVisionOS, EditorExportPlatformAppleEmbedded);
static Vector<String> device_types;
virtual String get_platform_name() const override { return "visionos"; }
virtual String get_sdk_name() const override { return "xros"; }
virtual const Vector<String> get_device_types() const override { return device_types; }
virtual String get_minimum_deployment_target() const override { return "2.0"; }
virtual Vector<EditorExportPlatformAppleEmbedded::IconInfo> get_icon_infos() const override;
virtual void get_export_options(List<ExportOption> *r_options) const override;
public:
virtual String get_name() const override { return "visionOS"; }
virtual String get_os_name() const override { return "visionOS"; }
virtual void get_platform_features(List<String> *r_features) const override {
EditorExportPlatformAppleEmbedded::get_platform_features(r_features);
r_features->push_back("visionos");
}
EditorExportPlatformVisionOS();
~EditorExportPlatformVisionOS();
};

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="icon icon-tabler icons-tabler-outline icon-tabler-device-vision-pro"><path fill="#afafaf" stroke="none" d="m 2.3158622,19.036192 h 0.9375 l 1.5,-4.179688 H 3.8392997 L 2.811956,18.176817 h -0.042969 l -1.03125,-3.320313 H 0.81195599 Z m 3.375,-4.867188 c 0.2929688,0 0.5234375,-0.234375 0.5234375,-0.519531 0,-0.285156 -0.2304687,-0.515625 -0.5234375,-0.515625 -0.2851562,0 -0.5195312,0.230469 -0.5195312,0.515625 0,0.285156 0.234375,0.519531 0.5195312,0.519531 z m -0.4375,4.867188 h 0.875 v -4.179688 h -0.875 z m 3.2929688,0.08203 c 0.9960937,0 1.726562,-0.527344 1.726562,-1.300781 v -0.0039 c 0,-0.605469 -0.3554683,-0.945313 -1.1874995,-1.136719 L 8.4096122,16.520567 C 7.9564872,16.415098 7.7767997,16.251036 7.7767997,15.993223 v -0.0039 c 0,-0.332031 0.3046875,-0.550781 0.7578125,-0.550781 0.4726563,0 0.7617188,0.234375 0.8242188,0.558593 v 0.01953 h 0.824219 v -0.02734 c -0.05859,-0.695313 -0.6601565,-1.214844 -1.6445315,-1.214844 -0.9648438,0 -1.6328125,0.515625 -1.6328125,1.257813 v 0.0039 c 0,0.613281 0.3828125,0.984375 1.1757812,1.167969 l 0.6757813,0.152343 c 0.4609375,0.109375 0.6367187,0.273438 0.6367187,0.535157 v 0.0039 c 0,0.335937 -0.3320312,0.554687 -0.8359375,0.554687 -0.5078125,0 -0.8007812,-0.214843 -0.890625,-0.5625 l -0.00781,-0.01953 H 6.796331 v 0.01953 c 0.082031,0.734375 0.7109375,1.230469 1.75,1.230469 z m 2.832031,-4.949219 c 0.292969,0 0.523438,-0.234375 0.523438,-0.519531 0,-0.285156 -0.230469,-0.515625 -0.523438,-0.515625 -0.285156,0 -0.519531,0.230469 -0.519531,0.515625 0,0.285156 0.234375,0.519531 0.519531,0.519531 z m -0.4375,4.867188 h 0.875 v -4.179688 h -0.875 z m 3.53125,0.08203 c 1.214844,0 1.988281,-0.824219 1.988281,-2.171875 v -0.0078 c 0,-1.34375 -0.78125,-2.164063 -1.992187,-2.164063 -1.210938,0 -1.988281,0.824219 -1.988281,2.164063 v 0.0078 c 0,1.347656 0.769531,2.171875 1.992187,2.171875 z m 0,-0.722656 c -0.6875,0 -1.101562,-0.53125 -1.101562,-1.449219 v -0.0078 c 0,-0.910157 0.417968,-1.441407 1.097656,-1.441407 0.683594,0 1.101562,0.53125 1.101562,1.441407 v 0.0078 c 0,0.914063 -0.414062,1.449219 -1.097656,1.449219 z m 2.628906,0.640625 h 0.875 v -2.445313 c 0,-0.648437 0.378907,-1.074218 0.976563,-1.074218 0.597656,0 0.886719,0.34375 0.886719,1 v 2.519531 h 0.871093 v -2.707031 c 0,-0.980469 -0.523437,-1.554688 -1.449218,-1.554688 -0.621094,0 -1.035157,0.277344 -1.246094,0.714844 h -0.03906 v -0.632813 h -0.875 z m 6.949219,0.117187 c 1.628906,0 2.640625,-1.136718 2.640625,-2.933593 v -0.0078 c 0,-1.800781 -1.015625,-2.929687 -2.640625,-2.929687 -1.625,0 -2.648437,1.128906 -2.648437,2.929687 v 0.0078 c 0,1.800781 1.011718,2.933593 2.648437,2.933593 z m 0,-0.796875 c -1.066406,0 -1.726562,-0.832031 -1.726562,-2.136718 v -0.0078 c 0,-1.308594 0.671875,-2.132812 1.726562,-2.132812 1.054688,0 1.71875,0.824218 1.71875,2.132812 v 0.0078 c 0,1.300781 -0.660156,2.136718 -1.71875,2.136718 z m 5.386719,0.796875 c 1.332031,0 2.160156,-0.667968 2.160156,-1.722656 v -0.0039 c 0,-0.855469 -0.496094,-1.332031 -1.667969,-1.582031 l -0.613281,-0.128907 c -0.710937,-0.152343 -1.019531,-0.414062 -1.019531,-0.832031 v -0.0039 c 0,-0.5 0.457031,-0.816406 1.132812,-0.820313 0.667969,0 1.109375,0.320313 1.183594,0.808594 l 0.0078,0.05078 h 0.871093 l -0.0039,-0.05859 c -0.0625,-0.917969 -0.855469,-1.578125 -2.050781,-1.578125 -1.195313,0 -2.046875,0.667968 -2.050781,1.644531 v 0.0039 c 0,0.832031 0.515625,1.355469 1.640625,1.59375 l 0.613281,0.128906 c 0.742187,0.160157 1.046875,0.417969 1.046875,0.855469 v 0.0039 c 0,0.515625 -0.488281,0.863282 -1.214844,0.863282 -0.746094,0 -1.269531,-0.324219 -1.332031,-0.832032 l -0.0078,-0.04297 h -0.878906 l 0.0039,0.05078 c 0.07422,0.976562 0.902344,1.601562 2.179688,1.601562 z" aria-label="visionOS" font-family="SF Hello" font-size="8" font-weight="500" style="-inkscape-font-specification:&quot;SF Hello, Medium&quot;"/></svg>

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><path fill="#fff" d="M.462 11.653H1.72V6.296H.462Zm.627-6.059a.687.687 0 0 0 .702-.682.688.688 0 0 0-.702-.687.687.687 0 0 0-.698.687c0 .38.309.682.698.682zM5.91 4.24c-2.127 0-3.461 1.45-3.461 3.77 0 2.32 1.333 3.765 3.461 3.765 2.123 0 3.457-1.445 3.457-3.765 0-2.32-1.334-3.77-3.457-3.77zm0 1.112c1.299 0 2.128 1.03 2.128 2.658 0 1.622-.829 2.653-2.128 2.653-1.304 0-2.127-1.03-2.127-2.653 0-1.627.823-2.658 2.127-2.658zm3.988 4.25c.055 1.344 1.157 2.173 2.835 2.173 1.764 0 2.876-.87 2.876-2.254 0-1.086-.627-1.698-2.108-2.037l-.839-.192c-.895-.212-1.263-.495-1.263-.98 0-.607.556-1.01 1.38-1.01.834 0 1.405.408 1.465 1.09h1.244c-.03-1.283-1.092-2.152-2.699-2.152-1.587 0-2.714.874-2.714 2.168 0 1.041.637 1.688 1.981 1.997l.945.222c.92.217 1.294.52 1.294 1.046 0 .606-.611 1.041-1.49 1.041-.89 0-1.562-.44-1.643-1.112H9.899Z"/></svg>

After

Width:  |  Height:  |  Size: 901 B

View File

@@ -0,0 +1,37 @@
/**************************************************************************/
/* godot_view_visionos.mm */
/**************************************************************************/
/* This file is part of: */
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
/* Permission is hereby granted, free of charge, to any person obtaining */
/* a copy of this software and associated documentation files (the */
/* "Software"), to deal in the Software without restriction, including */
/* without limitation the rights to use, copy, modify, merge, publish, */
/* distribute, sublicense, and/or sell copies of the Software, and to */
/* permit persons to whom the Software is furnished to do so, subject to */
/* the following conditions: */
/* */
/* The above copyright notice and this permission notice shall be */
/* included in all copies or substantial portions of the Software. */
/* */
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#pragma once
#include "drivers/apple_embedded/godot_view_apple_embedded.h"
@interface GDTViewVisionOS : GDTView
@end

View File

@@ -0,0 +1,80 @@
/**************************************************************************/
/* godot_view.mm */
/**************************************************************************/
/* This file is part of: */
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
/* Permission is hereby granted, free of charge, to any person obtaining */
/* a copy of this software and associated documentation files (the */
/* "Software"), to deal in the Software without restriction, including */
/* without limitation the rights to use, copy, modify, merge, publish, */
/* distribute, sublicense, and/or sell copies of the Software, and to */
/* permit persons to whom the Software is furnished to do so, subject to */
/* the following conditions: */
/* */
/* The above copyright notice and this permission notice shall be */
/* included in all copies or substantial portions of the Software. */
/* */
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#include "godot_view_visionos.h"
#include "display_layer_visionos.h"
#include "core/error/error_macros.h"
#import <GameController/GameController.h>
@interface GDTViewVisionOS ()
GODOT_CLANG_WARNING_PUSH_AND_IGNORE("-Wobjc-property-synthesis")
@property(strong, nonatomic) CALayer<GDTDisplayLayer> *renderingLayer;
GODOT_CLANG_WARNING_POP
@end
@implementation GDTViewVisionOS
- (void)godot_commonInit {
[super godot_commonInit];
// Enable GamePad handler
GCEventInteraction *gamepadInteraction = [[GCEventInteraction alloc] init];
gamepadInteraction.handledEventTypes = GCUIEventTypeGamepad;
[self addInteraction:gamepadInteraction];
}
- (CALayer<GDTDisplayLayer> *)initializeRenderingForDriver:(NSString *)driverName {
if (self.renderingLayer) {
return self.renderingLayer;
}
CALayer<GDTDisplayLayer> *layer = [GDTMetalLayer layer];
layer.frame = self.bounds;
layer.contentsScale = self.contentScaleFactor;
[self.layer addSublayer:layer];
self.renderingLayer = layer;
[layer initializeDisplayLayer];
return self.renderingLayer;
}
@end
GDTView *GDTViewCreate() {
return [GDTViewVisionOS new];
}

View File

@@ -0,0 +1,89 @@
/**************************************************************************/
/* main.mm */
/**************************************************************************/
/* This file is part of: */
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
/* Permission is hereby granted, free of charge, to any person obtaining */
/* a copy of this software and associated documentation files (the */
/* "Software"), to deal in the Software without restriction, including */
/* without limitation the rights to use, copy, modify, merge, publish, */
/* distribute, sublicense, and/or sell copies of the Software, and to */
/* permit persons to whom the Software is furnished to do so, subject to */
/* the following conditions: */
/* */
/* The above copyright notice and this permission notice shall be */
/* included in all copies or substantial portions of the Software. */
/* */
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#import "os_visionos.h"
#import "drivers/apple_embedded/godot_app_delegate.h"
#import "drivers/apple_embedded/main_utilities.h"
#include "main/main.h"
#import <UIKit/UIKit.h>
#include <cstdio>
int gargc;
char **gargv;
static OS_VisionOS *os = nullptr;
int main(int argc, char *argv[]) {
#if defined(VULKAN_ENABLED)
//MoltenVK - enable full component swizzling support
setenv("MVK_CONFIG_FULL_IMAGE_VIEW_SWIZZLE", "1", 1);
#endif
gargc = argc;
gargv = argv;
@autoreleasepool {
NSString *className = NSStringFromClass([GDTApplicationDelegate class]);
UIApplicationMain(argc, argv, nil, className);
}
return 0;
}
int apple_embedded_main(int argc, char **argv) {
change_to_launch_dir(argv);
os = new OS_VisionOS();
// We must override main when testing is enabled
TEST_MAIN_OVERRIDE
char *fargv[64];
argc = process_args(argc, argv, fargv);
Error err = Main::setup(fargv[0], argc - 1, &fargv[1], false);
if (err != OK) {
if (err == ERR_HELP) { // Returned by --help and --version, so success.
return EXIT_SUCCESS;
}
return EXIT_FAILURE;
}
os->initialize_modules();
return os->get_exit_code();
}
void apple_embedded_finish() {
Main::cleanup();
delete os;
}

View File

@@ -0,0 +1,47 @@
/**************************************************************************/
/* os_visions.h */
/**************************************************************************/
/* This file is part of: */
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
/* Permission is hereby granted, free of charge, to any person obtaining */
/* a copy of this software and associated documentation files (the */
/* "Software"), to deal in the Software without restriction, including */
/* without limitation the rights to use, copy, modify, merge, publish, */
/* distribute, sublicense, and/or sell copies of the Software, and to */
/* permit persons to whom the Software is furnished to do so, subject to */
/* the following conditions: */
/* */
/* The above copyright notice and this permission notice shall be */
/* included in all copies or substantial portions of the Software. */
/* */
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#pragma once
#ifdef VISIONOS_ENABLED
#import "drivers/apple_embedded/os_apple_embedded.h"
class OS_VisionOS : public OS_AppleEmbedded {
public:
static OS_VisionOS *get_singleton();
OS_VisionOS();
~OS_VisionOS();
virtual String get_name() const override;
};
#endif // VISIONOS_ENABLED

View File

@@ -0,0 +1,52 @@
/**************************************************************************/
/* os_visionos.mm */
/**************************************************************************/
/* This file is part of: */
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
/* Permission is hereby granted, free of charge, to any person obtaining */
/* a copy of this software and associated documentation files (the */
/* "Software"), to deal in the Software without restriction, including */
/* without limitation the rights to use, copy, modify, merge, publish, */
/* distribute, sublicense, and/or sell copies of the Software, and to */
/* permit persons to whom the Software is furnished to do so, subject to */
/* the following conditions: */
/* */
/* The above copyright notice and this permission notice shall be */
/* included in all copies or substantial portions of the Software. */
/* */
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#import "os_visionos.h"
#import "display_server_visionos.h"
#ifdef VISIONOS_ENABLED
OS_VisionOS *OS_VisionOS::get_singleton() {
return (OS_VisionOS *)OS_AppleEmbedded::get_singleton();
}
OS_VisionOS::OS_VisionOS() :
OS_AppleEmbedded() {
DisplayServerVisionOS::register_visionos_driver();
}
OS_VisionOS::~OS_VisionOS() {}
String OS_VisionOS::get_name() const {
return "visionOS";
}
#endif // VISIONOS_ENABLED

View File

@@ -0,0 +1,33 @@
/**************************************************************************/
/* platform_config.h */
/**************************************************************************/
/* This file is part of: */
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
/* Permission is hereby granted, free of charge, to any person obtaining */
/* a copy of this software and associated documentation files (the */
/* "Software"), to deal in the Software without restriction, including */
/* without limitation the rights to use, copy, modify, merge, publish, */
/* distribute, sublicense, and/or sell copies of the Software, and to */
/* permit persons to whom the Software is furnished to do so, subject to */
/* the following conditions: */
/* */
/* The above copyright notice and this permission notice shall be */
/* included in all copies or substantial portions of the Software. */
/* */
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#pragma once
#import "drivers/apple_embedded/platform_config.h"

View File

@@ -0,0 +1,33 @@
/**************************************************************************/
/* platform_thread.h */
/**************************************************************************/
/* This file is part of: */
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
/* Permission is hereby granted, free of charge, to any person obtaining */
/* a copy of this software and associated documentation files (the */
/* "Software"), to deal in the Software without restriction, including */
/* without limitation the rights to use, copy, modify, merge, publish, */
/* distribute, sublicense, and/or sell copies of the Software, and to */
/* permit persons to whom the Software is furnished to do so, subject to */
/* the following conditions: */
/* */
/* The above copyright notice and this permission notice shall be */
/* included in all copies or substantial portions of the Software. */
/* */
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#pragma once
#include "drivers/apple/thread_apple.h"

View File

@@ -0,0 +1,7 @@
"""Functions used to generate source files during build time"""
from platform_methods import generate_bundle_apple_embedded
def generate_bundle(target, source, env):
generate_bundle_apple_embedded("visionos", "xros-arm64", "xros-arm64-simulator", False, target, source, env)

View File

@@ -0,0 +1,37 @@
/**************************************************************************/
/* visionos.h */
/**************************************************************************/
/* This file is part of: */
/* GODOT ENGINE */
/* https://godotengine.org */
/**************************************************************************/
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
/* */
/* Permission is hereby granted, free of charge, to any person obtaining */
/* a copy of this software and associated documentation files (the */
/* "Software"), to deal in the Software without restriction, including */
/* without limitation the rights to use, copy, modify, merge, publish, */
/* distribute, sublicense, and/or sell copies of the Software, and to */
/* permit persons to whom the Software is furnished to do so, subject to */
/* the following conditions: */
/* */
/* The above copyright notice and this permission notice shall be */
/* included in all copies or substantial portions of the Software. */
/* */
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#pragma once
#include "drivers/apple_embedded/apple_embedded.h"
class visionOS : public AppleEmbedded {
GDCLASS(visionOS, AppleEmbedded);
};