Browse Source

Rename Swift support pod (#137)

* Rename Swift pod.

* Use module_name to override the default.
Peter Andrews 3 years ago
parent
commit
3893de800c

+ 2 - 2
.github/workflows/tests.yml

@@ -15,14 +15,14 @@ jobs:
     runs-on: macOS-latest
     strategy:
       matrix:
-        podspec: [GoogleSignIn.podspec, GoogleSignInSwift.podspec]
+        podspec: [GoogleSignIn.podspec, GoogleSignInSwiftSupport.podspec]
         flag: [
           "", 
           "--use-libraries", 
           "--use-static-frameworks"
         ]
         include:
-          - podspec: GoogleSignInSwift.podspec
+          - podspec: GoogleSignInSwiftSupport.podspec
             includePodspecFlag: "--include-podspecs='GoogleSignIn.podspec'"
     steps:
     - uses: actions/checkout@v2

+ 2 - 1
GoogleSignInSwift.podspec → GoogleSignInSwiftSupport.podspec

@@ -1,5 +1,5 @@
 Pod::Spec.new do |s|
-  s.name = 'GoogleSignInSwift'
+  s.name = 'GoogleSignInSwiftSupport'
   s.version = '6.2.0'
   s.swift_version = '4.0'
   s.summary = 'Adds Swift-focused support for Google Sign-In.'
@@ -15,6 +15,7 @@ Pod::Spec.new do |s|
   macos_deployment_target = '10.15' 
   s.ios.deployment_target = ios_deployment_target
   s.osx.deployment_target = macos_deployment_target
+  s.module_name = 'GoogleSignInSwift'
   s.prefix_header_file = false
   s.source_files = [
     'GoogleSignInSwift/Sources/*.swift',

+ 1 - 1
Samples/Swift/DaysUntilBirthday/Podfile

@@ -1,5 +1,5 @@
 pod 'GoogleSignIn', :path => '../../../', :testspecs => ['unit']
-pod 'GoogleSignInSwift', :path => '../../../', :testspecs => ['unit']
+pod 'GoogleSignInSwiftSupport', :path => '../../../', :testspecs => ['unit']
 project 'DaysUntilBirthdayForPod.xcodeproj'
 
 target 'DaysUntilBirthdayForPod (iOS)' do