CapacitorGoogleAuth icon indicating copy to clipboard operation
CapacitorGoogleAuth copied to clipboard

Minimal deployment version

Open Cubaka14 opened this issue 1 year ago • 2 comments

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

Cubaka14 avatar Apr 15 '24 00:04 Cubaka14

PR welcome

reslear avatar Apr 21 '24 18:04 reslear

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!

JackLazenbyZigzag avatar Jun 26 '24 16:06 JackLazenbyZigzag