diff --git a/Ring/Ring.xcodeproj/project.pbxproj b/Ring/Ring.xcodeproj/project.pbxproj index af67e735b6d1343906a5f9f8f3a2c75957201fcf..8248cb855e6f3fcdc4640d49abfc599b3a6429df 100644 --- a/Ring/Ring.xcodeproj/project.pbxproj +++ b/Ring/Ring.xcodeproj/project.pbxproj @@ -1255,7 +1255,8 @@ isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; + CLANG_CXX_LANGUAGE_STANDARD = "c++14"; + CLANG_CXX_LIBRARY = "compiler-default"; CLANG_ENABLE_MODULES = YES; CODE_SIGN_IDENTITY = "iPhone Developer"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; @@ -1284,7 +1285,8 @@ isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; + CLANG_CXX_LANGUAGE_STANDARD = "c++14"; + CLANG_CXX_LIBRARY = "compiler-default"; CLANG_ENABLE_MODULES = YES; CODE_SIGN_IDENTITY = "iPhone Developer"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; diff --git a/compile-ios.sh b/compile-ios.sh index 66d26974e2fe6f9fcb052d30db7962b20551c1a8..8b7cb220ef344b58d85665e21b1034ce5bfebd94 100755 --- a/compile-ios.sh +++ b/compile-ios.sh @@ -120,7 +120,7 @@ do CFLAGS+=" -O3" fi - CXXFLAGS="-stdlib=libc++ $CFLAGS" + CXXFLAGS="-stdlib=libc++ -std=c++14 $CFLAGS" LDFLAGS="$CFLAGS" ./autogen.sh || exit 1