diff --git a/Connectivity.podspec b/Connectivity.podspec index 3b40303..61b236a 100644 --- a/Connectivity.podspec +++ b/Connectivity.podspec @@ -14,6 +14,7 @@ Connectivity wraps Apple's Reachability code to provide a reliable measure of wh s.ios.deployment_target = '12.0' s.tvos.deployment_target = '12.0' s.macos.deployment_target = '10.13' + s.visionos.deployment_target = '1.0' s.frameworks = 'SystemConfiguration' s.weak_frameworks = 'Network', 'Combine' s.source_files = 'Connectivity/Classes/**/*' diff --git a/Connectivity/Classes/Connectivity.swift b/Connectivity/Classes/Connectivity.swift index 848d4d5..d167379 100644 --- a/Connectivity/Classes/Connectivity.swift +++ b/Connectivity/Classes/Connectivity.swift @@ -263,7 +263,7 @@ public extension Connectivity { } } - @available(OSX 10.14, iOS 12.0, tvOS 12.0, *) + @available(OSX 10.14, iOS 12.0, tvOS 12.0, visionOS 1.0, *) private func startPathMonitorNotifier() { let monitor = NWPathMonitor() pathMonitor = monitor @@ -298,7 +298,7 @@ public extension Connectivity { isObservingInterfaceChanges = false } - @available(OSX 10.14, iOS 12.0, tvOS 12.0, *) + @available(OSX 10.14, iOS 12.0, tvOS 12.0, visionOS 1.0, *) private func stopPathMonitorNotifier() { if isObservingInterfaceChanges, let monitor = pathMonitor as? NWPathMonitor { monitor.cancel() @@ -491,7 +491,7 @@ private extension Connectivity { } } - @available(OSX 10.14, iOS 12.0, tvOS 12.0, *) + @available(OSX 10.14, iOS 12.0, tvOS 12.0, visionOS 1.0, *) func interface(from path: NWPath) -> ConnectivityInterface { if path.usesInterfaceType(.wifi) { return .wifi @@ -504,7 +504,7 @@ private extension Connectivity { } } - @available(OSX 10.14, iOS 12.0, tvOS 12.0, *) + @available(OSX 10.14, iOS 12.0, tvOS 12.0, visionOS 1.0, *) func interfaces(from path: NWPath) -> [ConnectivityInterface] { return path.availableInterfaces.map { interface in switch interface.type { @@ -579,7 +579,7 @@ private extension Connectivity { } /// Maps a NetworkStatus to a NWInterface.InterfaceType, if possible. - @available(OSX 10.14, iOS 12.0, tvOS 12.0, *) + @available(OSX 10.14, iOS 12.0, tvOS 12.0, visionOS 1.0, *) private func interfaceType(from networkStatus: NetworkStatus) -> NWInterface.InterfaceType? { switch networkStatus { case ReachableViaWiFi: @@ -670,7 +670,7 @@ private extension Connectivity { } /// Determines the connectivity status using network interface info provided by `NWPath`. - @available(OSX 10.14, iOS 12.0, tvOS 12.0, *) + @available(OSX 10.14, iOS 12.0, tvOS 12.0, visionOS 1.0, *) func status(from path: NWPath, isConnected: Bool) -> ConnectivityStatus { switch interface(from: path) { case .cellular: @@ -693,7 +693,7 @@ private extension Connectivity { } /// Updates the connectivity status using network interface info provided by `NWPath`. - @available(OSX 10.14, iOS 12.0, tvOS 12.0, *) + @available(OSX 10.14, iOS 12.0, tvOS 12.0, visionOS 1.0, *) func updateStatus(from path: NWPath, isConnected: Bool) { availableInterfaces = interfaces(from: path) currentInterface = interface(from: path) diff --git a/Example/Connectivity.xcodeproj/project.pbxproj b/Example/Connectivity.xcodeproj/project.pbxproj index 30a89cd..b2a44ec 100644 --- a/Example/Connectivity.xcodeproj/project.pbxproj +++ b/Example/Connectivity.xcodeproj/project.pbxproj @@ -35,11 +35,15 @@ 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; 607FACEC1AFB9204008FA782 /* ConnectivityTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* ConnectivityTests.swift */; }; + 7DF3288E86A2F107228B1EA4 /* Pods_Connectivity_Example_visionOS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 974A24A5DCF390E1522A0396 /* Pods_Connectivity_Example_visionOS.framework */; }; B5AE95FBAF83E86E09C71F53 /* Pods_Connectivity_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 69CC3C92548787468F0C65E3 /* Pods_Connectivity_Example.framework */; }; D5F1BD1E24AA051100D10B24 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = D5F1BD1D24AA051100D10B24 /* AppDelegate.swift */; }; D5F1BD2024AA051100D10B24 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = D5F1BD1F24AA051100D10B24 /* ViewController.swift */; }; D5F1BD2224AA051400D10B24 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = D5F1BD2124AA051400D10B24 /* Assets.xcassets */; }; D5F1BD2524AA051400D10B24 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D5F1BD2324AA051400D10B24 /* Main.storyboard */; }; + FCD2C90C2AC1B7F400441914 /* ConnectivityExampleApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = FCD2C90B2AC1B7F400441914 /* ConnectivityExampleApp.swift */; }; + FCD2C90E2AC1B7F400441914 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = FCD2C90D2AC1B7F400441914 /* ContentView.swift */; }; + FCD2C9102AC1B7F500441914 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = FCD2C90F2AC1B7F500441914 /* Assets.xcassets */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -74,6 +78,7 @@ 1A67A15C226AE5041C7BBBBC /* Pods-Connectivity_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Connectivity_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Connectivity_Tests/Pods-Connectivity_Tests.debug.xcconfig"; sourceTree = ""; }; 30C46A09282FBCB400D59563 /* ConnectivityConfigurationTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ConnectivityConfigurationTests.swift; sourceTree = ""; }; 30C46A0C282FBD7600D59563 /* MockResponseValidator.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MockResponseValidator.swift; sourceTree = ""; }; + 4B58C7772837819C44F2A8F6 /* Pods-Connectivity_Example_visionOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Connectivity_Example_visionOS.release.xcconfig"; path = "Pods/Target Support Files/Pods-Connectivity_Example_visionOS/Pods-Connectivity_Example_visionOS.release.xcconfig"; sourceTree = ""; }; 59AC20C4169D5C969777DC33 /* Pods-Connectivity_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Connectivity_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-Connectivity_Example/Pods-Connectivity_Example.release.xcconfig"; sourceTree = ""; }; 607FACD01AFB9204008FA782 /* Connectivity_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Connectivity_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; @@ -89,6 +94,7 @@ 6D2EC5685A21E721BE90F9DC /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 756991B8EB92F4B50383EDCD /* Pods-Connectivity_Example_macOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Connectivity_Example_macOS.release.xcconfig"; path = "Pods/Target Support Files/Pods-Connectivity_Example_macOS/Pods-Connectivity_Example_macOS.release.xcconfig"; sourceTree = ""; }; 7834EB795119690B628EF770 /* Pods-Connectivity_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Connectivity_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Connectivity_Example/Pods-Connectivity_Example.debug.xcconfig"; sourceTree = ""; }; + 974A24A5DCF390E1522A0396 /* Pods_Connectivity_Example_visionOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Connectivity_Example_visionOS.framework; sourceTree = BUILT_PRODUCTS_DIR; }; AE8026CB81F7E1D74EB3EEDF /* Pods-Connectivity_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Connectivity_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-Connectivity_Tests/Pods-Connectivity_Tests.release.xcconfig"; sourceTree = ""; }; C9101FE1CB42B71A47A459A9 /* Pods_Connectivity_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Connectivity_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; D4A64AA190C10F19094EC842 /* Connectivity.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = Connectivity.podspec; path = ../Connectivity.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; @@ -99,8 +105,14 @@ D5F1BD2424AA051400D10B24 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; D5F1BD2624AA051400D10B24 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; D5F1BD2724AA051400D10B24 /* Connectivity_Example_macOS.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Connectivity_Example_macOS.entitlements; sourceTree = ""; }; + E0BD2B6DEEA4AA1B446CC10A /* Pods-Connectivity_Example_visionOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Connectivity_Example_visionOS.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Connectivity_Example_visionOS/Pods-Connectivity_Example_visionOS.debug.xcconfig"; sourceTree = ""; }; EC9FE05BACAB7A571B66CFBA /* Pods-Connectivity_Example_macOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Connectivity_Example_macOS.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Connectivity_Example_macOS/Pods-Connectivity_Example_macOS.debug.xcconfig"; sourceTree = ""; }; F5E30A99229C7601196BE416 /* Pods_Connectivity_Example_macOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Connectivity_Example_macOS.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + FCD2C9052AC1B7F400441914 /* Connectivity_Example_visionOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Connectivity_Example_visionOS.app; sourceTree = BUILT_PRODUCTS_DIR; }; + FCD2C90B2AC1B7F400441914 /* ConnectivityExampleApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ConnectivityExampleApp.swift; sourceTree = ""; }; + FCD2C90D2AC1B7F400441914 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; }; + FCD2C90F2AC1B7F500441914 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + FCD2C9142AC1B7F500441914 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -128,6 +140,14 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + FCD2C9022AC1B7F400441914 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 7DF3288E86A2F107228B1EA4 /* Pods_Connectivity_Example_visionOS.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ @@ -188,6 +208,8 @@ AE8026CB81F7E1D74EB3EEDF /* Pods-Connectivity_Tests.release.xcconfig */, EC9FE05BACAB7A571B66CFBA /* Pods-Connectivity_Example_macOS.debug.xcconfig */, 756991B8EB92F4B50383EDCD /* Pods-Connectivity_Example_macOS.release.xcconfig */, + E0BD2B6DEEA4AA1B446CC10A /* Pods-Connectivity_Example_visionOS.debug.xcconfig */, + 4B58C7772837819C44F2A8F6 /* Pods-Connectivity_Example_visionOS.release.xcconfig */, ); name = Pods; sourceTree = ""; @@ -199,6 +221,7 @@ 607FACD21AFB9204008FA782 /* Example for Connectivity */, 607FACE81AFB9204008FA782 /* Tests */, D5F1BD1C24AA051100D10B24 /* Connectivity_Example_macOS */, + FCD2C9062AC1B7F400441914 /* Connectivity_Example_visionOS */, 607FACD11AFB9204008FA782 /* Products */, 35AD42983D257CA6A2F53909 /* Pods */, A8CA67091073AD9C029746CF /* Frameworks */, @@ -211,6 +234,7 @@ 607FACD01AFB9204008FA782 /* Connectivity_Example.app */, 607FACE51AFB9204008FA782 /* Connectivity_Tests.xctest */, D5F1BD1B24AA051100D10B24 /* Connectivity_Example_macOS.app */, + FCD2C9052AC1B7F400441914 /* Connectivity_Example_visionOS.app */, ); name = Products; sourceTree = ""; @@ -281,6 +305,7 @@ 69CC3C92548787468F0C65E3 /* Pods_Connectivity_Example.framework */, C9101FE1CB42B71A47A459A9 /* Pods_Connectivity_Tests.framework */, F5E30A99229C7601196BE416 /* Pods_Connectivity_Example_macOS.framework */, + 974A24A5DCF390E1522A0396 /* Pods_Connectivity_Example_visionOS.framework */, ); name = Frameworks; sourceTree = ""; @@ -298,6 +323,17 @@ path = Connectivity_Example_macOS; sourceTree = ""; }; + FCD2C9062AC1B7F400441914 /* Connectivity_Example_visionOS */ = { + isa = PBXGroup; + children = ( + FCD2C90B2AC1B7F400441914 /* ConnectivityExampleApp.swift */, + FCD2C90D2AC1B7F400441914 /* ContentView.swift */, + FCD2C90F2AC1B7F500441914 /* Assets.xcassets */, + FCD2C9142AC1B7F500441914 /* Info.plist */, + ); + path = Connectivity_Example_visionOS; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ @@ -363,6 +399,27 @@ productReference = D5F1BD1B24AA051100D10B24 /* Connectivity_Example_macOS.app */; productType = "com.apple.product-type.application"; }; + FCD2C9042AC1B7F400441914 /* Connectivity_Example_visionOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = FCD2C9172AC1B7F500441914 /* Build configuration list for PBXNativeTarget "Connectivity_Example_visionOS" */; + buildPhases = ( + F5AB71EF066A058B92AD961E /* [CP] Check Pods Manifest.lock */, + FCD2C9012AC1B7F400441914 /* Sources */, + FCD2C9022AC1B7F400441914 /* Frameworks */, + FCD2C9032AC1B7F400441914 /* Resources */, + 2A9CC02BAC438392A7B0FE64 /* [CP] Embed Pods Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = Connectivity_Example_visionOS; + packageProductDependencies = ( + ); + productName = Connectivity_Example_visionOS; + productReference = FCD2C9052AC1B7F400441914 /* Connectivity_Example_visionOS.app */; + productType = "com.apple.product-type.application"; + }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ @@ -370,7 +427,7 @@ isa = PBXProject; attributes = { BuildIndependentTargetsInParallel = YES; - LastSwiftUpdateCheck = 1150; + LastSwiftUpdateCheck = 1500; LastUpgradeCheck = 1430; ORGANIZATIONNAME = CocoaPods; TargetAttributes = { @@ -387,6 +444,9 @@ CreatedOnToolsVersion = 11.5; ProvisioningStyle = Automatic; }; + FCD2C9042AC1B7F400441914 = { + CreatedOnToolsVersion = 15.0; + }; }; }; buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "Connectivity" */; @@ -405,6 +465,7 @@ 607FACCF1AFB9204008FA782 /* Connectivity_Example */, 607FACE41AFB9204008FA782 /* Connectivity_Tests */, D5F1BD1A24AA051100D10B24 /* Connectivity_Example_macOS */, + FCD2C9042AC1B7F400441914 /* Connectivity_Example_visionOS */, ); }; /* End PBXProject section */ @@ -443,6 +504,14 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + FCD2C9032AC1B7F400441914 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + FCD2C9102AC1B7F500441914 /* Assets.xcassets in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ @@ -478,6 +547,24 @@ shellPath = /bin/sh; shellScript = "if [ $ENABLE_PREVIEWS == \"NO\" ]\nthen\n SDKROOT=(xcrun --sdk macosx --show-sdk-path) \n swift run -c release --package-path ../tools/linting swiftformat \"$SRCROOT/Connectivity*\"\nelse\n echo \"Skipping the script because of preview mode\"\nfi\n"; }; + 2A9CC02BAC438392A7B0FE64 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-Connectivity_Example_visionOS/Pods-Connectivity_Example_visionOS-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/Connectivity-visionOS/Connectivity.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Connectivity.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Connectivity_Example_visionOS/Pods-Connectivity_Example_visionOS-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; 3511C667F00570A014824B88 /* [CP] Embed Pods Frameworks */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; @@ -590,6 +677,28 @@ shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Connectivity_Example/Pods-Connectivity_Example-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; + F5AB71EF066A058B92AD961E /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputFileListPaths = ( + ); + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-Connectivity_Example_visionOS-checkManifestLockResult.txt", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + showEnvVarsInLog = 0; + }; /* End PBXShellScriptBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ @@ -632,6 +741,15 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + FCD2C9012AC1B7F400441914 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + FCD2C90E2AC1B7F400441914 /* ContentView.swift in Sources */, + FCD2C90C2AC1B7F400441914 /* ConnectivityExampleApp.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ @@ -932,6 +1050,89 @@ }; name = Release; }; + FCD2C9152AC1B7F500441914 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = E0BD2B6DEEA4AA1B446CC10A /* Pods-Connectivity_Example_visionOS.debug.xcconfig */; + 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 = ""; + DEVELOPMENT_TEAM = 3M5P376P9C; + ENABLE_PREVIEWS = YES; + ENABLE_USER_SCRIPT_SANDBOXING = NO; + 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.rwbutler.demo.Connectivity-Example-visionOS.Connectivity-Example-visionOS"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = xros; + SUPPORTED_PLATFORMS = "xros xrsimulator"; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2,7"; + XROS_DEPLOYMENT_TARGET = 1.0; + }; + name = Debug; + }; + FCD2C9162AC1B7F500441914 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 4B58C7772837819C44F2A8F6 /* Pods-Connectivity_Example_visionOS.release.xcconfig */; + 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 = ""; + DEVELOPMENT_TEAM = 3M5P376P9C; + ENABLE_PREVIEWS = YES; + ENABLE_USER_SCRIPT_SANDBOXING = NO; + 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.rwbutler.demo.Connectivity-Example-visionOS.Connectivity-Example-visionOS"; + 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.0; + }; + name = Release; + }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ @@ -971,6 +1172,15 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; + FCD2C9172AC1B7F500441914 /* Build configuration list for PBXNativeTarget "Connectivity_Example_visionOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + FCD2C9152AC1B7F500441914 /* Debug */, + FCD2C9162AC1B7F500441914 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; /* End XCConfigurationList section */ }; rootObject = 607FACC81AFB9204008FA782 /* Project object */; diff --git a/Example/Connectivity.xcodeproj/xcshareddata/xcschemes/Connectivity_Example_macOS.xcscheme b/Example/Connectivity.xcodeproj/xcshareddata/xcschemes/Connectivity_Example_macOS.xcscheme new file mode 100644 index 0000000..bb5349e --- /dev/null +++ b/Example/Connectivity.xcodeproj/xcshareddata/xcschemes/Connectivity_Example_macOS.xcscheme @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Example/Connectivity.xcodeproj/xcshareddata/xcschemes/Connectivity_Example_visionOS.xcscheme b/Example/Connectivity.xcodeproj/xcshareddata/xcschemes/Connectivity_Example_visionOS.xcscheme new file mode 100644 index 0000000..654ac73 --- /dev/null +++ b/Example/Connectivity.xcodeproj/xcshareddata/xcschemes/Connectivity_Example_visionOS.xcscheme @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Example/Connectivity_Example_visionOS/Assets.xcassets/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset/Contents.json b/Example/Connectivity_Example_visionOS/Assets.xcassets/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset/Contents.json new file mode 100644 index 0000000..0c7eecb --- /dev/null +++ b/Example/Connectivity_Example_visionOS/Assets.xcassets/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset/Contents.json @@ -0,0 +1,12 @@ +{ + "images" : [ + { + "idiom" : "reality", + "scale" : "2x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Example/Connectivity_Example_visionOS/Assets.xcassets/AppIcon.solidimagestack/Back.solidimagestacklayer/Contents.json b/Example/Connectivity_Example_visionOS/Assets.xcassets/AppIcon.solidimagestack/Back.solidimagestacklayer/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Example/Connectivity_Example_visionOS/Assets.xcassets/AppIcon.solidimagestack/Back.solidimagestacklayer/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Example/Connectivity_Example_visionOS/Assets.xcassets/AppIcon.solidimagestack/Contents.json b/Example/Connectivity_Example_visionOS/Assets.xcassets/AppIcon.solidimagestack/Contents.json new file mode 100644 index 0000000..950af4d --- /dev/null +++ b/Example/Connectivity_Example_visionOS/Assets.xcassets/AppIcon.solidimagestack/Contents.json @@ -0,0 +1,17 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + }, + "layers" : [ + { + "filename" : "Front.solidimagestacklayer" + }, + { + "filename" : "Middle.solidimagestacklayer" + }, + { + "filename" : "Back.solidimagestacklayer" + } + ] +} diff --git a/Example/Connectivity_Example_visionOS/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Content.imageset/Contents.json b/Example/Connectivity_Example_visionOS/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Content.imageset/Contents.json new file mode 100644 index 0000000..0c7eecb --- /dev/null +++ b/Example/Connectivity_Example_visionOS/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Content.imageset/Contents.json @@ -0,0 +1,12 @@ +{ + "images" : [ + { + "idiom" : "reality", + "scale" : "2x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Example/Connectivity_Example_visionOS/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Contents.json b/Example/Connectivity_Example_visionOS/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Example/Connectivity_Example_visionOS/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Example/Connectivity_Example_visionOS/Assets.xcassets/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset/Contents.json b/Example/Connectivity_Example_visionOS/Assets.xcassets/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset/Contents.json new file mode 100644 index 0000000..0c7eecb --- /dev/null +++ b/Example/Connectivity_Example_visionOS/Assets.xcassets/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset/Contents.json @@ -0,0 +1,12 @@ +{ + "images" : [ + { + "idiom" : "reality", + "scale" : "2x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Example/Connectivity_Example_visionOS/Assets.xcassets/AppIcon.solidimagestack/Middle.solidimagestacklayer/Contents.json b/Example/Connectivity_Example_visionOS/Assets.xcassets/AppIcon.solidimagestack/Middle.solidimagestacklayer/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Example/Connectivity_Example_visionOS/Assets.xcassets/AppIcon.solidimagestack/Middle.solidimagestacklayer/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Example/Connectivity_Example_visionOS/Assets.xcassets/Contents.json b/Example/Connectivity_Example_visionOS/Assets.xcassets/Contents.json new file mode 100644 index 0000000..da4a164 --- /dev/null +++ b/Example/Connectivity_Example_visionOS/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/Example/Connectivity_Example_visionOS/ConnectivityExampleApp.swift b/Example/Connectivity_Example_visionOS/ConnectivityExampleApp.swift new file mode 100644 index 0000000..4242664 --- /dev/null +++ b/Example/Connectivity_Example_visionOS/ConnectivityExampleApp.swift @@ -0,0 +1,18 @@ +// +// ConnectivityExampleApp.swift +// Connectivity_Example_visionOS +// +// Created by Zandor Smith on 25/09/2023. +// Copyright © 2023 CocoaPods. All rights reserved. +// + +import SwiftUI + +@main +struct ConnectivityExampleApp: App { + var body: some Scene { + WindowGroup { + ContentView() + } + } +} diff --git a/Example/Connectivity_Example_visionOS/ContentView.swift b/Example/Connectivity_Example_visionOS/ContentView.swift new file mode 100644 index 0000000..97e9392 --- /dev/null +++ b/Example/Connectivity_Example_visionOS/ContentView.swift @@ -0,0 +1,35 @@ +// +// ContentView.swift +// Connectivity_Example_visionOS +// +// Created by Zandor Smith on 25/09/2023. +// Copyright © 2023 CocoaPods. All rights reserved. +// + +import SwiftUI +import Connectivity + +struct ContentView: View { + private let connectivity = Connectivity(shouldUseHTTPS: false) + + var body: some View { + VStack { + Text("Hello, world!") + } + .padding() + .onAppear(perform: { + connectivity.framework = .network + connectivity.whenConnected = { connectivity in + print("connectivity11", connectivity.status.description) + } + connectivity.whenDisconnected = { connectivity in + print("connectivity12", connectivity.status.description) + } + connectivity.startNotifier() + }) + } +} + +#Preview(windowStyle: .automatic) { + ContentView() +} diff --git a/Example/Connectivity_Example_visionOS/Info.plist b/Example/Connectivity_Example_visionOS/Info.plist new file mode 100644 index 0000000..20f75e2 --- /dev/null +++ b/Example/Connectivity_Example_visionOS/Info.plist @@ -0,0 +1,15 @@ + + + + + UIApplicationSceneManifest + + UIApplicationPreferredDefaultSceneSessionRole + UIWindowSceneSessionRoleApplication + UIApplicationSupportsMultipleScenes + + UISceneConfigurations + + + + diff --git a/Example/Podfile b/Example/Podfile index eaf4597..356408f 100644 --- a/Example/Podfile +++ b/Example/Podfile @@ -17,3 +17,7 @@ end target 'Connectivity_Example_macOS' do connectivity end + +target 'Connectivity_Example_visionOS' do + connectivity +end diff --git a/Example/Podfile.lock b/Example/Podfile.lock index 3bc83c4..bd9476e 100644 --- a/Example/Podfile.lock +++ b/Example/Podfile.lock @@ -1,5 +1,5 @@ PODS: - - Connectivity (6.1.0) + - Connectivity (6.1.1) - OHHTTPStubs/Core (9.1.0) - OHHTTPStubs/Default (9.1.0): - OHHTTPStubs/Core @@ -27,9 +27,9 @@ EXTERNAL SOURCES: :path: "../" SPEC CHECKSUMS: - Connectivity: dca4c7e47ac3aa57682f73929c29d6aa3081c6f8 + Connectivity: 2ef4830b4201e26e78bc542501b9d4eabbf4562e OHHTTPStubs: 90eac6d8f2c18317baeca36698523dc67c513831 -PODFILE CHECKSUM: c5b723e0b586f69bc9145c603ad8a63cbc8f1194 +PODFILE CHECKSUM: 9c48c5df5e7cc94d779fb811b6b1c3fb6cb217cf -COCOAPODS: 1.12.1 +COCOAPODS: 1.13.0 diff --git a/Example/Pods/Local Podspecs/Connectivity.podspec.json b/Example/Pods/Local Podspecs/Connectivity.podspec.json index a482b22..65b6959 100644 --- a/Example/Pods/Local Podspecs/Connectivity.podspec.json +++ b/Example/Pods/Local Podspecs/Connectivity.podspec.json @@ -1,6 +1,6 @@ { "name": "Connectivity", - "version": "6.1.0", + "version": "6.1.1", "swift_versions": "5.0", "summary": "Makes Internet connectivity detection more robust by detecting Wi-Fi networks without Internet access.", "description": "Connectivity wraps Apple's Reachability code to provide a reliable measure of whether Internet connectivity is available where Reachability alone can only indicate whether _an interface is available that might allow a connection_. Connectivity's objective is to solve the captive portal problem whereby an iOS device is connected to a Wi-Fi network lacking Internet connectivity. Such situations are commonplace and may occur for example when connecting to a public Wi-Fi network which requires the user to register before use. Connectivity can detect such situations enabling you to react accordingly.", @@ -14,12 +14,13 @@ }, "source": { "git": "https://github.com/rwbutler/Connectivity.git", - "tag": "6.1.0" + "tag": "6.1.1" }, "platforms": { "ios": "11.0", "tvos": "11.0", - "osx": "10.13" + "osx": "10.13", + "visionos": "1.0" }, "frameworks": "SystemConfiguration", "weak_frameworks": [ diff --git a/Example/Pods/Manifest.lock b/Example/Pods/Manifest.lock index 3bc83c4..bd9476e 100644 --- a/Example/Pods/Manifest.lock +++ b/Example/Pods/Manifest.lock @@ -1,5 +1,5 @@ PODS: - - Connectivity (6.1.0) + - Connectivity (6.1.1) - OHHTTPStubs/Core (9.1.0) - OHHTTPStubs/Default (9.1.0): - OHHTTPStubs/Core @@ -27,9 +27,9 @@ EXTERNAL SOURCES: :path: "../" SPEC CHECKSUMS: - Connectivity: dca4c7e47ac3aa57682f73929c29d6aa3081c6f8 + Connectivity: 2ef4830b4201e26e78bc542501b9d4eabbf4562e OHHTTPStubs: 90eac6d8f2c18317baeca36698523dc67c513831 -PODFILE CHECKSUM: c5b723e0b586f69bc9145c603ad8a63cbc8f1194 +PODFILE CHECKSUM: 9c48c5df5e7cc94d779fb811b6b1c3fb6cb217cf -COCOAPODS: 1.12.1 +COCOAPODS: 1.13.0 diff --git a/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/Connectivity-visionOS.xcscheme b/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/Connectivity-visionOS.xcscheme new file mode 100644 index 0000000..1ed481f --- /dev/null +++ b/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/Connectivity-visionOS.xcscheme @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Example/Pods/Target Support Files/Connectivity-iOS/Connectivity-iOS.debug.xcconfig b/Example/Pods/Target Support Files/Connectivity-iOS/Connectivity-iOS.debug.xcconfig index 1ce2586..5fc314b 100644 --- a/Example/Pods/Target Support Files/Connectivity-iOS/Connectivity-iOS.debug.xcconfig +++ b/Example/Pods/Target Support Files/Connectivity-iOS/Connectivity-iOS.debug.xcconfig @@ -1,7 +1,7 @@ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Connectivity-iOS GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LIBRARY_SEARCH_PATHS = $(inherited) "${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift +LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift OTHER_LDFLAGS = $(inherited) -framework "SystemConfiguration" -weak_framework "Combine" -weak_framework "Network" OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS PODS_BUILD_DIR = ${BUILD_DIR} diff --git a/Example/Pods/Target Support Files/Connectivity-iOS/Connectivity-iOS.release.xcconfig b/Example/Pods/Target Support Files/Connectivity-iOS/Connectivity-iOS.release.xcconfig index 1ce2586..5fc314b 100644 --- a/Example/Pods/Target Support Files/Connectivity-iOS/Connectivity-iOS.release.xcconfig +++ b/Example/Pods/Target Support Files/Connectivity-iOS/Connectivity-iOS.release.xcconfig @@ -1,7 +1,7 @@ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Connectivity-iOS GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LIBRARY_SEARCH_PATHS = $(inherited) "${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift +LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift OTHER_LDFLAGS = $(inherited) -framework "SystemConfiguration" -weak_framework "Combine" -weak_framework "Network" OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS PODS_BUILD_DIR = ${BUILD_DIR} diff --git a/Example/Pods/Target Support Files/Connectivity-macOS/Connectivity-macOS.debug.xcconfig b/Example/Pods/Target Support Files/Connectivity-macOS/Connectivity-macOS.debug.xcconfig index 0c2af61..1cddf78 100644 --- a/Example/Pods/Target Support Files/Connectivity-macOS/Connectivity-macOS.debug.xcconfig +++ b/Example/Pods/Target Support Files/Connectivity-macOS/Connectivity-macOS.debug.xcconfig @@ -2,7 +2,7 @@ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO CODE_SIGN_IDENTITY = CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Connectivity-macOS GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LIBRARY_SEARCH_PATHS = $(inherited) "${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift +LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift OTHER_LDFLAGS = $(inherited) -framework "SystemConfiguration" -weak_framework "Combine" -weak_framework "Network" OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS PODS_BUILD_DIR = ${BUILD_DIR} diff --git a/Example/Pods/Target Support Files/Connectivity-macOS/Connectivity-macOS.release.xcconfig b/Example/Pods/Target Support Files/Connectivity-macOS/Connectivity-macOS.release.xcconfig index 0c2af61..1cddf78 100644 --- a/Example/Pods/Target Support Files/Connectivity-macOS/Connectivity-macOS.release.xcconfig +++ b/Example/Pods/Target Support Files/Connectivity-macOS/Connectivity-macOS.release.xcconfig @@ -2,7 +2,7 @@ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO CODE_SIGN_IDENTITY = CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Connectivity-macOS GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LIBRARY_SEARCH_PATHS = $(inherited) "${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift +LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift OTHER_LDFLAGS = $(inherited) -framework "SystemConfiguration" -weak_framework "Combine" -weak_framework "Network" OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS PODS_BUILD_DIR = ${BUILD_DIR} diff --git a/Example/Pods/Target Support Files/Connectivity-visionOS/Connectivity-visionOS-Info.plist b/Example/Pods/Target Support Files/Connectivity-visionOS/Connectivity-visionOS-Info.plist new file mode 100644 index 0000000..6b8a904 --- /dev/null +++ b/Example/Pods/Target Support Files/Connectivity-visionOS/Connectivity-visionOS-Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + ${PODS_DEVELOPMENT_LANGUAGE} + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + ${PRODUCT_BUNDLE_IDENTIFIER} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 6.1.1 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/Example/Pods/Target Support Files/Connectivity-visionOS/Connectivity-visionOS-dummy.m b/Example/Pods/Target Support Files/Connectivity-visionOS/Connectivity-visionOS-dummy.m new file mode 100644 index 0000000..5336641 --- /dev/null +++ b/Example/Pods/Target Support Files/Connectivity-visionOS/Connectivity-visionOS-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_Connectivity_visionOS : NSObject +@end +@implementation PodsDummy_Connectivity_visionOS +@end diff --git a/Example/Pods/Target Support Files/Connectivity-visionOS/Connectivity-visionOS-prefix.pch b/Example/Pods/Target Support Files/Connectivity-visionOS/Connectivity-visionOS-prefix.pch new file mode 100644 index 0000000..e33fc32 --- /dev/null +++ b/Example/Pods/Target Support Files/Connectivity-visionOS/Connectivity-visionOS-prefix.pch @@ -0,0 +1,12 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + diff --git a/Example/Pods/Target Support Files/Connectivity-visionOS/Connectivity-visionOS-umbrella.h b/Example/Pods/Target Support Files/Connectivity-visionOS/Connectivity-visionOS-umbrella.h new file mode 100644 index 0000000..ffa32a2 --- /dev/null +++ b/Example/Pods/Target Support Files/Connectivity-visionOS/Connectivity-visionOS-umbrella.h @@ -0,0 +1,17 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "Reachability.h" + +FOUNDATION_EXPORT double ConnectivityVersionNumber; +FOUNDATION_EXPORT const unsigned char ConnectivityVersionString[]; + diff --git a/Example/Pods/Target Support Files/Connectivity-visionOS/Connectivity-visionOS.debug.xcconfig b/Example/Pods/Target Support Files/Connectivity-visionOS/Connectivity-visionOS.debug.xcconfig new file mode 100644 index 0000000..be8c7f7 --- /dev/null +++ b/Example/Pods/Target Support Files/Connectivity-visionOS/Connectivity-visionOS.debug.xcconfig @@ -0,0 +1,15 @@ +CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO +CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Connectivity-visionOS +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift +OTHER_LDFLAGS = $(inherited) -framework "SystemConfiguration" -weak_framework "Combine" -weak_framework "Network" +OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} +PODS_ROOT = ${SRCROOT} +PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. +PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates +PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} +SKIP_INSTALL = YES +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Example/Pods/Target Support Files/Connectivity-visionOS/Connectivity-visionOS.modulemap b/Example/Pods/Target Support Files/Connectivity-visionOS/Connectivity-visionOS.modulemap new file mode 100644 index 0000000..25dacce --- /dev/null +++ b/Example/Pods/Target Support Files/Connectivity-visionOS/Connectivity-visionOS.modulemap @@ -0,0 +1,6 @@ +framework module Connectivity { + umbrella header "Connectivity-visionOS-umbrella.h" + + export * + module * { export * } +} diff --git a/Example/Pods/Target Support Files/Connectivity-visionOS/Connectivity-visionOS.release.xcconfig b/Example/Pods/Target Support Files/Connectivity-visionOS/Connectivity-visionOS.release.xcconfig new file mode 100644 index 0000000..be8c7f7 --- /dev/null +++ b/Example/Pods/Target Support Files/Connectivity-visionOS/Connectivity-visionOS.release.xcconfig @@ -0,0 +1,15 @@ +CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO +CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Connectivity-visionOS +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift +OTHER_LDFLAGS = $(inherited) -framework "SystemConfiguration" -weak_framework "Combine" -weak_framework "Network" +OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} +PODS_ROOT = ${SRCROOT} +PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. +PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates +PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} +SKIP_INSTALL = YES +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Example/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs.debug.xcconfig b/Example/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs.debug.xcconfig index 58d4ce3..de0995b 100644 --- a/Example/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs.debug.xcconfig +++ b/Example/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs.debug.xcconfig @@ -1,7 +1,7 @@ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/OHHTTPStubs GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LIBRARY_SEARCH_PATHS = $(inherited) "${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift +LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift OTHER_LDFLAGS = $(inherited) -framework "CFNetwork" -framework "Foundation" OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS PODS_BUILD_DIR = ${BUILD_DIR} diff --git a/Example/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs.release.xcconfig b/Example/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs.release.xcconfig index 58d4ce3..de0995b 100644 --- a/Example/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs.release.xcconfig +++ b/Example/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs.release.xcconfig @@ -1,7 +1,7 @@ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/OHHTTPStubs GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LIBRARY_SEARCH_PATHS = $(inherited) "${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift +LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift OTHER_LDFLAGS = $(inherited) -framework "CFNetwork" -framework "Foundation" OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS PODS_BUILD_DIR = ${BUILD_DIR} diff --git a/Example/Pods/Target Support Files/Pods-Connectivity_Example/Pods-Connectivity_Example-frameworks.sh b/Example/Pods/Target Support Files/Pods-Connectivity_Example/Pods-Connectivity_Example-frameworks.sh index 7373cce..3251b89 100755 --- a/Example/Pods/Target Support Files/Pods-Connectivity_Example/Pods-Connectivity_Example-frameworks.sh +++ b/Example/Pods/Target Support Files/Pods-Connectivity_Example/Pods-Connectivity_Example-frameworks.sh @@ -18,7 +18,7 @@ echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}" -SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" +SWIFT_STDLIB_PATH="${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" BCSYMBOLMAP_DIR="BCSymbolMaps" diff --git a/Example/Pods/Target Support Files/Pods-Connectivity_Example/Pods-Connectivity_Example.debug.xcconfig b/Example/Pods/Target Support Files/Pods-Connectivity_Example/Pods-Connectivity_Example.debug.xcconfig index 9373258..b697cec 100644 --- a/Example/Pods/Target Support Files/Pods-Connectivity_Example/Pods-Connectivity_Example.debug.xcconfig +++ b/Example/Pods/Target Support Files/Pods-Connectivity_Example/Pods-Connectivity_Example.debug.xcconfig @@ -4,7 +4,7 @@ FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Connectiv GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Connectivity-iOS/Connectivity.framework/Headers" LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift '@executable_path/Frameworks' '@loader_path/Frameworks' -LIBRARY_SEARCH_PATHS = $(inherited) "${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift +LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift OTHER_LDFLAGS = $(inherited) -framework "Connectivity" -framework "SystemConfiguration" -weak_framework "Combine" -weak_framework "Network" OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS PODS_BUILD_DIR = ${BUILD_DIR} diff --git a/Example/Pods/Target Support Files/Pods-Connectivity_Example/Pods-Connectivity_Example.release.xcconfig b/Example/Pods/Target Support Files/Pods-Connectivity_Example/Pods-Connectivity_Example.release.xcconfig index 9373258..b697cec 100644 --- a/Example/Pods/Target Support Files/Pods-Connectivity_Example/Pods-Connectivity_Example.release.xcconfig +++ b/Example/Pods/Target Support Files/Pods-Connectivity_Example/Pods-Connectivity_Example.release.xcconfig @@ -4,7 +4,7 @@ FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Connectiv GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Connectivity-iOS/Connectivity.framework/Headers" LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift '@executable_path/Frameworks' '@loader_path/Frameworks' -LIBRARY_SEARCH_PATHS = $(inherited) "${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift +LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift OTHER_LDFLAGS = $(inherited) -framework "Connectivity" -framework "SystemConfiguration" -weak_framework "Combine" -weak_framework "Network" OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS PODS_BUILD_DIR = ${BUILD_DIR} diff --git a/Example/Pods/Target Support Files/Pods-Connectivity_Example_macOS/Pods-Connectivity_Example_macOS-frameworks.sh b/Example/Pods/Target Support Files/Pods-Connectivity_Example_macOS/Pods-Connectivity_Example_macOS-frameworks.sh index 979b79e..1e9fb82 100755 --- a/Example/Pods/Target Support Files/Pods-Connectivity_Example_macOS/Pods-Connectivity_Example_macOS-frameworks.sh +++ b/Example/Pods/Target Support Files/Pods-Connectivity_Example_macOS/Pods-Connectivity_Example_macOS-frameworks.sh @@ -18,7 +18,7 @@ echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}" -SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" +SWIFT_STDLIB_PATH="${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" BCSYMBOLMAP_DIR="BCSymbolMaps" diff --git a/Example/Pods/Target Support Files/Pods-Connectivity_Example_macOS/Pods-Connectivity_Example_macOS.debug.xcconfig b/Example/Pods/Target Support Files/Pods-Connectivity_Example_macOS/Pods-Connectivity_Example_macOS.debug.xcconfig index 56bb166..fd39fff 100644 --- a/Example/Pods/Target Support Files/Pods-Connectivity_Example_macOS/Pods-Connectivity_Example_macOS.debug.xcconfig +++ b/Example/Pods/Target Support Files/Pods-Connectivity_Example_macOS/Pods-Connectivity_Example_macOS.debug.xcconfig @@ -3,8 +3,8 @@ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Connectivity-macOS" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Connectivity-macOS/Connectivity.framework/Headers" -LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift '@executable_path/../Frameworks' '@loader_path/Frameworks' "${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" -LIBRARY_SEARCH_PATHS = $(inherited) "${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift +LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift '@executable_path/../Frameworks' '@loader_path/Frameworks' "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" +LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift OTHER_LDFLAGS = $(inherited) -framework "Connectivity" -framework "SystemConfiguration" -weak_framework "Combine" -weak_framework "Network" OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS PODS_BUILD_DIR = ${BUILD_DIR} diff --git a/Example/Pods/Target Support Files/Pods-Connectivity_Example_macOS/Pods-Connectivity_Example_macOS.release.xcconfig b/Example/Pods/Target Support Files/Pods-Connectivity_Example_macOS/Pods-Connectivity_Example_macOS.release.xcconfig index 56bb166..fd39fff 100644 --- a/Example/Pods/Target Support Files/Pods-Connectivity_Example_macOS/Pods-Connectivity_Example_macOS.release.xcconfig +++ b/Example/Pods/Target Support Files/Pods-Connectivity_Example_macOS/Pods-Connectivity_Example_macOS.release.xcconfig @@ -3,8 +3,8 @@ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Connectivity-macOS" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Connectivity-macOS/Connectivity.framework/Headers" -LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift '@executable_path/../Frameworks' '@loader_path/Frameworks' "${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" -LIBRARY_SEARCH_PATHS = $(inherited) "${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift +LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift '@executable_path/../Frameworks' '@loader_path/Frameworks' "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" +LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift OTHER_LDFLAGS = $(inherited) -framework "Connectivity" -framework "SystemConfiguration" -weak_framework "Combine" -weak_framework "Network" OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS PODS_BUILD_DIR = ${BUILD_DIR} diff --git a/Example/Pods/Target Support Files/Pods-Connectivity_Example_visionOS/Pods-Connectivity_Example_visionOS-Info.plist b/Example/Pods/Target Support Files/Pods-Connectivity_Example_visionOS/Pods-Connectivity_Example_visionOS-Info.plist new file mode 100644 index 0000000..19cf209 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-Connectivity_Example_visionOS/Pods-Connectivity_Example_visionOS-Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + ${PODS_DEVELOPMENT_LANGUAGE} + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + ${PRODUCT_BUNDLE_IDENTIFIER} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0.0 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/Example/Pods/Target Support Files/Pods-Connectivity_Example_visionOS/Pods-Connectivity_Example_visionOS-acknowledgements.markdown b/Example/Pods/Target Support Files/Pods-Connectivity_Example_visionOS/Pods-Connectivity_Example_visionOS-acknowledgements.markdown new file mode 100644 index 0000000..787c635 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-Connectivity_Example_visionOS/Pods-Connectivity_Example_visionOS-acknowledgements.markdown @@ -0,0 +1,26 @@ +# Acknowledgements +This application makes use of the following third party libraries: + +## Connectivity + +Copyright (c) 2017 - 2018 Ross Butler + +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. + +Generated by CocoaPods - https://cocoapods.org diff --git a/Example/Pods/Target Support Files/Pods-Connectivity_Example_visionOS/Pods-Connectivity_Example_visionOS-acknowledgements.plist b/Example/Pods/Target Support Files/Pods-Connectivity_Example_visionOS/Pods-Connectivity_Example_visionOS-acknowledgements.plist new file mode 100644 index 0000000..353cb84 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-Connectivity_Example_visionOS/Pods-Connectivity_Example_visionOS-acknowledgements.plist @@ -0,0 +1,58 @@ + + + + + PreferenceSpecifiers + + + FooterText + This application makes use of the following third party libraries: + Title + Acknowledgements + Type + PSGroupSpecifier + + + FooterText + Copyright (c) 2017 - 2018 Ross Butler + +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. + + License + MIT + Title + Connectivity + Type + PSGroupSpecifier + + + FooterText + Generated by CocoaPods - https://cocoapods.org + Title + + Type + PSGroupSpecifier + + + StringsTable + Acknowledgements + Title + Acknowledgements + + diff --git a/Example/Pods/Target Support Files/Pods-Connectivity_Example_visionOS/Pods-Connectivity_Example_visionOS-dummy.m b/Example/Pods/Target Support Files/Pods-Connectivity_Example_visionOS/Pods-Connectivity_Example_visionOS-dummy.m new file mode 100644 index 0000000..5c55f80 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-Connectivity_Example_visionOS/Pods-Connectivity_Example_visionOS-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_Pods_Connectivity_Example_visionOS : NSObject +@end +@implementation PodsDummy_Pods_Connectivity_Example_visionOS +@end diff --git a/Example/Pods/Target Support Files/Pods-Connectivity_Example_visionOS/Pods-Connectivity_Example_visionOS-frameworks.sh b/Example/Pods/Target Support Files/Pods-Connectivity_Example_visionOS/Pods-Connectivity_Example_visionOS-frameworks.sh new file mode 100755 index 0000000..4a67232 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-Connectivity_Example_visionOS/Pods-Connectivity_Example_visionOS-frameworks.sh @@ -0,0 +1,186 @@ +#!/bin/sh +set -e +set -u +set -o pipefail + +function on_error { + echo "$(realpath -mq "${0}"):$1: error: Unexpected failure" +} +trap 'on_error $LINENO' ERR + +if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then + # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy + # frameworks to, so exit 0 (signalling the script phase was successful). + exit 0 +fi + +echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" +mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + +COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}" +SWIFT_STDLIB_PATH="${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" +BCSYMBOLMAP_DIR="BCSymbolMaps" + + +# This protects against multiple targets copying the same framework dependency at the same time. The solution +# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html +RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") + +# Copies and strips a vendored framework +install_framework() +{ + if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then + local source="${BUILT_PRODUCTS_DIR}/$1" + elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then + local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" + elif [ -r "$1" ]; then + local source="$1" + fi + + local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + + if [ -L "${source}" ]; then + echo "Symlinked..." + source="$(readlink -f "${source}")" + fi + + if [ -d "${source}/${BCSYMBOLMAP_DIR}" ]; then + # Locate and install any .bcsymbolmaps if present, and remove them from the .framework before the framework is copied + find "${source}/${BCSYMBOLMAP_DIR}" -name "*.bcsymbolmap"|while read f; do + echo "Installing $f" + install_bcsymbolmap "$f" "$destination" + rm "$f" + done + rmdir "${source}/${BCSYMBOLMAP_DIR}" + fi + + # Use filter instead of exclude so missing patterns don't throw errors. + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" + + local basename + basename="$(basename -s .framework "$1")" + binary="${destination}/${basename}.framework/${basename}" + + if ! [ -r "$binary" ]; then + binary="${destination}/${basename}" + elif [ -L "${binary}" ]; then + echo "Destination binary is symlinked..." + dirname="$(dirname "${binary}")" + binary="${dirname}/$(readlink "${binary}")" + fi + + # Strip invalid architectures so "fat" simulator / device frameworks work on device + if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then + strip_invalid_archs "$binary" + fi + + # Resign the code if required by the build settings to avoid unstable apps + code_sign_if_enabled "${destination}/$(basename "$1")" + + # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. + if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then + local swift_runtime_libs + swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u) + for lib in $swift_runtime_libs; do + echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" + rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" + code_sign_if_enabled "${destination}/${lib}" + done + fi +} +# Copies and strips a vendored dSYM +install_dsym() { + local source="$1" + warn_missing_arch=${2:-true} + if [ -r "$source" ]; then + # Copy the dSYM into the targets temp dir. + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" + + local basename + basename="$(basename -s .dSYM "$source")" + binary_name="$(ls "$source/Contents/Resources/DWARF")" + binary="${DERIVED_FILES_DIR}/${basename}.dSYM/Contents/Resources/DWARF/${binary_name}" + + # Strip invalid architectures from the dSYM. + if [[ "$(file "$binary")" == *"Mach-O "*"dSYM companion"* ]]; then + strip_invalid_archs "$binary" "$warn_missing_arch" + fi + if [[ $STRIP_BINARY_RETVAL == 0 ]]; then + # Move the stripped file into its final destination. + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.dSYM" "${DWARF_DSYM_FOLDER_PATH}" + else + # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. + mkdir -p "${DWARF_DSYM_FOLDER_PATH}" + touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.dSYM" + fi + fi +} + +# Used as a return value for each invocation of `strip_invalid_archs` function. +STRIP_BINARY_RETVAL=0 + +# Strip invalid architectures +strip_invalid_archs() { + binary="$1" + warn_missing_arch=${2:-true} + # Get architectures for current target binary + binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" + # Intersect them with the architectures we are building for + intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" + # If there are no archs supported by this binary then warn the user + if [[ -z "$intersected_archs" ]]; then + if [[ "$warn_missing_arch" == "true" ]]; then + echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." + fi + STRIP_BINARY_RETVAL=1 + return + fi + stripped="" + for arch in $binary_archs; do + if ! [[ "${ARCHS}" == *"$arch"* ]]; then + # Strip non-valid architectures in-place + lipo -remove "$arch" -output "$binary" "$binary" + stripped="$stripped $arch" + fi + done + if [[ "$stripped" ]]; then + echo "Stripped $binary of architectures:$stripped" + fi + STRIP_BINARY_RETVAL=0 +} + +# Copies the bcsymbolmap files of a vendored framework +install_bcsymbolmap() { + local bcsymbolmap_path="$1" + local destination="${BUILT_PRODUCTS_DIR}" + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}" +} + +# Signs a framework with the provided identity +code_sign_if_enabled() { + if [ -n "${EXPANDED_CODE_SIGN_IDENTITY:-}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then + # Use the current code_sign_identity + echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" + local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'" + + if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then + code_sign_cmd="$code_sign_cmd &" + fi + echo "$code_sign_cmd" + eval "$code_sign_cmd" + fi +} + +if [[ "$CONFIGURATION" == "Debug" ]]; then + install_framework "${BUILT_PRODUCTS_DIR}/Connectivity-visionOS/Connectivity.framework" +fi +if [[ "$CONFIGURATION" == "Release" ]]; then + install_framework "${BUILT_PRODUCTS_DIR}/Connectivity-visionOS/Connectivity.framework" +fi +if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then + wait +fi diff --git a/Example/Pods/Target Support Files/Pods-Connectivity_Example_visionOS/Pods-Connectivity_Example_visionOS-umbrella.h b/Example/Pods/Target Support Files/Pods-Connectivity_Example_visionOS/Pods-Connectivity_Example_visionOS-umbrella.h new file mode 100644 index 0000000..889acb1 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-Connectivity_Example_visionOS/Pods-Connectivity_Example_visionOS-umbrella.h @@ -0,0 +1,16 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + + +FOUNDATION_EXPORT double Pods_Connectivity_Example_visionOSVersionNumber; +FOUNDATION_EXPORT const unsigned char Pods_Connectivity_Example_visionOSVersionString[]; + diff --git a/Example/Pods/Target Support Files/Pods-Connectivity_Example_visionOS/Pods-Connectivity_Example_visionOS.debug.xcconfig b/Example/Pods/Target Support Files/Pods-Connectivity_Example_visionOS/Pods-Connectivity_Example_visionOS.debug.xcconfig new file mode 100644 index 0000000..fc7c0fa --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-Connectivity_Example_visionOS/Pods-Connectivity_Example_visionOS.debug.xcconfig @@ -0,0 +1,15 @@ +ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES +CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Connectivity-visionOS" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Connectivity-visionOS/Connectivity.framework/Headers" +LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift '@executable_path/Frameworks' '@loader_path/Frameworks' +LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift +OTHER_LDFLAGS = $(inherited) -framework "Connectivity" -framework "SystemConfiguration" -weak_framework "Combine" -weak_framework "Network" +OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_PODFILE_DIR_PATH = ${SRCROOT}/. +PODS_ROOT = ${SRCROOT}/Pods +PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Example/Pods/Target Support Files/Pods-Connectivity_Example_visionOS/Pods-Connectivity_Example_visionOS.modulemap b/Example/Pods/Target Support Files/Pods-Connectivity_Example_visionOS/Pods-Connectivity_Example_visionOS.modulemap new file mode 100644 index 0000000..9197a5f --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-Connectivity_Example_visionOS/Pods-Connectivity_Example_visionOS.modulemap @@ -0,0 +1,6 @@ +framework module Pods_Connectivity_Example_visionOS { + umbrella header "Pods-Connectivity_Example_visionOS-umbrella.h" + + export * + module * { export * } +} diff --git a/Example/Pods/Target Support Files/Pods-Connectivity_Example_visionOS/Pods-Connectivity_Example_visionOS.release.xcconfig b/Example/Pods/Target Support Files/Pods-Connectivity_Example_visionOS/Pods-Connectivity_Example_visionOS.release.xcconfig new file mode 100644 index 0000000..fc7c0fa --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-Connectivity_Example_visionOS/Pods-Connectivity_Example_visionOS.release.xcconfig @@ -0,0 +1,15 @@ +ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES +CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Connectivity-visionOS" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Connectivity-visionOS/Connectivity.framework/Headers" +LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift '@executable_path/Frameworks' '@loader_path/Frameworks' +LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift +OTHER_LDFLAGS = $(inherited) -framework "Connectivity" -framework "SystemConfiguration" -weak_framework "Combine" -weak_framework "Network" +OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_PODFILE_DIR_PATH = ${SRCROOT}/. +PODS_ROOT = ${SRCROOT}/Pods +PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Example/Pods/Target Support Files/Pods-Connectivity_Tests/Pods-Connectivity_Tests-frameworks.sh b/Example/Pods/Target Support Files/Pods-Connectivity_Tests/Pods-Connectivity_Tests-frameworks.sh index f12b4d5..fb18785 100755 --- a/Example/Pods/Target Support Files/Pods-Connectivity_Tests/Pods-Connectivity_Tests-frameworks.sh +++ b/Example/Pods/Target Support Files/Pods-Connectivity_Tests/Pods-Connectivity_Tests-frameworks.sh @@ -18,7 +18,7 @@ echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}" -SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" +SWIFT_STDLIB_PATH="${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" BCSYMBOLMAP_DIR="BCSymbolMaps" diff --git a/Example/Pods/Target Support Files/Pods-Connectivity_Tests/Pods-Connectivity_Tests.debug.xcconfig b/Example/Pods/Target Support Files/Pods-Connectivity_Tests/Pods-Connectivity_Tests.debug.xcconfig index 4433969..d72bbe9 100644 --- a/Example/Pods/Target Support Files/Pods-Connectivity_Tests/Pods-Connectivity_Tests.debug.xcconfig +++ b/Example/Pods/Target Support Files/Pods-Connectivity_Tests/Pods-Connectivity_Tests.debug.xcconfig @@ -4,7 +4,7 @@ FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Connectiv GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Connectivity-iOS/Connectivity.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/OHHTTPStubs/OHHTTPStubs.framework/Headers" LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift "$(PLATFORM_DIR)/Developer/Library/Frameworks" '@executable_path/Frameworks' '@loader_path/Frameworks' -LIBRARY_SEARCH_PATHS = $(inherited) "${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift +LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift OTHER_LDFLAGS = $(inherited) -framework "CFNetwork" -framework "Connectivity" -framework "Foundation" -framework "OHHTTPStubs" -framework "SystemConfiguration" -weak_framework "Combine" -weak_framework "Network" OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS PODS_BUILD_DIR = ${BUILD_DIR} diff --git a/Example/Pods/Target Support Files/Pods-Connectivity_Tests/Pods-Connectivity_Tests.release.xcconfig b/Example/Pods/Target Support Files/Pods-Connectivity_Tests/Pods-Connectivity_Tests.release.xcconfig index 4433969..d72bbe9 100644 --- a/Example/Pods/Target Support Files/Pods-Connectivity_Tests/Pods-Connectivity_Tests.release.xcconfig +++ b/Example/Pods/Target Support Files/Pods-Connectivity_Tests/Pods-Connectivity_Tests.release.xcconfig @@ -4,7 +4,7 @@ FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Connectiv GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Connectivity-iOS/Connectivity.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/OHHTTPStubs/OHHTTPStubs.framework/Headers" LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift "$(PLATFORM_DIR)/Developer/Library/Frameworks" '@executable_path/Frameworks' '@loader_path/Frameworks' -LIBRARY_SEARCH_PATHS = $(inherited) "${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift +LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift OTHER_LDFLAGS = $(inherited) -framework "CFNetwork" -framework "Connectivity" -framework "Foundation" -framework "OHHTTPStubs" -framework "SystemConfiguration" -weak_framework "Combine" -weak_framework "Network" OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS PODS_BUILD_DIR = ${BUILD_DIR} diff --git a/Package.swift b/Package.swift index 6daa0f3..7d56599 100644 --- a/Package.swift +++ b/Package.swift @@ -6,7 +6,8 @@ let package = Package( platforms: [ .iOS(.v12), .tvOS(.v12), - .macOS(.v10_13) + .macOS(.v10_13), + .visionOS(.v1) ], products: [ .library(