From 92673f722d5e03e74b7b66440f2847d0e9e36adf Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Fri, 16 Jan 2026 09:49:21 -0800
Subject: [PATCH] Build the png framework for visionOS
---
Xcode/png/png.xcodeproj/project.pbxproj | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/Xcode/png/png.xcodeproj/project.pbxproj b/Xcode/png/png.xcodeproj/project.pbxproj
index 34cc9bbf..f2d9c643 100644
--- a/Xcode/png/png.xcodeproj/project.pbxproj
+++ b/Xcode/png/png.xcodeproj/project.pbxproj
@@ -346,11 +346,12 @@
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
- SUPPORTED_PLATFORMS = "watchsimulator watchos macosx iphonesimulator iphoneos driverkit appletvsimulator appletvos";
+ SUPPORTED_PLATFORMS = "xrsimulator xros macosx iphonesimulator iphoneos appletvsimulator appletvos";
SUPPORTS_MACCATALYST = YES;
TVOS_DEPLOYMENT_TARGET = 11.0;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
+ XROS_DEPLOYMENT_TARGET = 1.3;
};
name = Debug;
};
@@ -409,11 +410,12 @@
MACOSX_DEPLOYMENT_TARGET = 10.13;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
- SUPPORTED_PLATFORMS = "watchsimulator watchos macosx iphonesimulator iphoneos driverkit appletvsimulator appletvos";
+ SUPPORTED_PLATFORMS = "xrsimulator xros macosx iphonesimulator iphoneos appletvsimulator appletvos";
SUPPORTS_MACCATALYST = YES;
TVOS_DEPLOYMENT_TARGET = 11.0;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
+ XROS_DEPLOYMENT_TARGET = 1.3;
};
name = Release;
};