require "json" package = JSON.parse(File.read(File.join(__dir__, "package.json"))) Pod::Spec.new do |s| s.name = "NitroGoogleSignin" s.version = package["version"] s.summary = package["description"] s.homepage = package["homepage"] s.license = package["license"] s.authors = package["author"] s.platforms = { :ios => min_ios_version_supported, :visionos => 1.0 } s.source = { :git => "https://github.com/react-native-nitro-google-sign-in/google-signin.git", :tag => "#{s.version}" } s.source_files = [ # Implementation (Swift) "ios/**/*.{swift}", # Autolinking/Registration (Objective-C++) "ios/**/*.{m,mm}", # Implementation (C++ objects) "cpp/**/*.{hpp,cpp}", ] load 'nitrogen/generated/ios/NitroGoogleSignin+autolinking.rb' add_nitrogen_files(s) s.dependency 'React-jsi' s.dependency 'React-callinvoker' # GoogleSignIn 9.2+ / 10.0+ may resolve AppCheckCore ≥ 11.3 (RecaptchaInterop). Expo's config # plugin and bare Podfile snippets enable modular headers for AppCheckCore, # GoogleUtilities, and RecaptchaInterop so static CocoaPods / Firebase App Check work. # See issue #24. s.dependency 'GoogleSignIn', '~> 10.0' install_modules_dependencies(s) end