diff --git a/HSGoogleDrivePicker-Demo/HSGoogleDrivePicker-Demo.xcodeproj/project.pbxproj b/HSGoogleDrivePicker-Demo/HSGoogleDrivePicker-Demo.xcodeproj/project.pbxproj index d5da13a..ffbb6e6 100644 --- a/HSGoogleDrivePicker-Demo/HSGoogleDrivePicker-Demo.xcodeproj/project.pbxproj +++ b/HSGoogleDrivePicker-Demo/HSGoogleDrivePicker-Demo.xcodeproj/project.pbxproj @@ -110,8 +110,8 @@ D44EDE5C1F41CF35006E9179 /* Sources */, D44EDE5D1F41CF35006E9179 /* Frameworks */, D44EDE5E1F41CF35006E9179 /* Resources */, - D94F04BCE0589DEF14F1D604 /* [CP] Copy Pods Resources */, - D3CC5AE049AB1596A8C48CE0 /* [CP] Embed Pods Frameworks */, + DE4352BAF9922594CCE1B237 /* [CP] Embed Pods Frameworks */, + 699031A1C377206A2D144E3E /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -190,7 +190,25 @@ shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; showEnvVarsInLog = 0; }; - D3CC5AE049AB1596A8C48CE0 /* [CP] Embed Pods Frameworks */ = { + 699031A1C377206A2D144E3E /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-HSGoogleDrivePicker-Demo/Pods-HSGoogleDrivePicker-Demo-resources.sh", + "${PODS_ROOT}/GoogleSignIn/Resources/GoogleSignIn.bundle", + ); + name = "[CP] Copy Pods Resources"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/GoogleSignIn.bundle", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-HSGoogleDrivePicker-Demo/Pods-HSGoogleDrivePicker-Demo-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; + DE4352BAF9922594CCE1B237 /* [CP] Embed Pods Frameworks */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( @@ -216,24 +234,6 @@ shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-HSGoogleDrivePicker-Demo/Pods-HSGoogleDrivePicker-Demo-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; - D94F04BCE0589DEF14F1D604 /* [CP] Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-HSGoogleDrivePicker-Demo/Pods-HSGoogleDrivePicker-Demo-resources.sh", - "${PODS_ROOT}/GoogleSignIn/Resources/GoogleSignIn.bundle", - ); - name = "[CP] Copy Pods Resources"; - outputPaths = ( - "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/GoogleSignIn.bundle", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-HSGoogleDrivePicker-Demo/Pods-HSGoogleDrivePicker-Demo-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; /* End PBXShellScriptBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ diff --git a/HSGoogleDrivePicker-Demo/Podfile b/HSGoogleDrivePicker-Demo/Podfile index ab4f0c4..d08370f 100644 --- a/HSGoogleDrivePicker-Demo/Podfile +++ b/HSGoogleDrivePicker-Demo/Podfile @@ -1,11 +1,12 @@ # Uncomment the next line to define a global platform for your project -platform :ios, '9.0' +platform :ios, '11.0' target 'HSGoogleDrivePicker-Demo' do # Uncomment the next line if you're using Swift or would like to use dynamic frameworks use_frameworks! - + # Pods for HSGoogleDrivePicker-Demo - pod 'HSGoogleDrivePicker', '~> 2.0’ - + pod 'HSGoogleDrivePicker', '~> 3.0' + + end diff --git a/HSGoogleDrivePicker.podspec b/HSGoogleDrivePicker.podspec index b6feb8d..2b4bfa9 100644 --- a/HSGoogleDrivePicker.podspec +++ b/HSGoogleDrivePicker.podspec @@ -2,7 +2,7 @@ Pod::Spec.new do |s| s.name = "HSGoogleDrivePicker" - s.version = "2.1.0" + s.version = "3.0.0" s.summary = "A sane and simple file picker for Google Drive." s.homepage = "https://github.com/ConfusedVorlon/HSGoogleDrivePicker" @@ -15,15 +15,16 @@ Pod::Spec.new do |s| s.platform = :ios, "11.0" s.swift_version = '5.0' - s.source = { :git => "https://github.com/ConfusedVorlon/HSGoogleDrivePicker.git", :tag => "2.1.0" } + s.source = { :git => "https://github.com/ConfusedVorlon/HSGoogleDrivePicker.git", :tag => s.version.to_s } s.source_files = "HSGoogleDrivePicker/HSGoogleDrivePicker" s.requires_arc = true s.dependency 'AsyncImageView' s.static_framework = true - - s.dependency 'GoogleAPIClient/Drive' - s.dependency 'GoogleSignIn' + + #1.3.x causes error where methods on GTLRDriveService are unavailable + s.dependency 'GoogleAPIClientForREST/Drive', '~> 1.2.1' + s.dependency 'GoogleSignIn', '~> 5.0.0' end