feat: add visionOS deployment target for Cocoapods

pull/15917/head
YoloMao 1 year ago
parent 1f701a2ba9
commit 8a8a640d33
  1. 1
      Protobuf-C++.podspec
  2. 1
      Protobuf.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

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

Loading…
Cancel
Save