Skip to content

Commit

Permalink
Update example apps for GTMSessionFetcher 3.x (google#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
petea authored Nov 17, 2022
1 parent cdc9224 commit 4a6cd1e
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 30 deletions.
19 changes: 5 additions & 14 deletions Examples/Example-iOS/Example-iOS.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@
);
mainGroup = 346E91601C29D42800D3620B;
packageReferences = (
C1B5D3552825968E0068D12B /* XCRemoteSwiftPackageReference "GTMAppAuth" */,
C1B5D358282596F00068D12B /* XCRemoteSwiftPackageReference "AppAuth-iOS" */,
C1B5D3602825A4900068D12B /* XCRemoteSwiftPackageReference "gtm-session-fetcher" */,
);
Expand Down Expand Up @@ -245,7 +244,7 @@
"../Source/**",
../../../../../,
);
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -288,7 +287,7 @@
"../Source/**",
../../../../../,
);
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
Expand All @@ -301,7 +300,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
INFOPLIST_FILE = Source/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand All @@ -320,7 +319,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
INFOPLIST_FILE = Source/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down Expand Up @@ -358,14 +357,6 @@
/* End XCConfigurationList section */

/* Begin XCRemoteSwiftPackageReference section */
C1B5D3552825968E0068D12B /* XCRemoteSwiftPackageReference "GTMAppAuth" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/google/GTMAppAuth.git";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 1.0.0;
};
};
C1B5D358282596F00068D12B /* XCRemoteSwiftPackageReference "AppAuth-iOS" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/openid/AppAuth-iOS.git";
Expand All @@ -379,7 +370,7 @@
repositoryURL = "https://github.com/google/gtm-session-fetcher.git";
requirement = {
kind = versionRange;
maximumVersion = 3.0.0;
maximumVersion = 4.0.0;
minimumVersion = 1.0.0;
};
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@
"../Source/**",
../../../../../,
);
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -357,7 +357,7 @@
"../Source/**",
../../../../../,
);
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
Expand All @@ -372,7 +372,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
INFOPLIST_FILE = Source/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
OTHER_LDFLAGS = (
"-ObjC",
Expand All @@ -390,7 +390,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
INFOPLIST_FILE = Source/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
OTHER_LDFLAGS = (
"-ObjC",
Expand Down
4 changes: 2 additions & 2 deletions Examples/Example-iOS/Podfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
platform :ios, '9.0'
platform :ios, '10.0'

target 'Example-iOSForPod' do
use_frameworks!
Expand All @@ -11,5 +11,5 @@ target 'Example-iOSForPod' do
# pod 'GTMAppAuth'

pod 'AppAuth', '~> 1.0'
pod 'GTMSessionFetcher/Core', '>= 1.0', '< 3.0'
pod 'GTMSessionFetcher/Core', '>= 1.0', '< 4.0'
end
10 changes: 3 additions & 7 deletions Examples/Example-macOS/Example-macOS.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

/* Begin PBXBuildFile section */
73ED8D0328AFFD720032BC62 /* GTMAppAuthSwift in Frameworks */ = {isa = PBXBuildFile; productRef = 73ED8D0228AFFD720032BC62 /* GTMAppAuthSwift */; };
C1AF3AE72818785B003BAEFF /* Podfile in Resources */ = {isa = PBXBuildFile; fileRef = C1AF3AE52818785B003BAEFF /* Podfile */; };
C1AF3AE82818785B003BAEFF /* README.md in Resources */ = {isa = PBXBuildFile; fileRef = C1AF3AE62818785B003BAEFF /* README.md */; };
C1B5D3682825B0A00068D12B /* AppAuth in Frameworks */ = {isa = PBXBuildFile; productRef = C1B5D3672825B0A00068D12B /* AppAuth */; };
C1B5D36B2825B0C30068D12B /* GTMSessionFetcherCore in Frameworks */ = {isa = PBXBuildFile; productRef = C1B5D36A2825B0C30068D12B /* GTMSessionFetcherCore */; };
Expand All @@ -22,7 +21,6 @@

/* Begin PBXFileReference section */
7355833228AFFC0B00AC24DC /* GTMAppAuth */ = {isa = PBXFileReference; lastKnownFileType = wrapper; name = GTMAppAuth; path = ../..; sourceTree = "<group>"; };
C1AF3AE52818785B003BAEFF /* Podfile */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Podfile; sourceTree = "<group>"; };
C1AF3AE62818785B003BAEFF /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; };
F6016E701D2AC11F003497D7 /* Example-macOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Example-macOS.app"; sourceTree = BUILT_PRODUCTS_DIR; };
F6016E8B1D2BD988003497D7 /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = Source/AppDelegate.m; sourceTree = "<group>"; };
Expand Down Expand Up @@ -69,7 +67,6 @@
isa = PBXGroup;
children = (
7355833128AFFC0B00AC24DC /* Packages */,
C1AF3AE52818785B003BAEFF /* Podfile */,
C1AF3AE62818785B003BAEFF /* README.md */,
F6016E8A1D2BD973003497D7 /* Source */,
F6016E711D2AC11F003497D7 /* Products */,
Expand Down Expand Up @@ -171,7 +168,6 @@
F6016E981D2BD988003497D7 /* GTMAppAuthExampleViewController.xib in Resources */,
F6016E9C1D2BD9C0003497D7 /* Assets.xcassets in Resources */,
C1AF3AE82818785B003BAEFF /* README.md in Resources */,
C1AF3AE72818785B003BAEFF /* Podfile in Resources */,
F6016E991D2BD988003497D7 /* MainMenu.xib in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down Expand Up @@ -248,7 +244,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.11;
MACOSX_DEPLOYMENT_TARGET = 10.12;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
Expand Down Expand Up @@ -286,7 +282,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.11;
MACOSX_DEPLOYMENT_TARGET = 10.12;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = macosx;
};
Expand Down Expand Up @@ -359,7 +355,7 @@
repositoryURL = "https://github.com/google/gtm-session-fetcher.git";
requirement = {
kind = versionRange;
maximumVersion = 3.0.0;
maximumVersion = 4.0.0;
minimumVersion = 1.0.0;
};
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.11;
MACOSX_DEPLOYMENT_TARGET = 10.12;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
Expand Down Expand Up @@ -332,7 +332,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.11;
MACOSX_DEPLOYMENT_TARGET = 10.12;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = macosx;
};
Expand Down
2 changes: 1 addition & 1 deletion Examples/Example-macOS/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ target 'Example-macOSForPod' do
# pod 'GTMAppAuth'

pod 'AppAuth', '~> 1.5'
pod 'GTMSessionFetcher/Core', '>= 1.0', '< 3.0'
pod 'GTMSessionFetcher/Core', '>= 1.0', '< 4.0'
end

0 comments on commit 4a6cd1e

Please sign in to comment.