Skip to content

Commit 013565e

Browse files
authored
Fix pod lib lint GoogleUtilities.podspec --use-libraries regression (#2130)
1 parent dadcce8 commit 013565e

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

GoogleUtilities/CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Unreleased
2+
- Fix `pod lib lint GoogleUtilities.podspec --use-libraries` regression. (#2130)
23

34
# 5.3.6
45
- Fix nullability issues. (#2079)
@@ -11,7 +12,7 @@
1112

1213
# 5.3.4
1314
- Fixed a crash caused by unprotected access to sessions in
14-
`GULNetworkURLSession` (#1964).
15+
`GULNetworkURLSession`. (#1964)
1516

1617
# 5.3.3
1718
- Fixed an issue where GoogleUtilities would leak instances of `NSURLSession`.

GoogleUtilities/Network/GULNetworkURLSession.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ @implementation GULNetworkURLSession {
3737
#pragma clang diagnostic ignored "-Wunguarded-availability"
3838
/// The session configuration. NSURLSessionConfiguration' is only available on iOS 7.0 or newer.
3939
NSURLSessionConfiguration *_sessionConfig;
40+
41+
/// The current NSURLSession.
42+
NSURLSession *__weak _Nullable _URLSession;
4043
#pragma clang diagnostic pop
4144

4245
/// The path to the directory where all temporary files are stored before uploading.
@@ -50,9 +53,6 @@ @implementation GULNetworkURLSession {
5053

5154
/// The current request.
5255
NSURLRequest *_request;
53-
54-
/// The current NSURLSession.
55-
NSURLSession *__weak _Nullable _URLSession;
5656
}
5757

5858
#pragma mark - Init

0 commit comments

Comments
 (0)