From 858d67125def70fb11e1f116dbaf11c6d230a0cb Mon Sep 17 00:00:00 2001 From: Scott Kyle Date: Mon, 16 May 2016 16:26:37 -0700 Subject: [PATCH] Consolidate RealmNode.xcodeproj into RealmJS.xcodeproj Moved it up one level since it references the whole source tree inside the src/ directory. Added the functionality to run Node tests from Xcode on the existing RealmNode target. --- Realm.xcworkspace/contents.xcworkspacedata | 5 +- .../ios/RealmReact.xcodeproj/project.pbxproj | 2 +- scripts/set-version.sh | 2 +- scripts/test.sh | 2 +- .../RealmJS.xcodeproj/project.pbxproj | 87 +++++---- .../xcschemes/GCDWebServers.xcscheme | 0 .../xcshareddata/xcschemes/RealmJS.xcscheme | 0 .../xcshareddata/xcschemes/RealmNode.xcscheme | 26 +-- src/node/RealmNode.xcodeproj/project.pbxproj | 184 ------------------ 9 files changed, 61 insertions(+), 247 deletions(-) rename src/{ios => }/RealmJS.xcodeproj/project.pbxproj (97%) rename src/{ios => }/RealmJS.xcodeproj/xcshareddata/xcschemes/GCDWebServers.xcscheme (100%) rename src/{ios => }/RealmJS.xcodeproj/xcshareddata/xcschemes/RealmJS.xcscheme (100%) rename src/{node/RealmNode.xcodeproj => RealmJS.xcodeproj}/xcshareddata/xcschemes/RealmNode.xcscheme (78%) delete mode 100644 src/node/RealmNode.xcodeproj/project.pbxproj diff --git a/Realm.xcworkspace/contents.xcworkspacedata b/Realm.xcworkspace/contents.xcworkspacedata index 9eb61350..65758602 100644 --- a/Realm.xcworkspace/contents.xcworkspacedata +++ b/Realm.xcworkspace/contents.xcworkspacedata @@ -2,7 +2,7 @@ + location = "group:src/RealmJS.xcodeproj"> @@ -13,7 +13,4 @@ - - diff --git a/react-native/ios/RealmReact.xcodeproj/project.pbxproj b/react-native/ios/RealmReact.xcodeproj/project.pbxproj index 96eb1e91..1df0816d 100644 --- a/react-native/ios/RealmReact.xcodeproj/project.pbxproj +++ b/react-native/ios/RealmReact.xcodeproj/project.pbxproj @@ -70,7 +70,7 @@ F60690181CA2766F0003FB26 /* RealmReact.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = RealmReact.mm; sourceTree = ""; }; F606901F1CA277410003FB26 /* RealmAnalytics.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RealmAnalytics.h; sourceTree = ""; }; F60690201CA277410003FB26 /* RealmAnalytics.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = RealmAnalytics.mm; sourceTree = ""; }; - F60690231CA277CC0003FB26 /* RealmJS.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RealmJS.xcodeproj; path = ../../src/ios/RealmJS.xcodeproj; sourceTree = ""; }; + F60690231CA277CC0003FB26 /* RealmJS.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RealmJS.xcodeproj; path = ../../src/RealmJS.xcodeproj; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXGroup section */ diff --git a/scripts/set-version.sh b/scripts/set-version.sh index 956b14f5..45ff6270 100755 --- a/scripts/set-version.sh +++ b/scripts/set-version.sh @@ -27,7 +27,7 @@ if ! $FORCE || [ "$VERSION" != "$(npm --silent run get-version)" ]; then fi # Update CURRENT_PROJECT_VERSION and DYLIB_CURRENT_VERSION in the Xcode project. -(cd src/ios && xcrun agvtool new-version "$RELEASE_VERSION") +(cd src && xcrun agvtool new-version "$RELEASE_VERSION") # Update CHANGELOG sed -i '' "1s/.*/$RELEASE_VERSION Release notes ($(date '+%Y-%-m-%-d'))/" CHANGELOG.md diff --git a/scripts/test.sh b/scripts/test.sh index daf019d5..a0bc2ecd 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -93,7 +93,7 @@ case "$TARGET" in npm run jsdoc ;; "realmjs") - pushd src/ios + pushd src xctest RealmJS ;; "react-tests") diff --git a/src/ios/RealmJS.xcodeproj/project.pbxproj b/src/RealmJS.xcodeproj/project.pbxproj similarity index 97% rename from src/ios/RealmJS.xcodeproj/project.pbxproj rename to src/RealmJS.xcodeproj/project.pbxproj index d5f18c98..dce5ee53 100644 --- a/src/ios/RealmJS.xcodeproj/project.pbxproj +++ b/src/RealmJS.xcodeproj/project.pbxproj @@ -45,7 +45,6 @@ F60102DE1CBB96CF00EC01BA /* weak_realm_notifier.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 02F59ED11C88F1B6007F774C /* weak_realm_notifier.cpp */; }; F60102E01CBB96D900EC01BA /* realm_coordinator.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 02F59EDB1C88F2BA007F774C /* realm_coordinator.cpp */; }; F60102E11CBB96DD00EC01BA /* transact_log_handler.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 02F59EDD1C88F2BB007F774C /* transact_log_handler.cpp */; }; - F60102E51CBBB19700EC01BA /* node_object_accessor.hpp in Headers */ = {isa = PBXBuildFile; fileRef = F60102E31CBBB19700EC01BA /* node_object_accessor.hpp */; }; F60102EA1CBCAFC300EC01BA /* node_dummy.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F6267BCA1CADC49200AC36B1 /* node_dummy.cpp */; }; F61378791C18EAC5008BFC51 /* js in Resources */ = {isa = PBXBuildFile; fileRef = F61378781C18EAAC008BFC51 /* js */; }; F620F0581CB766DA0082977B /* node_init.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F620F0571CB766DA0082977B /* node_init.cpp */; }; @@ -225,7 +224,7 @@ F68A278B1BC2722A0063D40A /* RJSModuleLoader.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = RJSModuleLoader.m; path = ios/RJSModuleLoader.m; sourceTree = ""; }; F6BB7DEF1BF681BC00D0A69E /* base64.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = base64.cpp; sourceTree = ""; }; F6BB7DF01BF681BC00D0A69E /* base64.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = base64.hpp; sourceTree = ""; }; - F6BCCFDF1C83809A00FE31AE /* lib */ = {isa = PBXFileReference; lastKnownFileType = folder; name = lib; path = ../../lib; sourceTree = SOURCE_ROOT; }; + F6BCCFDF1C83809A00FE31AE /* lib */ = {isa = PBXFileReference; lastKnownFileType = folder; name = lib; path = ../lib; sourceTree = SOURCE_ROOT; }; F6C3FBBC1BF680EC00E6FFD4 /* json.hpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.h; path = json.hpp; sourceTree = ""; }; /* End PBXFileReference section */ @@ -282,7 +281,6 @@ F6079B181CD3EB9000BD2401 /* concurrent_deque.hpp */, ); name = RealmJS; - path = ..; sourceTree = ""; }; 02B58CA71AE99CEB009B348C = { @@ -320,7 +318,7 @@ F68A278B1BC2722A0063D40A /* RJSModuleLoader.m */, ); name = RealmJSTests; - path = ../../tests; + path = ../tests; sourceTree = ""; }; 02B58CCF1AE99D8C009B348C /* Frameworks */ = { @@ -521,22 +519,11 @@ F6C3FBBC1BF680EC00E6FFD4 /* json.hpp */, ); name = Vendor; - path = ../../vendor; + path = ../vendor; sourceTree = ""; }; /* End PBXGroup section */ -/* Begin PBXHeadersBuildPhase section */ - F62BF8F91CAC71780022BCDC /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - F60102E51CBBB19700EC01BA /* node_object_accessor.hpp in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXHeadersBuildPhase section */ - /* Begin PBXNativeTarget section */ 02B58CBB1AE99CEC009B348C /* RealmJSTests */ = { isa = PBXNativeTarget; @@ -562,7 +549,7 @@ buildPhases = ( F62BF8F71CAC71780022BCDC /* Sources */, F62BF8F81CAC71780022BCDC /* Frameworks */, - F62BF8F91CAC71780022BCDC /* Headers */, + F63117A41CEA911000ECB2DE /* Build with node-gyp */, ); buildRules = ( ); @@ -676,7 +663,21 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "DEST=\"$TARGET_BUILD_DIR/$CONTENTS_FOLDER_PATH/js/query-tests.json\"\nrm -f \"$DEST\"\ncp ../object-store/tests/query.json \"$DEST\""; + shellScript = "DEST=\"$TARGET_BUILD_DIR/$CONTENTS_FOLDER_PATH/js/query-tests.json\"\nrm -f \"$DEST\"\ncp object-store/tests/query.json \"$DEST\""; + }; + F63117A41CEA911000ECB2DE /* Build with node-gyp */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "Build with node-gyp"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "node/build-node.sh \"$CONFIGURATION\""; }; F63FF2C51C12462600B3B8E0 /* Download Core */ = { isa = PBXShellScriptBuildPhase; @@ -690,7 +691,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "../../scripts/download-core.sh"; + shellScript = "../scripts/download-core.sh"; }; /* End PBXShellScriptBuildPhase section */ @@ -822,18 +823,18 @@ GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; HEADER_SEARCH_PATHS = ( - "$(SRCROOT)/../object-store/external/pegtl", - "$(SRCROOT)/../object-store/src", - "$(SRCROOT)/../../vendor", + "$(SRCROOT)/object-store/external/pegtl", + "$(SRCROOT)/object-store/src", + "$(SRCROOT)/../vendor", ); IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LIBRARY_SEARCH_PATHS = ../../core; + LIBRARY_SEARCH_PATHS = ../core; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; OTHER_CPLUSPLUSFLAGS = ( "$(OTHER_CFLAGS)", "-isystem", - ../../core/include, + ../core/include, "-ftemplate-backtrace-limit=0", ); SDKROOT = iphoneos; @@ -880,17 +881,17 @@ GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; HEADER_SEARCH_PATHS = ( - "$(SRCROOT)/../object-store/external/pegtl", - "$(SRCROOT)/../object-store/src", - "$(SRCROOT)/../../vendor", + "$(SRCROOT)/object-store/external/pegtl", + "$(SRCROOT)/object-store/src", + "$(SRCROOT)/../vendor", ); IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LIBRARY_SEARCH_PATHS = ../../core; + LIBRARY_SEARCH_PATHS = ../core; MTL_ENABLE_DEBUG_INFO = NO; OTHER_CPLUSPLUSFLAGS = ( "$(OTHER_CFLAGS)", "-isystem", - ../../core/include, + ../core/include, "-ftemplate-backtrace-limit=0", ); SDKROOT = iphoneos; @@ -908,7 +909,7 @@ "DEBUG=1", "$(inherited)", ); - INFOPLIST_FILE = ../../tests/ios/Info.plist; + INFOPLIST_FILE = ../tests/ios/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 8.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; OTHER_CPLUSPLUSFLAGS = ( @@ -924,7 +925,7 @@ 02B58CCC1AE99CEC009B348C /* Release */ = { isa = XCBuildConfiguration; buildSettings = { - INFOPLIST_FILE = ../../tests/ios/Info.plist; + INFOPLIST_FILE = ../tests/ios/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 8.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; OTHER_CPLUSPLUSFLAGS = ( @@ -977,18 +978,18 @@ GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; HEADER_SEARCH_PATHS = ( - "$(SRCROOT)/../object-store/external/pegtl", - "$(SRCROOT)/../object-store/src", - "$(SRCROOT)/../../vendor", + "$(SRCROOT)/object-store/external/pegtl", + "$(SRCROOT)/object-store/src", + "$(SRCROOT)/../vendor", ); IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LIBRARY_SEARCH_PATHS = ../../core; + LIBRARY_SEARCH_PATHS = ../core; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; OTHER_CPLUSPLUSFLAGS = ( "$(OTHER_CFLAGS)", "-isystem", - ../../core/include, + ../core/include, "-ftemplate-backtrace-limit=0", ); SDKROOT = iphoneos; @@ -1005,7 +1006,7 @@ "DEBUG=1", "$(inherited)", ); - INFOPLIST_FILE = ../../tests/ios/Info.plist; + INFOPLIST_FILE = ../tests/ios/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 8.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; OTHER_CPLUSPLUSFLAGS = ( @@ -1032,7 +1033,7 @@ ); HEADER_SEARCH_PATHS = ( "$(inherited)", - "$(SRCROOT)/../../node_modules/nan", + "$(SRCROOT)/../node_modules/nan", /usr/local/include/node, ); LIBRARY_SEARCH_PATHS = ( @@ -1061,7 +1062,7 @@ ); HEADER_SEARCH_PATHS = ( "$(inherited)", - "$(SRCROOT)/../../node_modules/nan", + "$(SRCROOT)/../node_modules/nan", /usr/local/include/node, ); LIBRARY_SEARCH_PATHS = ( @@ -1090,7 +1091,7 @@ ); HEADER_SEARCH_PATHS = ( "$(inherited)", - "$(SRCROOT)/../../node_modules/nan", + "$(SRCROOT)/../node_modules/nan", /usr/local/include/node, ); LIBRARY_SEARCH_PATHS = ( @@ -1115,7 +1116,7 @@ "DEBUG=1", "$(inherited)", ); - OTHER_LIBTOOLFLAGS = "$(SRCROOT)/../../core/librealm-ios-bitcode.a"; + OTHER_LIBTOOLFLAGS = "$(SRCROOT)/../core/librealm-ios-bitcode.a"; PRODUCT_NAME = RealmJS; SKIP_INSTALL = YES; }; @@ -1124,7 +1125,7 @@ F63FF2B81C1241E500B3B8E0 /* GCov_Build */ = { isa = XCBuildConfiguration; buildSettings = { - OTHER_LIBTOOLFLAGS = "$(SRCROOT)/../../core/librealm-ios-bitcode.a"; + OTHER_LIBTOOLFLAGS = "$(SRCROOT)/../core/librealm-ios-bitcode.a"; PRODUCT_NAME = RealmJS; SKIP_INSTALL = YES; }; @@ -1133,7 +1134,7 @@ F63FF2B91C1241E500B3B8E0 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { - OTHER_LIBTOOLFLAGS = "$(SRCROOT)/../../core/librealm-ios-bitcode.a"; + OTHER_LIBTOOLFLAGS = "$(SRCROOT)/../core/librealm-ios-bitcode.a"; PRODUCT_NAME = RealmJS; SKIP_INSTALL = YES; }; diff --git a/src/ios/RealmJS.xcodeproj/xcshareddata/xcschemes/GCDWebServers.xcscheme b/src/RealmJS.xcodeproj/xcshareddata/xcschemes/GCDWebServers.xcscheme similarity index 100% rename from src/ios/RealmJS.xcodeproj/xcshareddata/xcschemes/GCDWebServers.xcscheme rename to src/RealmJS.xcodeproj/xcshareddata/xcschemes/GCDWebServers.xcscheme diff --git a/src/ios/RealmJS.xcodeproj/xcshareddata/xcschemes/RealmJS.xcscheme b/src/RealmJS.xcodeproj/xcshareddata/xcschemes/RealmJS.xcscheme similarity index 100% rename from src/ios/RealmJS.xcodeproj/xcshareddata/xcschemes/RealmJS.xcscheme rename to src/RealmJS.xcodeproj/xcshareddata/xcschemes/RealmJS.xcscheme diff --git a/src/node/RealmNode.xcodeproj/xcshareddata/xcschemes/RealmNode.xcscheme b/src/RealmJS.xcodeproj/xcshareddata/xcschemes/RealmNode.xcscheme similarity index 78% rename from src/node/RealmNode.xcodeproj/xcshareddata/xcschemes/RealmNode.xcscheme rename to src/RealmJS.xcodeproj/xcshareddata/xcschemes/RealmNode.xcscheme index 28e7aa75..590746e9 100644 --- a/src/node/RealmNode.xcodeproj/xcshareddata/xcschemes/RealmNode.xcscheme +++ b/src/RealmJS.xcodeproj/xcshareddata/xcschemes/RealmNode.xcscheme @@ -1,6 +1,6 @@ + ReferencedContainer = "container:RealmJS.xcodeproj"> @@ -38,27 +38,27 @@ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" launchStyle = "0" useCustomWorkingDirectory = "YES" - customWorkingDirectory = "$(SRCROOT)" + customWorkingDirectory = "$(TEMP_DIR)" ignoresPersistentStateOnLaunch = "NO" debugDocumentVersioning = "YES" debugServiceExtension = "internal" allowLocationSimulation = "YES"> + FilePath = "/usr/local/bin/node"> + ReferencedContainer = "container:RealmJS.xcodeproj"> @@ -74,10 +74,10 @@ + ReferencedContainer = "container:RealmJS.xcodeproj"> diff --git a/src/node/RealmNode.xcodeproj/project.pbxproj b/src/node/RealmNode.xcodeproj/project.pbxproj deleted file mode 100644 index acb9ce3e..00000000 --- a/src/node/RealmNode.xcodeproj/project.pbxproj +++ /dev/null @@ -1,184 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXGroup section */ - 02D041F81CE13739000E4250 = { - isa = PBXGroup; - children = ( - ); - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXLegacyTarget section */ - 02D041FD1CE13739000E4250 /* RealmNode */ = { - isa = PBXLegacyTarget; - buildArgumentsString = "build-node.sh $(CONFIGURATION)"; - buildConfigurationList = 02D042001CE13739000E4250 /* Build configuration list for PBXLegacyTarget "RealmNode" */; - buildPhases = ( - ); - buildToolPath = /bin/bash; - buildWorkingDirectory = "$(SRCROOT)"; - dependencies = ( - ); - name = RealmNode; - passBuildSettingsInEnvironment = 0; - productName = RealmNode; - }; -/* End PBXLegacyTarget section */ - -/* Begin PBXProject section */ - 02D041F91CE13739000E4250 /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 0720; - ORGANIZATIONNAME = Realm; - TargetAttributes = { - 02D041FD1CE13739000E4250 = { - CreatedOnToolsVersion = 7.2; - }; - }; - }; - buildConfigurationList = 02D041FC1CE13739000E4250 /* Build configuration list for PBXProject "RealmNode" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - ); - mainGroup = 02D041F81CE13739000E4250; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 02D041FD1CE13739000E4250 /* RealmNode */, - ); - }; -/* End PBXProject section */ - -/* Begin XCBuildConfiguration section */ - 02D041FE1CE13739000E4250 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - }; - name = Debug; - }; - 02D041FF1CE13739000E4250 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MTL_ENABLE_DEBUG_INFO = NO; - }; - name = Release; - }; - 02D042011CE13739000E4250 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - DEBUGGING_SYMBOLS = YES; - DEBUG_INFORMATION_FORMAT = dwarf; - GCC_GENERATE_DEBUGGING_SYMBOLS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - OTHER_CFLAGS = ""; - OTHER_LDFLAGS = ""; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Debug; - }; - 02D042021CE13739000E4250 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - OTHER_CFLAGS = ""; - OTHER_LDFLAGS = ""; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 02D041FC1CE13739000E4250 /* Build configuration list for PBXProject "RealmNode" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 02D041FE1CE13739000E4250 /* Debug */, - 02D041FF1CE13739000E4250 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 02D042001CE13739000E4250 /* Build configuration list for PBXLegacyTarget "RealmNode" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 02D042011CE13739000E4250 /* Debug */, - 02D042021CE13739000E4250 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 02D041F91CE13739000E4250 /* Project object */; -}