Skip to content

Commit 7489f3a

Browse files
committed
repair error
1 parent 3099c74 commit 7489f3a

File tree

6 files changed

+207
-3
lines changed

6 files changed

+207
-3
lines changed
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "0730"
4+
version = "1.3">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES">
8+
<BuildActionEntries>
9+
<BuildActionEntry
10+
buildForTesting = "YES"
11+
buildForRunning = "YES"
12+
buildForProfiling = "YES"
13+
buildForArchiving = "YES"
14+
buildForAnalyzing = "YES">
15+
<BuildableReference
16+
BuildableIdentifier = "primary"
17+
BlueprintIdentifier = "58B511DA1A9E6C8500147676"
18+
BuildableName = "libFirestack.a"
19+
BlueprintName = "Firestack"
20+
ReferencedContainer = "container:Firestack.xcodeproj">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
</BuildActionEntries>
24+
</BuildAction>
25+
<TestAction
26+
buildConfiguration = "Debug"
27+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
shouldUseLaunchSchemeArgsEnv = "YES">
30+
<Testables>
31+
</Testables>
32+
<AdditionalOptions>
33+
</AdditionalOptions>
34+
</TestAction>
35+
<LaunchAction
36+
buildConfiguration = "Debug"
37+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
38+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
39+
launchStyle = "0"
40+
useCustomWorkingDirectory = "NO"
41+
ignoresPersistentStateOnLaunch = "NO"
42+
debugDocumentVersioning = "YES"
43+
debugServiceExtension = "internal"
44+
allowLocationSimulation = "YES">
45+
<MacroExpansion>
46+
<BuildableReference
47+
BuildableIdentifier = "primary"
48+
BlueprintIdentifier = "58B511DA1A9E6C8500147676"
49+
BuildableName = "libFirestack.a"
50+
BlueprintName = "Firestack"
51+
ReferencedContainer = "container:Firestack.xcodeproj">
52+
</BuildableReference>
53+
</MacroExpansion>
54+
<AdditionalOptions>
55+
</AdditionalOptions>
56+
</LaunchAction>
57+
<ProfileAction
58+
buildConfiguration = "Release"
59+
shouldUseLaunchSchemeArgsEnv = "YES"
60+
savedToolIdentifier = ""
61+
useCustomWorkingDirectory = "NO"
62+
debugDocumentVersioning = "YES">
63+
<MacroExpansion>
64+
<BuildableReference
65+
BuildableIdentifier = "primary"
66+
BlueprintIdentifier = "58B511DA1A9E6C8500147676"
67+
BuildableName = "libFirestack.a"
68+
BlueprintName = "Firestack"
69+
ReferencedContainer = "container:Firestack.xcodeproj">
70+
</BuildableReference>
71+
</MacroExpansion>
72+
</ProfileAction>
73+
<AnalyzeAction
74+
buildConfiguration = "Debug">
75+
</AnalyzeAction>
76+
<ArchiveAction
77+
buildConfiguration = "Release"
78+
revealArchiveInOrganizer = "YES">
79+
</ArchiveAction>
80+
</Scheme>
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>SchemeUserState</key>
6+
<dict>
7+
<key>Firestack.xcscheme</key>
8+
<dict>
9+
<key>orderHint</key>
10+
<integer>0</integer>
11+
</dict>
12+
</dict>
13+
<key>SuppressBuildableAutocreation</key>
14+
<dict>
15+
<key>58B511DA1A9E6C8500147676</key>
16+
<dict>
17+
<key>primary</key>
18+
<true/>
19+
</dict>
20+
</dict>
21+
</dict>
22+
</plist>

ios/Firestack/Firestack.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ @implementation Firestack
347347
{
348348
FIRUser *user = [FIRAuth auth].currentUser;
349349

350-
[user getTokenWithCompletion:^(NSString token , NSError *_Nullable error) {
350+
[user getTokenWithCompletion:^(NSString *token , NSError *_Nullable error) {
351351
if (error) {
352352
NSDictionary *err =
353353
[self handleFirebaseError:@"deleteUserError"
@@ -622,8 +622,8 @@ - (FIRAuthCredential *)getCredentialForProvider:(NSString *)provider
622622
} if ([provider isEqualToString: @"facebook"]) {
623623
credential = [FIRFacebookAuthProvider credentialWithAccessToken:authToken];
624624
} if ([provider isEqualToString: @"google"]) {
625-
credential = [FIRGoogleAuthProvider credentialWithToken:authToken
626-
secret:authTokenSecret];
625+
credential = [FIRGoogleAuthProvider credentialWithIDToken:authToken
626+
accessToken:authTokenSecret];
627627
} else {
628628
NSLog(@"Provider not yet handled");
629629
}

ios/Pods/Pods.xcodeproj/xcuserdata/Cheol.xcuserdatad/xcschemes/Pods-Firestack.xcscheme

Lines changed: 80 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ios/Pods/Pods.xcodeproj/xcuserdata/Cheol.xcuserdatad/xcschemes/xcschememanagement.plist

Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)