Skip to content

Commit

Permalink
Make visionos optional
Browse files Browse the repository at this point in the history
Resolves lugg#804 by only specifying a visionos deployment target if visionos is supported by the user's cocoapods version.
  • Loading branch information
CJxD authored Aug 14, 2024
1 parent 58ea23a commit 8c83141
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react-native-config.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 8c83141

Please sign in to comment.