From 8a8a640d33b2a446f5244ce30e221dcaa34a481f Mon Sep 17 00:00:00 2001 From: YoloMao Date: Thu, 22 Feb 2024 11:19:17 +0800 Subject: [PATCH] feat: add visionOS deployment target for Cocoapods --- Protobuf-C++.podspec | 1 + Protobuf.podspec | 1 + 2 files changed, 2 insertions(+) diff --git a/Protobuf-C++.podspec b/Protobuf-C++.podspec index 77e64d3ae0..8bb53c10bd 100644 --- a/Protobuf-C++.podspec +++ b/Protobuf-C++.podspec @@ -36,6 +36,7 @@ Pod::Spec.new do |s| s.osx.deployment_target = '10.13' s.tvos.deployment_target = '12.0' s.watchos.deployment_target = '6.0' + s.visionos.deployment_target = '1.0' s.pod_target_xcconfig = { # Do not let src/google/protobuf/stubs/time.h override system API diff --git a/Protobuf.podspec b/Protobuf.podspec index 1186bc938d..07e11f81ce 100644 --- a/Protobuf.podspec +++ b/Protobuf.podspec @@ -45,6 +45,7 @@ Pod::Spec.new do |s| s.osx.deployment_target = '10.12' s.tvos.deployment_target = '12.0' s.watchos.deployment_target = '6.0' + s.visionos.deployment_target = '1.0' s.requires_arc = false # The unittest need the generate sources from the testing related .proto