diff --git a/.swiftpm/xcode/xcshareddata/xcschemes/APNGKit.xcscheme b/.swiftpm/xcode/xcshareddata/xcschemes/APNGKit.xcscheme index fcc231e..87f40f4 100644 --- a/.swiftpm/xcode/xcshareddata/xcschemes/APNGKit.xcscheme +++ b/.swiftpm/xcode/xcshareddata/xcschemes/APNGKit.xcscheme @@ -1,6 +1,6 @@ "https://github.com/onevcat/APNGKit.git", :tag => s.version } diff --git a/Demo/Demo.xcodeproj/project.pbxproj b/Demo/Demo.xcodeproj/project.pbxproj index 8fa3951..b5c28ae 100644 --- a/Demo/Demo.xcodeproj/project.pbxproj +++ b/Demo/Demo.xcodeproj/project.pbxproj @@ -577,7 +577,7 @@ attributes = { BuildIndependentTargetsInParallel = 1; LastSwiftUpdateCheck = 1310; - LastUpgradeCheck = 1430; + LastUpgradeCheck = 1530; TargetAttributes = { 4B5ECBC8272E29B9003930D4 = { CreatedOnToolsVersion = 13.1; @@ -920,6 +920,7 @@ DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; GCC_C_LANGUAGE_STANDARD = gnu11; GCC_DYNAMIC_NO_PIC = NO; GCC_NO_COMMON_BLOCKS = YES; @@ -981,6 +982,7 @@ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; GCC_C_LANGUAGE_STANDARD = gnu11; GCC_NO_COMMON_BLOCKS = YES; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; @@ -1024,11 +1026,13 @@ MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = com.onevcat.APNGKitDemo; PRODUCT_NAME = "$(TARGET_NAME)"; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator xros xrsimulator"; SUPPORTS_MACCATALYST = YES; SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = YES; + SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; SWIFT_EMIT_LOC_STRINGS = YES; SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; + TARGETED_DEVICE_FAMILY = "1,2,7"; }; name = Debug; }; @@ -1057,11 +1061,13 @@ MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = com.onevcat.APNGKitDemo; PRODUCT_NAME = "$(TARGET_NAME)"; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator xros xrsimulator"; SUPPORTS_MACCATALYST = YES; SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = YES; + SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; SWIFT_EMIT_LOC_STRINGS = YES; SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; + TARGETED_DEVICE_FAMILY = "1,2,7"; }; name = Release; }; diff --git a/Demo/Demo.xcodeproj/xcshareddata/xcschemes/Demo-macOS.xcscheme b/Demo/Demo.xcodeproj/xcshareddata/xcschemes/Demo-macOS.xcscheme index 89723b6..8742b9e 100644 --- a/Demo/Demo.xcodeproj/xcshareddata/xcschemes/Demo-macOS.xcscheme +++ b/Demo/Demo.xcodeproj/xcshareddata/xcschemes/Demo-macOS.xcscheme @@ -1,6 +1,6 @@ UIViewController { input.loadViewIfNeeded() - + #if os(visionOS) + window = UIWindow(frame: .init(x: 0, y: 0, width: 800, height: 600)) + #else window = UIWindow(frame: UIScreen.main.bounds) + #endif window.rootViewController = input window.makeKeyAndVisible() return input