Skip to content

Commit 471cbc7

Browse files
committed
Update to C++17
1 parent 54920bc commit 471cbc7

File tree

3 files changed

+32
-2
lines changed

3 files changed

+32
-2
lines changed

FirebaseFirestoreInternal.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ Google Cloud Firestore is a NoSQL document database built for automatic scaling,
115115

116116
s.library = 'c++'
117117
s.pod_target_xcconfig = {
118-
'CLANG_CXX_LANGUAGE_STANDARD' => 'c++14',
118+
'CLANG_CXX_LANGUAGE_STANDARD' => 'c++17',
119119
'CLANG_CXX_LIBRARY' => 'libc++',
120120
'GCC_PREPROCESSOR_DEFINITIONS' =>
121121
"FIRFirestore_VERSION=#{s.version} " +
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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>API_KEY</key>
6+
<string>AIzaSyAhb_3k3MyKrCTlfkMomysi-8UaICBSnrw</string>
7+
<key>GCM_SENDER_ID</key>
8+
<string>323991545240</string>
9+
<key>PLIST_VERSION</key>
10+
<string>1</string>
11+
<key>BUNDLE_ID</key>
12+
<string>iOSTestApp</string>
13+
<key>PROJECT_ID</key>
14+
<string>firestore-sdk-nightly</string>
15+
<key>STORAGE_BUCKET</key>
16+
<string>firestore-sdk-nightly.appspot.com</string>
17+
<key>IS_ADS_ENABLED</key>
18+
<false></false>
19+
<key>IS_ANALYTICS_ENABLED</key>
20+
<false></false>
21+
<key>IS_APPINVITE_ENABLED</key>
22+
<true></true>
23+
<key>IS_GCM_ENABLED</key>
24+
<true></true>
25+
<key>IS_SIGNIN_ENABLED</key>
26+
<true></true>
27+
<key>GOOGLE_APP_ID</key>
28+
<string>1:323991545240:ios:5f550d7ae3ebb43a1cf7ed</string>
29+
</dict>
30+
</plist>

Firestore/Example/ProtobufCpp.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Pod::Spec.new do |s|
6262

6363
# Set a CPP symbol so the code knows to use framework imports.
6464
s.pod_target_xcconfig = {
65-
'CLANG_CXX_LANGUAGE_STANDARD' => 'c++14',
65+
'CLANG_CXX_LANGUAGE_STANDARD' => 'c++17',
6666
'GCC_PREPROCESSOR_DEFINITIONS' =>
6767
'$(inherited) ' +
6868
'GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1 ' +

0 commit comments

Comments
 (0)