diff --git a/examples/ios-demo/HippyDemo.xcodeproj/project.pbxproj b/examples/ios-demo/HippyDemo.xcodeproj/project.pbxproj index 3915e119c00..f052e44e49b 100644 --- a/examples/ios-demo/HippyDemo.xcodeproj/project.pbxproj +++ b/examples/ios-demo/HippyDemo.xcodeproj/project.pbxproj @@ -328,6 +328,7 @@ isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_CXX_LANGUAGE_STANDARD = "c++17"; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; DEVELOPMENT_TEAM = ""; @@ -363,6 +364,7 @@ isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_CXX_LANGUAGE_STANDARD = "c++17"; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; DEVELOPMENT_TEAM = ""; diff --git a/hippy.podspec b/hippy.podspec index dfa16bc1de8..c019e68afa0 100644 --- a/hippy.podspec +++ b/hippy.podspec @@ -40,7 +40,10 @@ Pod::Spec.new do |s| cores.exclude_files = ['core/include/core/napi/v8','core/src/napi/v8','core/js','core/third_party/base/src/platform/adr', 'core/include/core/inspector', 'core/src/inspector'] #this setting causes 'There are header files outside of the header_mappings_dir' # cores.header_mappings_dir = 'core/include/' - cores.xcconfig = {'HEADER_SEARCH_PATHS' => '${PODS_ROOT}/hippy/core/third_party/base/include/ ${PODS_ROOT}/hippy/core/include/'} + cores.xcconfig = { + 'HEADER_SEARCH_PATHS' => '${PODS_ROOT}/hippy/core/third_party/base/include/ ${PODS_ROOT}/hippy/core/include/', + 'CLANG_CXX_LANGUAGE_STANDARD' => 'c++17' + } puts 'hippy subspec \'core\' read end' end end diff --git a/ios/sdk/HippyLibrary.xcodeproj/project.pbxproj b/ios/sdk/HippyLibrary.xcodeproj/project.pbxproj index fc5ce0a5622..0f175d6deb3 100644 --- a/ios/sdk/HippyLibrary.xcodeproj/project.pbxproj +++ b/ios/sdk/HippyLibrary.xcodeproj/project.pbxproj @@ -1933,6 +1933,7 @@ F4C92876291C96010078351C /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { + CLANG_CXX_LANGUAGE_STANDARD = "c++17"; CODE_SIGN_STYLE = Automatic; HEADER_SEARCH_PATHS = ( "$(SRCROOT)/../../core/include", @@ -1948,6 +1949,7 @@ F4C92877291C96010078351C /* Release */ = { isa = XCBuildConfiguration; buildSettings = { + CLANG_CXX_LANGUAGE_STANDARD = "c++17"; CODE_SIGN_STYLE = Automatic; GCC_PREPROCESSOR_DEFINITIONS = "NDEBUG=1"; HEADER_SEARCH_PATHS = (