File tree Expand file tree Collapse file tree 5 files changed +15
-7
lines changed Expand file tree Collapse file tree 5 files changed +15
-7
lines changed Original file line number Diff line number Diff line change
1
+ # Unreleased
2
+ - [ fixed] Fixed build errors in Xcode 13.3.1 (#9702 ).
3
+
1
4
# v9.0.0
2
5
- [ fixed] ** Breaking change:** Fixed an issue where returning ` nil ` from the
3
6
update closure when running a transaction caused a crash in Swift by removing
Original file line number Diff line number Diff line change 17
17
18
18
Pod ::Spec . new do |s |
19
19
s . name = 'GoogleTest'
20
- s . version = '1.10.0 '
20
+ s . version = '99.99.99 '
21
21
s . summary = 'Google Test'
22
22
23
23
s . description = <<-DESC
@@ -30,7 +30,7 @@ Google's C++ test framework.
30
30
31
31
s . source = {
32
32
:git => 'https://github.com/google/googletest.git' ,
33
- :tag => 'release-' + s . version . to_s
33
+ :commit => 'bf66935e07825318ae519675d73d0f3e313b3ec6'
34
34
}
35
35
36
36
s . ios . deployment_target = '10.0'
@@ -92,7 +92,7 @@ Google's C++ test framework.
92
92
# Remove includes of files in internal/custom
93
93
sed -i.bak -e '/include.*internal\/custom/ d' \
94
94
googlemock/include/gmock/gmock-matchers.h \
95
- googlemock/include/gmock/gmock-generated -actions.h \
95
+ googlemock/include/gmock/gmock-more -actions.h \
96
96
googlemock/include/gmock/internal/gmock-port.h \
97
97
googletest/include/gtest/gtest-printers.h \
98
98
googletest/include/gtest/internal/gtest-port.h \
Original file line number Diff line number Diff line change @@ -539,6 +539,7 @@ - (void)testReadingADocTwiceWithDifferentVersions {
539
539
++(*counter);
540
540
// Get the doc once.
541
541
FIRDocumentSnapshot *snapshot = [transaction getDocument: doc error: error];
542
+ XCTAssertNotNil (snapshot);
542
543
XCTAssertNil (*error);
543
544
// Do a write outside of the transaction. Because the transaction will retry, set the
544
545
// document to a different value each time.
@@ -557,6 +558,7 @@ - (void)testReadingADocTwiceWithDifferentVersions {
557
558
// TODO(klimt): Perhaps we shouldn't fail reads for this, but should wait and fail the
558
559
// whole transaction? It's an edge-case anyway, as developers shouldn't be reading the same
559
560
// doc multiple times. But they need to handle read errors anyway.
561
+ XCTAssertNil (snapshot);
560
562
XCTAssertNotNil (*error);
561
563
return nil ;
562
564
}
Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ class User {
70
70
}
71
71
#endif // defined(__OBJC__)
72
72
73
+ User (const User& other) = default ;
73
74
User& operator=(const User& other) = default ;
74
75
75
76
friend bool operator==(const User& lhs, const User& rhs);
Original file line number Diff line number Diff line change @@ -18,15 +18,17 @@ if(TARGET googletest OR NOT DOWNLOAD_GOOGLETEST)
18
18
return ()
19
19
endif ()
20
20
21
- set (version 1.10.0 )
21
+ # Note: googletest lives at head and encourages to just point to a head commit.
22
+ # https://github.com/google/googletest/blob/bf66935e07/README.md?plain=1#L5-L10
23
+ set (version bf66935e07825318ae519675d73d0f3e313b3ec6 )
22
24
23
25
ExternalProject_Add (
24
26
googletest
25
27
26
28
DOWNLOAD_DIR ${FIREBASE_DOWNLOAD_DIR}
27
- DOWNLOAD_NAME googletest-${version}.tar.gz
28
- URL https://github.com/google/googletest/archive/release- ${version}.tar.gz
29
- URL_HASH SHA256=9dc9157a9a1551ec7a7e43daea9a694a0bb5fb8bec81235d8a1e6ef64c716dcb
29
+ GIT_REPOSITORY https://github.com/google/ googletest.git
30
+ GIT_TAG " ${version} "
31
+ GIT_SHALLOW "ON"
30
32
31
33
PREFIX ${PROJECT_BINARY_DIR}
32
34
You can’t perform that action at this time.
0 commit comments