From 8c8314192d5b94d29a2adbdeadf16abd126d85d0 Mon Sep 17 00:00:00 2001 From: Chris Watts Date: Wed, 14 Aug 2024 12:46:36 +0100 Subject: [PATCH] Make visionos optional Resolves #804 by only specifying a visionos deployment target if visionos is supported by the user's cocoapods version. --- react-native-config.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react-native-config.podspec b/react-native-config.podspec index 449b9707..601c1ad2 100644 --- a/react-native-config.podspec +++ b/react-native-config.podspec @@ -16,7 +16,7 @@ Pod::Spec.new do |s| s.ios.deployment_target = '9.0' s.tvos.deployment_target = '9.0' s.macos.deployment_target = '10.15' - s.visionos.deployment_target = '1.0' + s.visionos.deployment_target = '1.0' if s.respond_to?(:visionos) s.source = { git: 'https://github.com/luggit/react-native-config.git', tag: "v#{s.version.to_s}" } s.script_phase = {