mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Apple: Improve reliability of Apple Embedded build and deployment
This commit is contained in:
parent
019ab8745f
commit
939f29f6d5
15 changed files with 367 additions and 236 deletions
|
|
@ -33,8 +33,13 @@
|
|||
#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() {
|
||||
|
|
|
|||
|
|
@ -35,9 +35,11 @@
|
|||
class EditorExportPlatformVisionOS : public EditorExportPlatformAppleEmbedded {
|
||||
GDCLASS(EditorExportPlatformVisionOS, EditorExportPlatformAppleEmbedded);
|
||||
|
||||
virtual String get_platform_name() const override { return "visionos"; }
|
||||
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"; }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue