From 25bf3fd406fc5f2fc02b4a8862f1c6450da89ea0 Mon Sep 17 00:00:00 2001 From: Sai Venkat Desu Date: Tue, 18 Jun 2024 19:46:06 +0530 Subject: [PATCH 1/9] feat: added visionOS target and test target --- SimpleKeychain.podspec | 1 + SimpleKeychain.xcodeproj/project.pbxproj | 406 +++++++++++++++++- .../contents.xcworkspacedata | 2 +- .../SimpleKeychain-visionOS.xcscheme | 80 ++++ .../AppIcon.appiconset/Contents.json | 43 +- 5 files changed, 511 insertions(+), 21 deletions(-) create mode 100644 SimpleKeychain.xcodeproj/xcshareddata/xcschemes/SimpleKeychain-visionOS.xcscheme diff --git a/SimpleKeychain.podspec b/SimpleKeychain.podspec index 5eca087..165e3ec 100644 --- a/SimpleKeychain.podspec +++ b/SimpleKeychain.podspec @@ -16,6 +16,7 @@ Pod::Spec.new do |s| s.osx.deployment_target = '11.0' s.tvos.deployment_target = '13.0' s.watchos.deployment_target = '7.0' + s.visionos.deployment_target = '1.0' s.source_files = 'SimpleKeychain/*.swift' s.swift_versions = ['5.7', '5.8'] diff --git a/SimpleKeychain.xcodeproj/project.pbxproj b/SimpleKeychain.xcodeproj/project.pbxproj index 1c6b3f0..9239905 100644 --- a/SimpleKeychain.xcodeproj/project.pbxproj +++ b/SimpleKeychain.xcodeproj/project.pbxproj @@ -51,6 +51,19 @@ 5F7B45B11B7D0CE700D5AC89 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5F7B45B01B7D0CE700D5AC89 /* AppDelegate.swift */; }; 5F7B45B81B7D0CE700D5AC89 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 5F7B45B71B7D0CE700D5AC89 /* Images.xcassets */; }; 5F7B45BB1B7D0CE700D5AC89 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 5F7B45B91B7D0CE700D5AC89 /* LaunchScreen.xib */; }; + C1D1FBA52C218F2B008E9E3F /* Nimble.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5CE9CA1126FD42B0005A75FA /* Nimble.xcframework */; }; + C1D1FBA62C218F2B008E9E3F /* Quick.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5CE9CA1026FD42B0005A75FA /* Quick.xcframework */; }; + C1D1FBAB2C219170008E9E3F /* Nimble.xcframework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 5CE9CA1126FD42B0005A75FA /* Nimble.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + C1D1FBAC2C219170008E9E3F /* Quick.xcframework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 5CE9CA1026FD42B0005A75FA /* Quick.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + C1D1FBAD2C2192FA008E9E3F /* SimpleKeychain.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5CDF40592852D88C003840E6 /* SimpleKeychain.swift */; }; + C1D1FBAE2C2192FA008E9E3F /* SimpleKeychainError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5C737B2A285A7C0200B4BB25 /* SimpleKeychainError.swift */; }; + C1D1FBAF2C2192FA008E9E3F /* Accessibility.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5C840111285AFF7B00689C01 /* Accessibility.swift */; }; + C1D1FBB02C219322008E9E3F /* SimpleKeychainSpec.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5F4D27651BCE995C003C27B3 /* SimpleKeychainSpec.swift */; }; + C1D1FBB12C219322008E9E3F /* SimpleKeychainErrorSpec.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5C737B2F285AB57A00B4BB25 /* SimpleKeychainErrorSpec.swift */; }; + C1D1FBB22C219322008E9E3F /* AccessibilitySpec.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5CEB577A285BCE7E00A32A80 /* AccessibilitySpec.swift */; }; + C1D1FBBD2C21AC93008E9E3F /* CwlPreconditionTesting in Frameworks */ = {isa = PBXBuildFile; productRef = C1D1FBBC2C21AC93008E9E3F /* CwlPreconditionTesting */; }; + C1D1FBBF2C21C814008E9E3F /* CwlPreconditionTesting in Frameworks */ = {isa = PBXBuildFile; productRef = C1D1FBBE2C21C814008E9E3F /* CwlPreconditionTesting */; }; + C1D1FBC12C21C89C008E9E3F /* CwlPreconditionTesting in Frameworks */ = {isa = PBXBuildFile; productRef = C1D1FBC02C21C89C008E9E3F /* CwlPreconditionTesting */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -89,6 +102,13 @@ remoteGlobalIDString = 5FEEB9BC1B7BD82800501415; remoteInfo = "SimpleKeychain-macOS"; }; + C1D1FBA82C219155008E9E3F /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 5FEEB9931B7BD70A00501415 /* Project object */; + proxyType = 1; + remoteGlobalIDString = C1D1FB8F2C218DD1008E9E3F; + remoteInfo = "SimpleKeychain-visionOS"; + }; /* End PBXContainerItemProxy section */ /* Begin PBXCopyFilesBuildPhase section */ @@ -136,6 +156,17 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + C1D1FBAA2C21915F008E9E3F /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + C1D1FBAB2C219170008E9E3F /* Nimble.xcframework in CopyFiles */, + C1D1FBAC2C219170008E9E3F /* Quick.xcframework in CopyFiles */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXCopyFilesBuildPhase section */ /* Begin PBXFileReference section */ @@ -170,6 +201,8 @@ 5FEEB9A01B7BD70A00501415 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 5FEEB9AD1B7BD70B00501415 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 5FEEB9BD1B7BD82800501415 /* SimpleKeychain.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SimpleKeychain.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + C1D1FB902C218DD1008E9E3F /* SimpleKeychain.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SimpleKeychain.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + C1D1FB972C218DD1008E9E3F /* SimpleKeychainTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SimpleKeychainTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -210,6 +243,7 @@ files = ( 5CE9CA1326FD42B0005A75FA /* Nimble.xcframework in Frameworks */, 5CE9CA1226FD42B0005A75FA /* Quick.xcframework in Frameworks */, + C1D1FBC12C21C89C008E9E3F /* CwlPreconditionTesting in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -219,6 +253,7 @@ files = ( 5CE9CA1626FD42F4005A75FA /* Nimble.xcframework in Frameworks */, 5CE9CA1726FD42F4005A75FA /* Quick.xcframework in Frameworks */, + C1D1FBBF2C21C814008E9E3F /* CwlPreconditionTesting in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -244,6 +279,23 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + C1D1FB8D2C218DD1008E9E3F /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + C1D1FB942C218DD1008E9E3F /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + C1D1FBBD2C21AC93008E9E3F /* CwlPreconditionTesting in Frameworks */, + C1D1FBA52C218F2B008E9E3F /* Nimble.xcframework in Frameworks */, + C1D1FBA62C218F2B008E9E3F /* Quick.xcframework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ @@ -314,6 +366,8 @@ 5B108AB81EA637B100ED4DD2 /* SimpleKeychain.framework */, 5B0D47591EA63C74009FF1BF /* SimpleKeychainTests.xctest */, 5C29744323FF457A00BC18FA /* tvOSTestHost.app */, + C1D1FB902C218DD1008E9E3F /* SimpleKeychain.framework */, + C1D1FB972C218DD1008E9E3F /* SimpleKeychainTests.xctest */, ); name = Products; sourceTree = ""; @@ -388,6 +442,13 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + C1D1FB8B2C218DD1008E9E3F /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXHeadersBuildPhase section */ /* Begin PBXNativeTarget section */ @@ -482,6 +543,9 @@ 5F4D27811BCE99E0003C27B3 /* PBXTargetDependency */, ); name = "SimpleKeychainTests-iOS"; + packageProductDependencies = ( + C1D1FBC02C21C89C008E9E3F /* CwlPreconditionTesting */, + ); productName = "SimpleKeychainTests-iOS"; productReference = 5F4D277B1BCE99DF003C27B3 /* SimpleKeychainTests.xctest */; productType = "com.apple.product-type.bundle.unit-test"; @@ -501,6 +565,9 @@ 5F4D27961BCEA69E003C27B3 /* PBXTargetDependency */, ); name = "SimpleKeychainTests-macOS"; + packageProductDependencies = ( + C1D1FBBE2C21C814008E9E3F /* CwlPreconditionTesting */, + ); productName = "SimpleKeychainTests-macOS"; productReference = 5F4D278F1BCEA69E003C27B3 /* SimpleKeychainTests.xctest */; productType = "com.apple.product-type.bundle.unit-test"; @@ -561,13 +628,54 @@ productReference = 5FEEB9BD1B7BD82800501415 /* SimpleKeychain.framework */; productType = "com.apple.product-type.framework"; }; + C1D1FB8F2C218DD1008E9E3F /* SimpleKeychain-visionOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = C1D1FBA32C218DD1008E9E3F /* Build configuration list for PBXNativeTarget "SimpleKeychain-visionOS" */; + buildPhases = ( + C1D1FB8C2C218DD1008E9E3F /* Sources */, + C1D1FB8D2C218DD1008E9E3F /* Frameworks */, + C1D1FB8B2C218DD1008E9E3F /* Headers */, + C1D1FB8E2C218DD1008E9E3F /* Resources */, + C1D1FBA72C218FBB008E9E3F /* SwiftLint */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "SimpleKeychain-visionOS"; + productName = SimpleKeychain; + productReference = C1D1FB902C218DD1008E9E3F /* SimpleKeychain.framework */; + productType = "com.apple.product-type.framework"; + }; + C1D1FB962C218DD1008E9E3F /* SimpleKeychainTests-visionOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = C1D1FBA42C218DD1008E9E3F /* Build configuration list for PBXNativeTarget "SimpleKeychainTests-visionOS" */; + buildPhases = ( + C1D1FB932C218DD1008E9E3F /* Sources */, + C1D1FB942C218DD1008E9E3F /* Frameworks */, + C1D1FB952C218DD1008E9E3F /* Resources */, + C1D1FBAA2C21915F008E9E3F /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + C1D1FBA92C219155008E9E3F /* PBXTargetDependency */, + ); + name = "SimpleKeychainTests-visionOS"; + packageProductDependencies = ( + C1D1FBBC2C21AC93008E9E3F /* CwlPreconditionTesting */, + ); + productName = "SimpleKeychainTests-visionOS"; + productReference = C1D1FB972C218DD1008E9E3F /* SimpleKeychainTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ 5FEEB9931B7BD70A00501415 /* Project object */ = { isa = PBXProject; attributes = { - LastSwiftUpdateCheck = 1340; + LastSwiftUpdateCheck = 1540; LastUpgradeCheck = 1400; ORGANIZATIONNAME = Auth0; TargetAttributes = { @@ -610,6 +718,12 @@ CreatedOnToolsVersion = 6.4; LastSwiftMigration = 1340; }; + C1D1FB8F2C218DD1008E9E3F = { + CreatedOnToolsVersion = 15.4; + }; + C1D1FB962C218DD1008E9E3F = { + CreatedOnToolsVersion = 15.4; + }; }; }; buildConfigurationList = 5FEEB9961B7BD70A00501415 /* Build configuration list for PBXProject "SimpleKeychain" */; @@ -621,6 +735,9 @@ Base, ); mainGroup = 5FEEB9921B7BD70A00501415; + packageReferences = ( + C1D1FBBB2C21AC93008E9E3F /* XCRemoteSwiftPackageReference "CwlPreconditionTesting" */, + ); productRefGroup = 5FEEB99D1B7BD70A00501415 /* Products */; projectDirPath = ""; projectRoot = ""; @@ -634,6 +751,8 @@ 5F4D277A1BCE99DF003C27B3 /* SimpleKeychainTests-iOS */, 5F4D278E1BCEA69E003C27B3 /* SimpleKeychainTests-macOS */, 5B0D47581EA63C74009FF1BF /* SimpleKeychainTests-tvOS */, + C1D1FB8F2C218DD1008E9E3F /* SimpleKeychain-visionOS */, + C1D1FB962C218DD1008E9E3F /* SimpleKeychainTests-visionOS */, ); }; /* End PBXProject section */ @@ -707,6 +826,20 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + C1D1FB8E2C218DD1008E9E3F /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + C1D1FB952C218DD1008E9E3F /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ @@ -786,6 +919,25 @@ shellPath = /bin/sh; shellScript = "if [ -z ${CI} ]; then\n if [[ \"$(uname -m)\" == arm64 ]]; then\n export PATH=\"/opt/homebrew/bin:$PATH\"\n fi\n\n if which swiftlint > /dev/null; then\n swiftlint\n else\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\n fi\nfi\n"; }; + C1D1FBA72C218FBB008E9E3F /* SwiftLint */ = { + isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + ); + name = SwiftLint; + outputFileListPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "if [ -z ${CI} ]; then\n if [[ \"$(uname -m)\" == arm64 ]]; then\n export PATH=\"/opt/homebrew/bin:$PATH\"\n fi\n\n if which swiftlint > /dev/null; then\n swiftlint\n else\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\n fi\nfi\n"; + }; /* End PBXShellScriptBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ @@ -876,6 +1028,26 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + C1D1FB8C2C218DD1008E9E3F /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + C1D1FBAD2C2192FA008E9E3F /* SimpleKeychain.swift in Sources */, + C1D1FBAE2C2192FA008E9E3F /* SimpleKeychainError.swift in Sources */, + C1D1FBAF2C2192FA008E9E3F /* Accessibility.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + C1D1FB932C218DD1008E9E3F /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + C1D1FBB02C219322008E9E3F /* SimpleKeychainSpec.swift in Sources */, + C1D1FBB12C219322008E9E3F /* SimpleKeychainErrorSpec.swift in Sources */, + C1D1FBB22C219322008E9E3F /* AccessibilitySpec.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ @@ -904,6 +1076,11 @@ target = 5FEEB9BC1B7BD82800501415 /* SimpleKeychain-macOS */; targetProxy = 5F4D27951BCEA69E003C27B3 /* PBXContainerItemProxy */; }; + C1D1FBA92C219155008E9E3F /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = C1D1FB8F2C218DD1008E9E3F /* SimpleKeychain-visionOS */; + targetProxy = C1D1FBA82C219155008E9E3F /* PBXContainerItemProxy */; + }; /* End PBXTargetDependency section */ /* Begin PBXVariantGroup section */ @@ -1523,6 +1700,186 @@ }; name = Release; }; + C1D1FB9F2C218DD1008E9E3F /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + BUILD_LIBRARY_FOR_DISTRIBUTION = NO; + CLANG_ANALYZER_NONNULL = YES_NONAGGRESSIVE; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_OBJC_WEAK = NO; + CLANG_WARN_DOCUMENTATION_COMMENTS = NO; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES; + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_MODULE_VERIFIER = NO; + ENABLE_USER_SCRIPT_SANDBOXING = NO; + GCC_C_LANGUAGE_STANDARD = gnu17; + GENERATE_INFOPLIST_FILE = NO; + INFOPLIST_FILE = SimpleKeychain/Info.plist; + INFOPLIST_KEY_NSHumanReadableCopyright = ""; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + LOCALIZATION_PREFERS_STRING_CATALOGS = NO; + MARKETING_VERSION = ""; + MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++"; + MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu17 gnu++20"; + MTL_ENABLE_DEBUG_INFO = YES; + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = com.auth0.SimpleKeychain; + PRODUCT_NAME = SimpleKeychain; + SDKROOT = xros; + SKIP_INSTALL = YES; + SUPPORTED_PLATFORMS = "xros xrsimulator"; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = ""; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_INSTALL_OBJC_HEADER = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2,7"; + XROS_DEPLOYMENT_TARGET = 1.0; + }; + name = Debug; + }; + C1D1FBA02C218DD1008E9E3F /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + BUILD_LIBRARY_FOR_DISTRIBUTION = NO; + CLANG_ANALYZER_NONNULL = YES_NONAGGRESSIVE; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_OBJC_WEAK = NO; + CLANG_WARN_DOCUMENTATION_COMMENTS = NO; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES; + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_MODULE_VERIFIER = NO; + ENABLE_USER_SCRIPT_SANDBOXING = NO; + GCC_C_LANGUAGE_STANDARD = gnu17; + GENERATE_INFOPLIST_FILE = NO; + INFOPLIST_FILE = SimpleKeychain/Info.plist; + INFOPLIST_KEY_NSHumanReadableCopyright = ""; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + LOCALIZATION_PREFERS_STRING_CATALOGS = NO; + MARKETING_VERSION = ""; + MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++"; + MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu17 gnu++20"; + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = com.auth0.SimpleKeychain; + PRODUCT_NAME = SimpleKeychain; + SDKROOT = xros; + SKIP_INSTALL = YES; + SUPPORTED_PLATFORMS = "xros xrsimulator"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_INSTALL_OBJC_HEADER = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2,7"; + XROS_DEPLOYMENT_TARGET = 1.0; + }; + name = Release; + }; + C1D1FBA12C218DD1008E9E3F /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES_NONAGGRESSIVE; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_OBJC_WEAK = NO; + CLANG_WARN_DOCUMENTATION_COMMENTS = NO; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_USER_SCRIPT_SANDBOXING = NO; + GCC_C_LANGUAGE_STANDARD = gnu17; + GENERATE_INFOPLIST_FILE = NO; + INFOPLIST_FILE = SimpleKeychainTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "$(LD_RUNPATH_SEARCH_PATHS_SHALLOW_BUNDLE_$(SHALLOW_BUNDLE))", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + LOCALIZATION_PREFERS_STRING_CATALOGS = NO; + MARKETING_VERSION = ""; + MTL_ENABLE_DEBUG_INFO = YES; + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = com.auth0.SimpleKeychainTests; + PRODUCT_NAME = SimpleKeychainTests; + SDKROOT = xros; + SUPPORTED_PLATFORMS = "xros xrsimulator"; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2,7"; + XROS_DEPLOYMENT_TARGET = 1.0; + }; + name = Debug; + }; + C1D1FBA22C218DD1008E9E3F /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES_NONAGGRESSIVE; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_OBJC_WEAK = NO; + CLANG_WARN_DOCUMENTATION_COMMENTS = NO; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + ENABLE_USER_SCRIPT_SANDBOXING = NO; + GCC_C_LANGUAGE_STANDARD = gnu17; + GENERATE_INFOPLIST_FILE = NO; + INFOPLIST_FILE = SimpleKeychainTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "$(LD_RUNPATH_SEARCH_PATHS_SHALLOW_BUNDLE_$(SHALLOW_BUNDLE))", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + LOCALIZATION_PREFERS_STRING_CATALOGS = NO; + MARKETING_VERSION = ""; + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = com.auth0.SimpleKeychainTests; + PRODUCT_NAME = SimpleKeychainTests; + SDKROOT = xros; + SUPPORTED_PLATFORMS = "xros xrsimulator"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2,7"; + XROS_DEPLOYMENT_TARGET = 1.0; + }; + name = Release; + }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ @@ -1616,7 +1973,54 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; + C1D1FBA32C218DD1008E9E3F /* Build configuration list for PBXNativeTarget "SimpleKeychain-visionOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C1D1FB9F2C218DD1008E9E3F /* Debug */, + C1D1FBA02C218DD1008E9E3F /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + C1D1FBA42C218DD1008E9E3F /* Build configuration list for PBXNativeTarget "SimpleKeychainTests-visionOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C1D1FBA12C218DD1008E9E3F /* Debug */, + C1D1FBA22C218DD1008E9E3F /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; /* End XCConfigurationList section */ + +/* Begin XCRemoteSwiftPackageReference section */ + C1D1FBBB2C21AC93008E9E3F /* XCRemoteSwiftPackageReference "CwlPreconditionTesting" */ = { + isa = XCRemoteSwiftPackageReference; + repositoryURL = "https://github.com/mattgallagher/CwlPreconditionTesting.git"; + requirement = { + kind = upToNextMajorVersion; + minimumVersion = 2.2.1; + }; + }; +/* End XCRemoteSwiftPackageReference section */ + +/* Begin XCSwiftPackageProductDependency section */ + C1D1FBBC2C21AC93008E9E3F /* CwlPreconditionTesting */ = { + isa = XCSwiftPackageProductDependency; + package = C1D1FBBB2C21AC93008E9E3F /* XCRemoteSwiftPackageReference "CwlPreconditionTesting" */; + productName = CwlPreconditionTesting; + }; + C1D1FBBE2C21C814008E9E3F /* CwlPreconditionTesting */ = { + isa = XCSwiftPackageProductDependency; + package = C1D1FBBB2C21AC93008E9E3F /* XCRemoteSwiftPackageReference "CwlPreconditionTesting" */; + productName = CwlPreconditionTesting; + }; + C1D1FBC02C21C89C008E9E3F /* CwlPreconditionTesting */ = { + isa = XCSwiftPackageProductDependency; + package = C1D1FBBB2C21AC93008E9E3F /* XCRemoteSwiftPackageReference "CwlPreconditionTesting" */; + productName = CwlPreconditionTesting; + }; +/* End XCSwiftPackageProductDependency section */ }; rootObject = 5FEEB9931B7BD70A00501415 /* Project object */; } diff --git a/SimpleKeychain.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/SimpleKeychain.xcodeproj/project.xcworkspace/contents.xcworkspacedata index f4d060b..919434a 100644 --- a/SimpleKeychain.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ b/SimpleKeychain.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -2,6 +2,6 @@ + location = "self:"> diff --git a/SimpleKeychain.xcodeproj/xcshareddata/xcschemes/SimpleKeychain-visionOS.xcscheme b/SimpleKeychain.xcodeproj/xcshareddata/xcschemes/SimpleKeychain-visionOS.xcscheme new file mode 100644 index 0000000..4ed9ff0 --- /dev/null +++ b/SimpleKeychain.xcodeproj/xcshareddata/xcschemes/SimpleKeychain-visionOS.xcscheme @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SimpleKeychainApp/Images.xcassets/AppIcon.appiconset/Contents.json b/SimpleKeychainApp/Images.xcassets/AppIcon.appiconset/Contents.json index b8236c6..8121323 100644 --- a/SimpleKeychainApp/Images.xcassets/AppIcon.appiconset/Contents.json +++ b/SimpleKeychainApp/Images.xcassets/AppIcon.appiconset/Contents.json @@ -2,47 +2,52 @@ "images" : [ { "idiom" : "iphone", - "size" : "20x20", - "scale" : "2x" + "scale" : "2x", + "size" : "20x20" }, { "idiom" : "iphone", - "size" : "20x20", - "scale" : "3x" + "scale" : "3x", + "size" : "20x20" }, { "idiom" : "iphone", - "size" : "29x29", - "scale" : "2x" + "scale" : "2x", + "size" : "29x29" }, { "idiom" : "iphone", - "size" : "29x29", - "scale" : "3x" + "scale" : "3x", + "size" : "29x29" }, { "idiom" : "iphone", - "size" : "40x40", - "scale" : "2x" + "scale" : "2x", + "size" : "40x40" }, { "idiom" : "iphone", - "size" : "40x40", - "scale" : "3x" + "scale" : "3x", + "size" : "40x40" }, { "idiom" : "iphone", - "size" : "60x60", - "scale" : "2x" + "scale" : "2x", + "size" : "60x60" }, { "idiom" : "iphone", - "size" : "60x60", - "scale" : "3x" + "scale" : "3x", + "size" : "60x60" + }, + { + "idiom" : "ios-marketing", + "scale" : "1x", + "size" : "1024x1024" } ], "info" : { - "version" : 1, - "author" : "xcode" + "author" : "xcode", + "version" : 1 } -} \ No newline at end of file +} From d32d6c95c92b64f190df066963c5bf7a262ab21e Mon Sep 17 00:00:00 2001 From: Sai Venkat Desu Date: Tue, 18 Jun 2024 19:59:23 +0530 Subject: [PATCH 2/9] feat: added visionOS sample app and linked it as host to visionOS test target --- SimpleKeychain.xcodeproj/project.pbxproj | 173 ++++++++++++++++++ .../SimpleKeychain-visionOS.xcscheme | 33 +++- .../Content.imageset/Contents.json | 12 ++ .../Back.solidimagestacklayer/Contents.json | 6 + .../AppIcon.solidimagestack/Contents.json | 17 ++ .../Content.imageset/Contents.json | 12 ++ .../Front.solidimagestacklayer/Contents.json | 6 + .../Content.imageset/Contents.json | 12 ++ .../Middle.solidimagestacklayer/Contents.json | 6 + .../Assets.xcassets/Contents.json | 6 + visionOSTestHost/ContentView.swift | 22 +++ visionOSTestHost/Info.plist | 15 ++ visionOSTestHost/visionOSTestHostApp.swift | 18 ++ 13 files changed, 334 insertions(+), 4 deletions(-) create mode 100644 visionOSTestHost/Assets.xcassets/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset/Contents.json create mode 100644 visionOSTestHost/Assets.xcassets/AppIcon.solidimagestack/Back.solidimagestacklayer/Contents.json create mode 100644 visionOSTestHost/Assets.xcassets/AppIcon.solidimagestack/Contents.json create mode 100644 visionOSTestHost/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Content.imageset/Contents.json create mode 100644 visionOSTestHost/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Contents.json create mode 100644 visionOSTestHost/Assets.xcassets/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset/Contents.json create mode 100644 visionOSTestHost/Assets.xcassets/AppIcon.solidimagestack/Middle.solidimagestacklayer/Contents.json create mode 100644 visionOSTestHost/Assets.xcassets/Contents.json create mode 100644 visionOSTestHost/ContentView.swift create mode 100644 visionOSTestHost/Info.plist create mode 100644 visionOSTestHost/visionOSTestHostApp.swift diff --git a/SimpleKeychain.xcodeproj/project.pbxproj b/SimpleKeychain.xcodeproj/project.pbxproj index 9239905..414f00d 100644 --- a/SimpleKeychain.xcodeproj/project.pbxproj +++ b/SimpleKeychain.xcodeproj/project.pbxproj @@ -51,6 +51,9 @@ 5F7B45B11B7D0CE700D5AC89 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5F7B45B01B7D0CE700D5AC89 /* AppDelegate.swift */; }; 5F7B45B81B7D0CE700D5AC89 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 5F7B45B71B7D0CE700D5AC89 /* Images.xcassets */; }; 5F7B45BB1B7D0CE700D5AC89 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 5F7B45B91B7D0CE700D5AC89 /* LaunchScreen.xib */; }; + C1010DEF2C21CEDB001C10B3 /* visionOSTestHostApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = C1010DEE2C21CEDB001C10B3 /* visionOSTestHostApp.swift */; }; + C1010DF12C21CEDB001C10B3 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = C1010DF02C21CEDB001C10B3 /* ContentView.swift */; }; + C1010DF32C21CEDD001C10B3 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C1010DF22C21CEDD001C10B3 /* Assets.xcassets */; }; C1D1FBA52C218F2B008E9E3F /* Nimble.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5CE9CA1126FD42B0005A75FA /* Nimble.xcframework */; }; C1D1FBA62C218F2B008E9E3F /* Quick.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5CE9CA1026FD42B0005A75FA /* Quick.xcframework */; }; C1D1FBAB2C219170008E9E3F /* Nimble.xcframework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 5CE9CA1126FD42B0005A75FA /* Nimble.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; @@ -102,6 +105,13 @@ remoteGlobalIDString = 5FEEB9BC1B7BD82800501415; remoteInfo = "SimpleKeychain-macOS"; }; + C1010DFB2C21CEEC001C10B3 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 5FEEB9931B7BD70A00501415 /* Project object */; + proxyType = 1; + remoteGlobalIDString = C1010DE72C21CEDB001C10B3; + remoteInfo = visionOSTestHost; + }; C1D1FBA82C219155008E9E3F /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 5FEEB9931B7BD70A00501415 /* Project object */; @@ -201,6 +211,11 @@ 5FEEB9A01B7BD70A00501415 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 5FEEB9AD1B7BD70B00501415 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 5FEEB9BD1B7BD82800501415 /* SimpleKeychain.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SimpleKeychain.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + C1010DE82C21CEDB001C10B3 /* visionOSTestHost.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = visionOSTestHost.app; sourceTree = BUILT_PRODUCTS_DIR; }; + C1010DEE2C21CEDB001C10B3 /* visionOSTestHostApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = visionOSTestHostApp.swift; sourceTree = ""; }; + C1010DF02C21CEDB001C10B3 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; }; + C1010DF22C21CEDD001C10B3 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + C1010DF72C21CEDD001C10B3 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; C1D1FB902C218DD1008E9E3F /* SimpleKeychain.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SimpleKeychain.framework; sourceTree = BUILT_PRODUCTS_DIR; }; C1D1FB972C218DD1008E9E3F /* SimpleKeychainTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SimpleKeychainTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; /* End PBXFileReference section */ @@ -279,6 +294,13 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + C1010DE52C21CEDB001C10B3 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; C1D1FB8D2C218DD1008E9E3F /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; @@ -349,6 +371,7 @@ 5FEEB9AB1B7BD70B00501415 /* SimpleKeychainTests */, 5F7B45AD1B7D0CE700D5AC89 /* SimpleKeychainApp */, 5C29744423FF457A00BC18FA /* tvOSTestHost */, + C1010DE92C21CEDB001C10B3 /* visionOSTestHost */, 5FEEB99D1B7BD70A00501415 /* Products */, 5F51D71D1BCDC4D400613162 /* Frameworks */, ); @@ -368,6 +391,7 @@ 5C29744323FF457A00BC18FA /* tvOSTestHost.app */, C1D1FB902C218DD1008E9E3F /* SimpleKeychain.framework */, C1D1FB972C218DD1008E9E3F /* SimpleKeychainTests.xctest */, + C1010DE82C21CEDB001C10B3 /* visionOSTestHost.app */, ); name = Products; sourceTree = ""; @@ -411,6 +435,17 @@ name = "Supporting Files"; sourceTree = ""; }; + C1010DE92C21CEDB001C10B3 /* visionOSTestHost */ = { + isa = PBXGroup; + children = ( + C1010DEE2C21CEDB001C10B3 /* visionOSTestHostApp.swift */, + C1010DF02C21CEDB001C10B3 /* ContentView.swift */, + C1010DF22C21CEDD001C10B3 /* Assets.xcassets */, + C1010DF72C21CEDD001C10B3 /* Info.plist */, + ); + path = visionOSTestHost; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXHeadersBuildPhase section */ @@ -628,6 +663,25 @@ productReference = 5FEEB9BD1B7BD82800501415 /* SimpleKeychain.framework */; productType = "com.apple.product-type.framework"; }; + C1010DE72C21CEDB001C10B3 /* visionOSTestHost */ = { + isa = PBXNativeTarget; + buildConfigurationList = C1010DFA2C21CEDD001C10B3 /* Build configuration list for PBXNativeTarget "visionOSTestHost" */; + buildPhases = ( + C1010DE42C21CEDB001C10B3 /* Sources */, + C1010DE52C21CEDB001C10B3 /* Frameworks */, + C1010DE62C21CEDB001C10B3 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = visionOSTestHost; + packageProductDependencies = ( + ); + productName = visionOSTestHost; + productReference = C1010DE82C21CEDB001C10B3 /* visionOSTestHost.app */; + productType = "com.apple.product-type.application"; + }; C1D1FB8F2C218DD1008E9E3F /* SimpleKeychain-visionOS */ = { isa = PBXNativeTarget; buildConfigurationList = C1D1FBA32C218DD1008E9E3F /* Build configuration list for PBXNativeTarget "SimpleKeychain-visionOS" */; @@ -660,6 +714,7 @@ ); dependencies = ( C1D1FBA92C219155008E9E3F /* PBXTargetDependency */, + C1010DFC2C21CEEC001C10B3 /* PBXTargetDependency */, ); name = "SimpleKeychainTests-visionOS"; packageProductDependencies = ( @@ -718,11 +773,15 @@ CreatedOnToolsVersion = 6.4; LastSwiftMigration = 1340; }; + C1010DE72C21CEDB001C10B3 = { + CreatedOnToolsVersion = 15.4; + }; C1D1FB8F2C218DD1008E9E3F = { CreatedOnToolsVersion = 15.4; }; C1D1FB962C218DD1008E9E3F = { CreatedOnToolsVersion = 15.4; + TestTargetID = C1010DE72C21CEDB001C10B3; }; }; }; @@ -753,6 +812,7 @@ 5B0D47581EA63C74009FF1BF /* SimpleKeychainTests-tvOS */, C1D1FB8F2C218DD1008E9E3F /* SimpleKeychain-visionOS */, C1D1FB962C218DD1008E9E3F /* SimpleKeychainTests-visionOS */, + C1010DE72C21CEDB001C10B3 /* visionOSTestHost */, ); }; /* End PBXProject section */ @@ -826,6 +886,14 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + C1010DE62C21CEDB001C10B3 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + C1010DF32C21CEDD001C10B3 /* Assets.xcassets in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; C1D1FB8E2C218DD1008E9E3F /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; @@ -1028,6 +1096,15 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + C1010DE42C21CEDB001C10B3 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + C1010DF12C21CEDB001C10B3 /* ContentView.swift in Sources */, + C1010DEF2C21CEDB001C10B3 /* visionOSTestHostApp.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; C1D1FB8C2C218DD1008E9E3F /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; @@ -1076,6 +1153,11 @@ target = 5FEEB9BC1B7BD82800501415 /* SimpleKeychain-macOS */; targetProxy = 5F4D27951BCEA69E003C27B3 /* PBXContainerItemProxy */; }; + C1010DFC2C21CEEC001C10B3 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = C1010DE72C21CEDB001C10B3 /* visionOSTestHost */; + targetProxy = C1010DFB2C21CEEC001C10B3 /* PBXContainerItemProxy */; + }; C1D1FBA92C219155008E9E3F /* PBXTargetDependency */ = { isa = PBXTargetDependency; target = C1D1FB8F2C218DD1008E9E3F /* SimpleKeychain-visionOS */; @@ -1700,6 +1782,86 @@ }; name = Release; }; + C1010DF82C21CEDD001C10B3 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = dwarf; + DEVELOPMENT_ASSET_PATHS = ""; + ENABLE_PREVIEWS = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; + GCC_C_LANGUAGE_STANDARD = gnu17; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = "$(TARGET_NAME)/Info.plist"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MARKETING_VERSION = 1.0; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = com.auth0.visionOSTestHost; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = xros; + SUPPORTED_PLATFORMS = "xros xrsimulator"; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2,7"; + XROS_DEPLOYMENT_TARGET = 1.2; + }; + name = Debug; + }; + C1010DF92C21CEDD001C10B3 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_ASSET_PATHS = ""; + ENABLE_PREVIEWS = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; + GCC_C_LANGUAGE_STANDARD = gnu17; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = "$(TARGET_NAME)/Info.plist"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MARKETING_VERSION = 1.0; + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = com.auth0.visionOSTestHost; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = xros; + SUPPORTED_PLATFORMS = "xros xrsimulator"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2,7"; + XROS_DEPLOYMENT_TARGET = 1.2; + }; + name = Release; + }; C1D1FB9F2C218DD1008E9E3F /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { @@ -1839,6 +2001,7 @@ SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2,7"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/visionOSTestHost.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/visionOSTestHost"; XROS_DEPLOYMENT_TARGET = 1.0; }; name = Debug; @@ -1876,6 +2039,7 @@ SWIFT_EMIT_LOC_STRINGS = NO; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2,7"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/visionOSTestHost.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/visionOSTestHost"; XROS_DEPLOYMENT_TARGET = 1.0; }; name = Release; @@ -1973,6 +2137,15 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; + C1010DFA2C21CEDD001C10B3 /* Build configuration list for PBXNativeTarget "visionOSTestHost" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C1010DF82C21CEDD001C10B3 /* Debug */, + C1010DF92C21CEDD001C10B3 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; C1D1FBA32C218DD1008E9E3F /* Build configuration list for PBXNativeTarget "SimpleKeychain-visionOS" */ = { isa = XCConfigurationList; buildConfigurations = ( diff --git a/SimpleKeychain.xcodeproj/xcshareddata/xcschemes/SimpleKeychain-visionOS.xcscheme b/SimpleKeychain.xcodeproj/xcshareddata/xcschemes/SimpleKeychain-visionOS.xcscheme index 4ed9ff0..83723eb 100644 --- a/SimpleKeychain.xcodeproj/xcshareddata/xcschemes/SimpleKeychain-visionOS.xcscheme +++ b/SimpleKeychain.xcodeproj/xcshareddata/xcschemes/SimpleKeychain-visionOS.xcscheme @@ -4,8 +4,7 @@ version = "1.7"> + buildImplicitDependencies = "YES"> + + + + + + + + + skipped = "NO"> + + + + + + + + UIApplicationSceneManifest + + UIApplicationPreferredDefaultSceneSessionRole + UIWindowSceneSessionRoleApplication + UIApplicationSupportsMultipleScenes + + UISceneConfigurations + + + + diff --git a/visionOSTestHost/visionOSTestHostApp.swift b/visionOSTestHost/visionOSTestHostApp.swift new file mode 100644 index 0000000..a1e02ba --- /dev/null +++ b/visionOSTestHost/visionOSTestHostApp.swift @@ -0,0 +1,18 @@ +// +// visionOSTestHostApp.swift +// visionOSTestHost +// +// Created by Desu Sai Venkat on 18/06/24. +// Copyright © 2024 Auth0. All rights reserved. +// + +import SwiftUI + +@main +struct visionOSTestHostApp: App { + var body: some Scene { + WindowGroup { + ContentView() + } + } +} From ca31f6ea592f33a7c7d6437f4fe5802672546533 Mon Sep 17 00:00:00 2001 From: Sai Venkat Desu Date: Mon, 1 Jul 2024 19:36:21 +0530 Subject: [PATCH 3/9] chore: upgraded all the gems to the latest versions --- Gemfile.lock | 143 +++++++++++++++++++++++++++------------------------ 1 file changed, 77 insertions(+), 66 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index d99fbda..e76b54b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,45 +1,54 @@ GEM remote: https://rubygems.org/ specs: - CFPropertyList (3.0.6) + CFPropertyList (3.0.7) + base64 + nkf rexml - activesupport (7.0.8) + activesupport (7.1.3.4) + base64 + bigdecimal concurrent-ruby (~> 1.0, >= 1.0.2) + connection_pool (>= 2.2.5) + drb i18n (>= 1.6, < 2) minitest (>= 5.1) + mutex_m tzinfo (~> 2.0) - addressable (2.8.5) - public_suffix (>= 2.0.2, < 6.0) + addressable (2.8.7) + public_suffix (>= 2.0.2, < 7.0) algoliasearch (1.27.5) httpclient (~> 2.8, >= 2.8.3) json (>= 1.5.1) - artifactory (3.0.15) + artifactory (3.0.17) atomos (0.1.3) - aws-eventstream (1.2.0) - aws-partitions (1.831.0) - aws-sdk-core (3.185.0) - aws-eventstream (~> 1, >= 1.0.2) + aws-eventstream (1.3.0) + aws-partitions (1.949.0) + aws-sdk-core (3.200.0) + aws-eventstream (~> 1, >= 1.3.0) aws-partitions (~> 1, >= 1.651.0) - aws-sigv4 (~> 1.5) + aws-sigv4 (~> 1.8) jmespath (~> 1, >= 1.6.1) - aws-sdk-kms (1.72.0) - aws-sdk-core (~> 3, >= 3.184.0) + aws-sdk-kms (1.87.0) + aws-sdk-core (~> 3, >= 3.199.0) aws-sigv4 (~> 1.1) - aws-sdk-s3 (1.136.0) - aws-sdk-core (~> 3, >= 3.181.0) + aws-sdk-s3 (1.155.0) + aws-sdk-core (~> 3, >= 3.199.0) aws-sdk-kms (~> 1) - aws-sigv4 (~> 1.6) - aws-sigv4 (1.6.0) + aws-sigv4 (~> 1.8) + aws-sigv4 (1.8.0) aws-eventstream (~> 1, >= 1.0.2) babosa (1.0.4) + base64 (0.2.0) + bigdecimal (3.1.8) claide (1.1.0) clamp (1.3.2) - cocoapods (1.13.0) + cocoapods (1.15.2) addressable (~> 2.8) claide (>= 1.0.2, < 2.0) - cocoapods-core (= 1.13.0) + cocoapods-core (= 1.15.2) cocoapods-deintegrate (>= 1.0.3, < 2.0) - cocoapods-downloader (>= 1.6.0, < 2.0) + cocoapods-downloader (>= 2.1, < 3.0) cocoapods-plugins (>= 1.0.0, < 2.0) cocoapods-search (>= 1.0.0, < 2.0) cocoapods-trunk (>= 1.6.0, < 2.0) @@ -52,7 +61,7 @@ GEM nap (~> 1.0) ruby-macho (>= 2.3.0, < 3.0) xcodeproj (>= 1.23.0, < 2.0) - cocoapods-core (1.13.0) + cocoapods-core (1.15.2) activesupport (>= 5.0, < 8) addressable (~> 2.8) algoliasearch (~> 1.0) @@ -63,7 +72,7 @@ GEM public_suffix (~> 4.0) typhoeus (~> 1.0) cocoapods-deintegrate (1.0.5) - cocoapods-downloader (1.6.3) + cocoapods-downloader (2.1) cocoapods-plugins (1.0.0) nap cocoapods-search (1.0.1) @@ -75,18 +84,19 @@ GEM colored2 (3.1.2) commander (4.6.0) highline (~> 2.0.0) - concurrent-ruby (1.2.2) + concurrent-ruby (1.3.3) + connection_pool (2.4.1) declarative (0.0.20) digest-crc (0.6.5) rake (>= 12.0.0, < 14.0.0) - domain_name (0.5.20190701) - unf (>= 0.0.5, < 1.0.0) + domain_name (0.6.20240107) dotenv (2.8.1) + drb (2.2.1) emoji_regex (3.2.3) escape (0.0.4) ethon (0.16.0) ffi (>= 1.15.0) - excon (0.104.0) + excon (0.110.0) faraday (1.10.3) faraday-em_http (~> 1.0) faraday-em_synchrony (~> 1.0) @@ -115,15 +125,15 @@ GEM faraday-retry (1.0.3) faraday_middleware (1.2.0) faraday (~> 1.0) - fastimage (2.2.7) - fastlane (2.216.0) + fastimage (2.3.1) + fastlane (2.221.1) CFPropertyList (>= 2.3, < 4.0.0) addressable (>= 2.8, < 3.0.0) artifactory (~> 3.0) aws-sdk-s3 (~> 1.0) babosa (>= 1.0.3, < 2.0.0) bundler (>= 1.12.0, < 3.0.0) - colored + colored (~> 1.2) commander (~> 4.6) dotenv (>= 2.1.1, < 3.0.0) emoji_regex (>= 0.1, < 4.0) @@ -135,6 +145,7 @@ GEM gh_inspector (>= 1.1.2, < 2.0.0) google-apis-androidpublisher_v3 (~> 0.3) google-apis-playcustomapp_v1 (~> 0.1) + google-cloud-env (>= 1.6.0, < 2.0.0) google-cloud-storage (~> 1.31) highline (~> 2.0) http-cookie (~> 1.0.5) @@ -143,10 +154,10 @@ GEM mini_magick (>= 4.9.4, < 5.0.0) multipart-post (>= 2.0.0, < 3.0.0) naturally (~> 2.2) - optparse (~> 0.1.1) + optparse (>= 0.1.1, < 1.0.0) plist (>= 3.1.0, < 4.0.0) rubyzip (>= 2.0.0, < 3.0.0) - security (= 0.1.3) + security (= 0.1.5) simctl (~> 1.6.3) terminal-notifier (>= 2.0.0, < 3.0.0) terminal-table (~> 3) @@ -155,16 +166,16 @@ GEM word_wrap (~> 1.0.0) xcodeproj (>= 1.13.0, < 2.0.0) xcpretty (~> 0.3.0) - xcpretty-travis-formatter (>= 0.0.3) + xcpretty-travis-formatter (>= 0.0.3, < 2.0.0) fastlane-plugin-auth0_shipper (0.4.1) semantic (~> 1.5) - ffi (1.16.2) + ffi (1.17.0-arm64-darwin) fourflusher (2.3.1) fuzzy_match (2.0.4) gh_inspector (1.1.3) - google-apis-androidpublisher_v3 (0.50.0) + google-apis-androidpublisher_v3 (0.54.0) google-apis-core (>= 0.11.0, < 2.a) - google-apis-core (0.11.1) + google-apis-core (0.11.3) addressable (~> 2.5, >= 2.5.1) googleauth (>= 0.16.2, < 2.a) httpclient (>= 2.8.1, < 3.a) @@ -172,24 +183,23 @@ GEM representable (~> 3.0) retriable (>= 2.0, < 4.a) rexml - webrick google-apis-iamcredentials_v1 (0.17.0) google-apis-core (>= 0.11.0, < 2.a) google-apis-playcustomapp_v1 (0.13.0) google-apis-core (>= 0.11.0, < 2.a) - google-apis-storage_v1 (0.19.0) - google-apis-core (>= 0.9.0, < 2.a) - google-cloud-core (1.6.0) - google-cloud-env (~> 1.0) + google-apis-storage_v1 (0.31.0) + google-apis-core (>= 0.11.0, < 2.a) + google-cloud-core (1.7.0) + google-cloud-env (>= 1.0, < 3.a) google-cloud-errors (~> 1.0) google-cloud-env (1.6.0) faraday (>= 0.17.3, < 3.0) - google-cloud-errors (1.3.1) - google-cloud-storage (1.44.0) + google-cloud-errors (1.4.0) + google-cloud-storage (1.47.0) addressable (~> 2.8) digest-crc (~> 0.4) google-apis-iamcredentials_v1 (~> 0.1) - google-apis-storage_v1 (~> 0.19.0) + google-apis-storage_v1 (~> 0.31.0) google-cloud-core (~> 1.6) googleauth (>= 0.16.2, < 2.a) mini_mime (~> 1.0) @@ -200,45 +210,49 @@ GEM os (>= 0.9, < 2.0) signet (>= 0.16, < 2.a) highline (2.0.3) - http-cookie (1.0.5) + http-cookie (1.0.6) domain_name (~> 0.5) httpclient (2.8.3) - i18n (1.14.1) + i18n (1.14.5) concurrent-ruby (~> 1.0) jmespath (1.6.2) - json (2.6.3) - jwt (2.7.1) - mini_magick (4.12.0) + json (2.7.2) + jwt (2.8.2) + base64 + mini_magick (4.13.1) mini_mime (1.1.5) - minitest (5.20.0) + minitest (5.24.1) molinillo (0.8.0) multi_json (1.15.0) - multipart-post (2.3.0) + multipart-post (2.4.1) + mutex_m (0.2.0) nanaimo (0.3.0) nap (1.1.0) naturally (2.2.1) netrc (0.11.0) - nokogiri (1.15.4-x86_64-darwin) + nkf (0.2.0) + nokogiri (1.16.6-arm64-darwin) racc (~> 1.4) - optparse (0.1.1) + optparse (0.5.0) os (1.1.4) - plist (3.7.0) + plist (3.7.1) public_suffix (4.0.7) - racc (1.7.1) - rake (13.0.6) + racc (1.8.0) + rake (13.2.1) representable (3.2.0) declarative (< 0.1.0) trailblazer-option (>= 0.1.1, < 0.2.0) uber (< 0.2.0) retriable (3.1.2) - rexml (3.2.6) + rexml (3.2.9) + strscan rouge (2.0.7) ruby-macho (2.5.1) ruby2_keywords (0.0.5) rubyzip (2.3.2) - security (0.1.3) + security (0.1.5) semantic (1.6.1) - signet (0.18.0) + signet (0.19.0) addressable (~> 2.8) faraday (>= 0.17.5, < 3.a) jwt (>= 1.5, < 3.0) @@ -246,32 +260,29 @@ GEM simctl (1.6.10) CFPropertyList naturally - slather (2.7.5) + slather (2.8.2) CFPropertyList (>= 2.2, < 4) activesupport clamp (~> 1.3) nokogiri (>= 1.14.3) xcodeproj (~> 1.21) + strscan (3.1.0) terminal-notifier (2.0.0) terminal-table (3.0.2) unicode-display_width (>= 1.1.1, < 3) trailblazer-option (0.1.2) tty-cursor (0.7.1) - tty-screen (0.8.1) + tty-screen (0.8.2) tty-spinner (0.9.3) tty-cursor (~> 0.7) - typhoeus (1.4.0) + typhoeus (1.4.1) ethon (>= 0.9.0) tzinfo (2.0.6) concurrent-ruby (~> 1.0) uber (0.1.0) - unf (0.1.4) - unf_ext - unf_ext (0.0.8.2) unicode-display_width (2.5.0) - webrick (1.8.1) word_wrap (1.0.0) - xcodeproj (1.23.0) + xcodeproj (1.24.0) CFPropertyList (>= 2.3.3, < 4.0) atomos (~> 0.1.3) claide (>= 1.0.2, < 2.0) @@ -284,7 +295,7 @@ GEM xcpretty (~> 0.2, >= 0.0.7) PLATFORMS - ruby + arm64-darwin-23 DEPENDENCIES cocoapods From f5a7cc95b9e2d4e2b24eee6bae10f6ac16edff41 Mon Sep 17 00:00:00 2001 From: Sai Venkat Desu Date: Mon, 1 Jul 2024 19:39:39 +0530 Subject: [PATCH 4/9] chore: added x86-64-darwin-20 as a supported platform --- Gemfile.lock | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Gemfile.lock b/Gemfile.lock index e76b54b..0395958 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -170,6 +170,7 @@ GEM fastlane-plugin-auth0_shipper (0.4.1) semantic (~> 1.5) ffi (1.17.0-arm64-darwin) + ffi (1.17.0-x86_64-darwin) fourflusher (2.3.1) fuzzy_match (2.0.4) gh_inspector (1.1.3) @@ -233,6 +234,8 @@ GEM nkf (0.2.0) nokogiri (1.16.6-arm64-darwin) racc (~> 1.4) + nokogiri (1.16.6-x86_64-darwin) + racc (~> 1.4) optparse (0.5.0) os (1.1.4) plist (3.7.1) @@ -296,6 +299,7 @@ GEM PLATFORMS arm64-darwin-23 + x86_64-darwin-20 DEPENDENCIES cocoapods From 1f5755b22c05a47716bace395566a0d37858b316 Mon Sep 17 00:00:00 2001 From: Sai Venkat Desu Date: Mon, 1 Jul 2024 19:48:56 +0530 Subject: [PATCH 5/9] ci: upgraded xcode to 15.2 for linting job --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 477a42a..33dceb5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -92,7 +92,7 @@ jobs: strategy: matrix: xcode: - - '15.0.1' + - '15.2' steps: - name: Checkout From ba3b2a58167105c6165075996af98d267e77a9bd Mon Sep 17 00:00:00 2001 From: Sai Venkat Desu Date: Mon, 1 Jul 2024 20:00:21 +0530 Subject: [PATCH 6/9] ci: upgraded macos to 13-xlarge for linting job --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 33dceb5..ee424b2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -87,7 +87,7 @@ jobs: pod-lint: name: Lint podspec using Xcode ${{ matrix.xcode }} - runs-on: macos-13 + runs-on: macos-13-xlarge strategy: matrix: From 47b030b88a0919a84d2452ae842da75116eb634e Mon Sep 17 00:00:00 2001 From: Sai Venkat Desu Date: Mon, 1 Jul 2024 20:07:11 +0530 Subject: [PATCH 7/9] chore: added arm64-darwin-22 as a supported platform --- Gemfile.lock | 1 + 1 file changed, 1 insertion(+) diff --git a/Gemfile.lock b/Gemfile.lock index 0395958..64cec10 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -298,6 +298,7 @@ GEM xcpretty (~> 0.2, >= 0.0.7) PLATFORMS + arm64-darwin-22 arm64-darwin-23 x86_64-darwin-20 From 725d0318beedadb563f151c97ceaae59a5316a0c Mon Sep 17 00:00:00 2001 From: Desu Sai Venkat <48179357+desusai7@users.noreply.github.com> Date: Tue, 2 Jul 2024 18:46:03 +0530 Subject: [PATCH 8/9] chore: dropped support for xcode 14, swift version 5.7, 5.8, iOS 13 & tvOS 13 (#218) --- Package.swift | 4 +- README.md | 10 ++-- SimpleKeychain.podspec | 6 +- SimpleKeychain.xcodeproj/project.pbxproj | 76 +++++------------------- 4 files changed, 27 insertions(+), 69 deletions(-) diff --git a/Package.swift b/Package.swift index 064f2fa..b237a8e 100644 --- a/Package.swift +++ b/Package.swift @@ -1,9 +1,9 @@ -// swift-tools-version:5.7 +// swift-tools-version:5.9 import PackageDescription let package = Package( name: "SimpleKeychain", - platforms: [.iOS(.v13), .macOS(.v11), .tvOS(.v13), .watchOS(.v7)], + platforms: [.iOS(.v14), .macOS(.v11), .tvOS(.v14), .watchOS(.v7), .visionOS(.v1)], products: [.library(name: "SimpleKeychain", targets: ["SimpleKeychain"])], targets: [ .target( diff --git a/README.md b/README.md index 0e52f5d..4479095 100644 --- a/README.md +++ b/README.md @@ -22,9 +22,9 @@ Migrating from 0.x? Check the [Migration Guide](V1_MIGRATION_GUIDE.md). ### Requirements -- iOS 13.0+ / macOS 11.0+ / tvOS 13.0+ / watchOS 7.0+ -- Xcode 14.x / 15.x -- Swift 5.7+ +- iOS 14.0+ / macOS 11.0+ / tvOS 14.0+ / watchOS 7.0+ +- Xcode 15.x +- Swift 5.9+ > [!IMPORTANT] > Check the [Support Policy](#support-policy) to learn when dropping Xcode, Swift, and platform versions will not be considered a **breaking change**. @@ -147,7 +147,9 @@ The minimum supported Swift minor version is the one released with the oldest-su ### Platforms -Once a platform version becomes unsupported, dropping it from SimpleKeychain **will not be considered a breaking change**, and will be done in a **minor** release. For example, iOS 13 will cease to be supported when iOS 17 gets released, and SimpleKeychain will be able to drop it in a minor release. +We support only the last four major versions of any platform, including the current major version. + +Once a platform version becomes unsupported, dropping it from SimpleKeychain **will not be considered a breaking change**, and will be done in a **minor** release. For example, iOS 14 will cease to be supported when iOS 18 gets released, and SimpleKeychain will be able to drop it in a minor release. In the case of macOS, the yearly named releases are considered a major platform version for the purposes of this Policy, regardless of the actual version numbers. diff --git a/SimpleKeychain.podspec b/SimpleKeychain.podspec index 165e3ec..b34c214 100644 --- a/SimpleKeychain.podspec +++ b/SimpleKeychain.podspec @@ -12,12 +12,12 @@ Pod::Spec.new do |s| s.source = { :git => 'https://github.com/auth0/SimpleKeychain.git', :tag => s.version.to_s } s.social_media_url = 'https://twitter.com/auth0' - s.ios.deployment_target = '13.0' + s.ios.deployment_target = '14.0' s.osx.deployment_target = '11.0' - s.tvos.deployment_target = '13.0' + s.tvos.deployment_target = '14.0' s.watchos.deployment_target = '7.0' s.visionos.deployment_target = '1.0' s.source_files = 'SimpleKeychain/*.swift' - s.swift_versions = ['5.7', '5.8'] + s.swift_versions = ['5.9'] end diff --git a/SimpleKeychain.xcodeproj/project.pbxproj b/SimpleKeychain.xcodeproj/project.pbxproj index 11748c6..a2e6ff8 100644 --- a/SimpleKeychain.xcodeproj/project.pbxproj +++ b/SimpleKeychain.xcodeproj/project.pbxproj @@ -42,19 +42,12 @@ C1010DEF2C21CEDB001C10B3 /* visionOSTestHostApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = C1010DEE2C21CEDB001C10B3 /* visionOSTestHostApp.swift */; }; C1010DF12C21CEDB001C10B3 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = C1010DF02C21CEDB001C10B3 /* ContentView.swift */; }; C1010DF32C21CEDD001C10B3 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C1010DF22C21CEDD001C10B3 /* Assets.xcassets */; }; - C1D1FBA52C218F2B008E9E3F /* Nimble.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5CE9CA1126FD42B0005A75FA /* Nimble.xcframework */; }; - C1D1FBA62C218F2B008E9E3F /* Quick.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5CE9CA1026FD42B0005A75FA /* Quick.xcframework */; }; - C1D1FBAB2C219170008E9E3F /* Nimble.xcframework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 5CE9CA1126FD42B0005A75FA /* Nimble.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; - C1D1FBAC2C219170008E9E3F /* Quick.xcframework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 5CE9CA1026FD42B0005A75FA /* Quick.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; C1D1FBAD2C2192FA008E9E3F /* SimpleKeychain.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5CDF40592852D88C003840E6 /* SimpleKeychain.swift */; }; C1D1FBAE2C2192FA008E9E3F /* SimpleKeychainError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5C737B2A285A7C0200B4BB25 /* SimpleKeychainError.swift */; }; C1D1FBAF2C2192FA008E9E3F /* Accessibility.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5C840111285AFF7B00689C01 /* Accessibility.swift */; }; C1D1FBB02C219322008E9E3F /* SimpleKeychainSpec.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5F4D27651BCE995C003C27B3 /* SimpleKeychainSpec.swift */; }; C1D1FBB12C219322008E9E3F /* SimpleKeychainErrorSpec.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5C737B2F285AB57A00B4BB25 /* SimpleKeychainErrorSpec.swift */; }; C1D1FBB22C219322008E9E3F /* AccessibilitySpec.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5CEB577A285BCE7E00A32A80 /* AccessibilitySpec.swift */; }; - C1D1FBBD2C21AC93008E9E3F /* CwlPreconditionTesting in Frameworks */ = {isa = PBXBuildFile; productRef = C1D1FBBC2C21AC93008E9E3F /* CwlPreconditionTesting */; }; - C1D1FBBF2C21C814008E9E3F /* CwlPreconditionTesting in Frameworks */ = {isa = PBXBuildFile; productRef = C1D1FBBE2C21C814008E9E3F /* CwlPreconditionTesting */; }; - C1D1FBC12C21C89C008E9E3F /* CwlPreconditionTesting in Frameworks */ = {isa = PBXBuildFile; productRef = C1D1FBC02C21C89C008E9E3F /* CwlPreconditionTesting */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -246,9 +239,6 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - C1D1FBBD2C21AC93008E9E3F /* CwlPreconditionTesting in Frameworks */, - C1D1FBA52C218F2B008E9E3F /* Nimble.xcframework in Frameworks */, - C1D1FBA62C218F2B008E9E3F /* Quick.xcframework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -509,7 +499,6 @@ ); name = "SimpleKeychainTests-iOS"; packageProductDependencies = ( - C1D1FBC02C21C89C008E9E3F /* CwlPreconditionTesting */, ); productName = "SimpleKeychainTests-iOS"; productReference = 5F4D277B1BCE99DF003C27B3 /* SimpleKeychainTests.xctest */; @@ -530,7 +519,6 @@ ); name = "SimpleKeychainTests-macOS"; packageProductDependencies = ( - C1D1FBBE2C21C814008E9E3F /* CwlPreconditionTesting */, ); productName = "SimpleKeychainTests-macOS"; productReference = 5F4D278F1BCEA69E003C27B3 /* SimpleKeychainTests.xctest */; @@ -637,7 +625,6 @@ C1D1FB932C218DD1008E9E3F /* Sources */, C1D1FB942C218DD1008E9E3F /* Frameworks */, C1D1FB952C218DD1008E9E3F /* Resources */, - C1D1FBAA2C21915F008E9E3F /* CopyFiles */, ); buildRules = ( ); @@ -647,7 +634,6 @@ ); name = "SimpleKeychainTests-visionOS"; packageProductDependencies = ( - C1D1FBBC2C21AC93008E9E3F /* CwlPreconditionTesting */, ); productName = "SimpleKeychainTests-visionOS"; productReference = C1D1FB972C218DD1008E9E3F /* SimpleKeychainTests.xctest */; @@ -724,7 +710,6 @@ ); mainGroup = 5FEEB9921B7BD70A00501415; packageReferences = ( - C1D1FBBB2C21AC93008E9E3F /* XCRemoteSwiftPackageReference "CwlPreconditionTesting" */, ); productRefGroup = 5FEEB99D1B7BD70A00501415 /* Products */; projectDirPath = ""; @@ -1145,7 +1130,7 @@ SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = 3; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/tvOSTestHost.app/tvOSTestHost"; - TVOS_DEPLOYMENT_TARGET = 13.0; + TVOS_DEPLOYMENT_TARGET = 14.0; }; name = Debug; }; @@ -1169,7 +1154,7 @@ SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = 3; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/tvOSTestHost.app/tvOSTestHost"; - TVOS_DEPLOYMENT_TARGET = 13.0; + TVOS_DEPLOYMENT_TARGET = 14.0; }; name = Release; }; @@ -1262,7 +1247,7 @@ SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = 3; - TVOS_DEPLOYMENT_TARGET = 13.0; + TVOS_DEPLOYMENT_TARGET = 14.0; }; name = Debug; }; @@ -1290,7 +1275,7 @@ SKIP_INSTALL = YES; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = 3; - TVOS_DEPLOYMENT_TARGET = 13.0; + TVOS_DEPLOYMENT_TARGET = 14.0; }; name = Release; }; @@ -1322,7 +1307,7 @@ SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = 3; - TVOS_DEPLOYMENT_TARGET = 13.0; + TVOS_DEPLOYMENT_TARGET = 14.0; }; name = Debug; }; @@ -1350,7 +1335,7 @@ SDKROOT = appletvos; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = 3; - TVOS_DEPLOYMENT_TARGET = 13.0; + TVOS_DEPLOYMENT_TARGET = 14.0; }; name = Release; }; @@ -1360,7 +1345,7 @@ BUNDLE_LOADER = "$(TEST_HOST)"; DEBUG_INFORMATION_FORMAT = dwarf; INFOPLIST_FILE = SimpleKeychainTests/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 13.0; + IPHONEOS_DEPLOYMENT_TARGET = 14.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -1379,7 +1364,7 @@ buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; INFOPLIST_FILE = SimpleKeychainTests/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 13.0; + IPHONEOS_DEPLOYMENT_TARGET = 14.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -1444,7 +1429,7 @@ "$(inherited)", ); INFOPLIST_FILE = SimpleKeychainApp/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 13.0; + IPHONEOS_DEPLOYMENT_TARGET = 14.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -1465,7 +1450,7 @@ CODE_SIGN_IDENTITY = "iPhone Developer"; DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = SimpleKeychainApp/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 13.0; + IPHONEOS_DEPLOYMENT_TARGET = 14.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -1527,7 +1512,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 13.0; + IPHONEOS_DEPLOYMENT_TARGET = 14.0; MACOSX_DEPLOYMENT_TARGET = 11.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; @@ -1582,7 +1567,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 13.0; + IPHONEOS_DEPLOYMENT_TARGET = 14.0; MACOSX_DEPLOYMENT_TARGET = 11.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; @@ -1607,7 +1592,7 @@ DYLIB_INSTALL_NAME_BASE = "@rpath"; INFOPLIST_FILE = SimpleKeychain/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 13.0; + IPHONEOS_DEPLOYMENT_TARGET = 14.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -1632,7 +1617,7 @@ DYLIB_INSTALL_NAME_BASE = "@rpath"; INFOPLIST_FILE = SimpleKeychain/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 13.0; + IPHONEOS_DEPLOYMENT_TARGET = 14.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -1745,7 +1730,7 @@ SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2,7"; - XROS_DEPLOYMENT_TARGET = 1.2; + XROS_DEPLOYMENT_TARGET = 1.0; }; name = Debug; }; @@ -1783,7 +1768,7 @@ SWIFT_EMIT_LOC_STRINGS = YES; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2,7"; - XROS_DEPLOYMENT_TARGET = 1.2; + XROS_DEPLOYMENT_TARGET = 1.0; }; name = Release; }; @@ -2090,35 +2075,6 @@ defaultConfigurationName = Release; }; /* End XCConfigurationList section */ - -/* Begin XCRemoteSwiftPackageReference section */ - C1D1FBBB2C21AC93008E9E3F /* XCRemoteSwiftPackageReference "CwlPreconditionTesting" */ = { - isa = XCRemoteSwiftPackageReference; - repositoryURL = "https://github.com/mattgallagher/CwlPreconditionTesting.git"; - requirement = { - kind = upToNextMajorVersion; - minimumVersion = 2.2.1; - }; - }; -/* End XCRemoteSwiftPackageReference section */ - -/* Begin XCSwiftPackageProductDependency section */ - C1D1FBBC2C21AC93008E9E3F /* CwlPreconditionTesting */ = { - isa = XCSwiftPackageProductDependency; - package = C1D1FBBB2C21AC93008E9E3F /* XCRemoteSwiftPackageReference "CwlPreconditionTesting" */; - productName = CwlPreconditionTesting; - }; - C1D1FBBE2C21C814008E9E3F /* CwlPreconditionTesting */ = { - isa = XCSwiftPackageProductDependency; - package = C1D1FBBB2C21AC93008E9E3F /* XCRemoteSwiftPackageReference "CwlPreconditionTesting" */; - productName = CwlPreconditionTesting; - }; - C1D1FBC02C21C89C008E9E3F /* CwlPreconditionTesting */ = { - isa = XCSwiftPackageProductDependency; - package = C1D1FBBB2C21AC93008E9E3F /* XCRemoteSwiftPackageReference "CwlPreconditionTesting" */; - productName = CwlPreconditionTesting; - }; -/* End XCSwiftPackageProductDependency section */ }; rootObject = 5FEEB9931B7BD70A00501415 /* Project object */; } From 58a31667ebfb927c9b1f031f21dd493aeeafd9bd Mon Sep 17 00:00:00 2001 From: Sai Venkat Desu Date: Tue, 2 Jul 2024 20:28:54 +0530 Subject: [PATCH 9/9] Trigger build