Skip to content

Commit 8ae1602

Browse files
committed
fix(apple): bump iOS/macOS deployment target
1 parent 99f1c98 commit 8ae1602

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

ReactTestApp-DevSupport.podspec

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,16 @@ Pod::Spec.new do |s|
1212
s.source = { :git => package['repository']['url'], :tag => version }
1313
s.summary = package['description']
1414

15-
s.ios.deployment_target = '12.0'
16-
s.osx.deployment_target = '10.14'
15+
s.ios.deployment_target = '13.0'
16+
s.osx.deployment_target = '10.15'
1717

1818
s.dependency 'React-Core'
1919
s.dependency 'React-jsi'
2020

21-
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
21+
s.pod_target_xcconfig = {
22+
'CLANG_CXX_LANGUAGE_STANDARD' => 'c++17',
23+
'DEFINES_MODULE' => 'YES',
24+
}
2225

2326
s.source_files = 'common/AppRegistry.{cpp,h}',
2427
'ios/ReactTestApp/AppRegistryModule.{h,mm}',

example/Example-Tests.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ Pod::Spec.new do |s|
1111
s.source = { :git => package['repository']['url'] }
1212
s.summary = 'Example tests'
1313

14-
s.ios.deployment_target = '12.0'
15-
s.osx.deployment_target = '10.14'
14+
s.ios.deployment_target = '13.0'
15+
s.osx.deployment_target = '10.15'
1616

1717
s.dependency 'React'
1818
s.dependency 'ReactTestApp-DevSupport'

ios/ReactTestApp/ReactTestApp.common.xcconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
ALWAYS_SEARCH_USER_PATHS = NO
22
CLANG_ANALYZER_NONNULL = YES
33
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE
4-
CLANG_CXX_LANGUAGE_STANDARD = gnu++14
4+
CLANG_CXX_LANGUAGE_STANDARD = c++17
55
CLANG_CXX_LIBRARY = libc++
66
CLANG_ENABLE_MODULES = YES
77
CLANG_ENABLE_OBJC_ARC = YES

macos/ReactTestApp/ReactTestApp.common.xcconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
ALWAYS_SEARCH_USER_PATHS = NO
22
CLANG_ANALYZER_NONNULL = YES
33
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE
4-
CLANG_CXX_LANGUAGE_STANDARD = gnu++14
4+
CLANG_CXX_LANGUAGE_STANDARD = c++17
55
CLANG_CXX_LIBRARY = libc++
66
CLANG_ENABLE_MODULES = YES
77
CLANG_ENABLE_OBJC_ARC = YES

0 commit comments

Comments
 (0)