Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minimal deployment version #353

Open
Cubaka14 opened this issue Apr 15, 2024 · 2 comments
Open

Minimal deployment version #353

Cubaka14 opened this issue Apr 15, 2024 · 2 comments

Comments

@Cubaka14
Copy link

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

@reslear
Copy link
Collaborator

reslear commented Apr 21, 2024

PR welcome

@JackLazenbyZigzag
Copy link

JackLazenbyZigzag commented Jun 26, 2024

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants