feat: add visionOS deployment target for Cocoapods (#15917)

add visionOS deployment target for Cocoapods

Closes #15917

COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/15917 from YoloMao:feat/visionos_support_via_cocoapods 8a8a640d33
PiperOrigin-RevId: 609578154
This commit is contained in:
YoloMao 2024-02-22 19:23:32 -08:00 committed by Copybara-Service
parent c6af7f76b7
commit 8afaae52d8
2 changed files with 2 additions and 0 deletions

View file

@ -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

View file

@ -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