Minimal deployment version
in podspec file:
s.ios.deployment_target is 12. But I'm using latest capacitor and minimal build version is 13. If I change podspec manually to 13 this works. So maybe to change the file something like :
deployment_target = ENV['DEPLOYMENT_TARGET'] || '12.0' # Default value, can be overridden externally
Pod::Spec.new do |s| s.name = 'CodetrixStudioCapacitorGoogleAuth' s.version = '0.0.1' s.summary = 'Google Auth plugin for Capacitor.' s.license = 'MIT' s.homepage = 'https://github.com/CodetrixStudio/CapacitorGoogleAuth.git' s.author = 'CodetrixStudio' s.source = { :git => 'https://github.com/CodetrixStudio/CapacitorGoogleAuth.git', :tag => s.version.to_s } s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}' s.ios.deployment_target = deployment_target s.dependency 'Capacitor' s.dependency 'GoogleSignIn', '~> 6.2.4' s.static_framework = true
Optionally, expose the deployment target as a subspec for users to override
s.subspec 'Configurations' do |ss| ss.ios.deployment_target = deployment_target end end
PR welcome
Did a PR get created for this, or a fix implemented in the end?
We're running into this issue with the latest Capacitor version, so would be good to get this resolved if possible!