Skip to content

Commit 1402fc3

Browse files
authored
Fixed analyze issues introduced in Xcode 12.5 (#8210)
1 parent c36e1ff commit 1402fc3

File tree

5 files changed

+22
-3
lines changed

5 files changed

+22
-3
lines changed

.swiftpm/xcode/xcshareddata/xcschemes/AuthUnit.xcscheme

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,22 @@
55
<BuildAction
66
parallelizeBuildables = "YES"
77
buildImplicitDependencies = "YES">
8+
<BuildActionEntries>
9+
<BuildActionEntry
10+
buildForTesting = "YES"
11+
buildForRunning = "NO"
12+
buildForProfiling = "NO"
13+
buildForArchiving = "NO"
14+
buildForAnalyzing = "YES">
15+
<BuildableReference
16+
BuildableIdentifier = "primary"
17+
BlueprintIdentifier = "AuthUnit"
18+
BuildableName = "AuthUnit"
19+
BlueprintName = "AuthUnit"
20+
ReferencedContainer = "container:">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
</BuildActionEntries>
824
</BuildAction>
925
<TestAction
1026
buildConfiguration = "Debug"

FirebaseAuth/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# 8.2.0
2+
- [fixed] Fixed analyze issues introduced in Xcode 12.5. (#8210)
3+
14
# 8.0.0
25
- [fixed] Fixed a crash that occurred when assigning auth settings (#7670).
36

FirebaseAuth/Sources/AuthProvider/Phone/FIRPhoneAuthProvider.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ + (instancetype)providerWithAuth:(FIRAuth *)auth {
245245
@param error The error that occurred if any.
246246
@return The reCAPTCHA token if successful.
247247
*/
248-
- (NSString *)reCAPTCHATokenForURL:(NSURL *)URL error:(NSError **)error {
248+
- (nullable NSString *)reCAPTCHATokenForURL:(NSURL *)URL error:(NSError **_Nonnull)error {
249249
NSURLComponents *actualURLComponents = [NSURLComponents componentsWithURL:URL
250250
resolvingAgainstBaseURL:NO];
251251
NSArray<NSURLQueryItem *> *queryItems = [actualURLComponents queryItems];

FirebaseAuth/Tests/Unit/FIRFakeBackendRPCIssuer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN
6161
@param JSON The JSON to return.
6262
@param error The simulated error to return from GTM.
6363
*/
64-
- (NSData *)respondWithJSON:(nullable NSDictionary *)JSON error:(nullable NSError *)error;
64+
- (nullable NSData *)respondWithJSON:(nullable NSDictionary *)JSON error:(nullable NSError *)error;
6565

6666
/** @fn respondWithJSONError:
6767
@brief Responds to a pending RPC request with a JSON server error.

FirebaseAuth/Tests/Unit/FIRFakeBackendRPCIssuer.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ - (NSData *)respondWithServerErrorMessage:(NSString *)errorMessage {
6060
return [self respondWithServerErrorMessage:errorMessage error:error];
6161
}
6262

63-
- (NSData *)respondWithJSON:(NSDictionary *)JSON error:(NSError *)error {
63+
- (nullable NSData *)respondWithJSON:(NSDictionary *)JSON error:(NSError *)error {
6464
NSError *JSONEncodingError;
6565
NSData *data;
6666
if (JSON) {

0 commit comments

Comments
 (0)