Merge pull request #406 from realm/al-workspace

Add workspace and clean up xcproject layout
This commit is contained in:
Ari Lazier 2016-04-29 13:53:26 -07:00
commit 2b6b0b97f4
9 changed files with 98 additions and 302 deletions

View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "group:src/ios/RealmJS.xcodeproj">
</FileRef>
<FileRef
location = "group:react-native/ios/RealmReact.xcodeproj">
</FileRef>
<FileRef
location = "group:tests/react-test-app/ios/ReactTests.xcodeproj">
</FileRef>
<FileRef
location = "group:examples/ReactExample/ios/ReactExample.xcodeproj">
</FileRef>
</Workspace>

View File

@ -0,0 +1,30 @@
{
"DVTSourceControlWorkspaceBlueprintPrimaryRemoteRepositoryKey" : "40F53A12E4AE40C654358321B91166ABD3E910A6",
"DVTSourceControlWorkspaceBlueprintWorkingCopyRepositoryLocationsKey" : {
},
"DVTSourceControlWorkspaceBlueprintWorkingCopyStatesKey" : {
"40F53A12E4AE40C654358321B91166ABD3E910A6" : 0,
"F6F96CA34C5878B0A9123C7C37855491A5E599DA" : 0
},
"DVTSourceControlWorkspaceBlueprintIdentifierKey" : "5EE721F9-041C-4877-9E73-A925C9DB080A",
"DVTSourceControlWorkspaceBlueprintWorkingCopyPathsKey" : {
"40F53A12E4AE40C654358321B91166ABD3E910A6" : "realm-js\/",
"F6F96CA34C5878B0A9123C7C37855491A5E599DA" : "realm-js\/vendor\/GCDWebServer\/"
},
"DVTSourceControlWorkspaceBlueprintNameKey" : "Realm",
"DVTSourceControlWorkspaceBlueprintVersion" : 204,
"DVTSourceControlWorkspaceBlueprintRelativePathToProjectKey" : "Realm.xcworkspace",
"DVTSourceControlWorkspaceBlueprintRemoteRepositoriesKey" : [
{
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "https:\/\/github.com\/realm\/realm-js.git",
"DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git",
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "40F53A12E4AE40C654358321B91166ABD3E910A6"
},
{
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "https:\/\/github.com\/swisspol\/GCDWebServer.git",
"DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git",
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "F6F96CA34C5878B0A9123C7C37855491A5E599DA"
}
]
}

View File

@ -27,13 +27,6 @@
remoteGlobalIDString = F63FF2B11C1241E500B3B8E0;
remoteInfo = "RealmJS static";
};
F60690301CA277CD0003FB26 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = F60690231CA277CC0003FB26 /* RealmJS.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = 02B58CB11AE99CEC009B348C;
remoteInfo = RealmJS;
};
F60690321CA277CD0003FB26 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = F60690231CA277CC0003FB26 /* RealmJS.xcodeproj */;
@ -120,9 +113,7 @@
F60690241CA277CC0003FB26 /* Products */ = {
isa = PBXGroup;
children = (
F606902D1CA277CD0003FB26 /* libGCDWebServers.a */,
F606902F1CA277CD0003FB26 /* libRealmJS.a */,
F60690311CA277CD0003FB26 /* RealmJS.framework */,
F60690331CA277CD0003FB26 /* RealmJSTests.xctest */,
);
name = Products;
@ -187,13 +178,6 @@
/* End PBXProject section */
/* Begin PBXReferenceProxy section */
F606902D1CA277CD0003FB26 /* libGCDWebServers.a */ = {
isa = PBXReferenceProxy;
fileType = archive.ar;
path = libGCDWebServers.a;
remoteRef = F606902C1CA277CD0003FB26 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
F606902F1CA277CD0003FB26 /* libRealmJS.a */ = {
isa = PBXReferenceProxy;
fileType = archive.ar;
@ -201,13 +185,6 @@
remoteRef = F606902E1CA277CD0003FB26 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
F60690311CA277CD0003FB26 /* RealmJS.framework */ = {
isa = PBXReferenceProxy;
fileType = wrapper.framework;
path = RealmJS.framework;
remoteRef = F60690301CA277CD0003FB26 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
F60690331CA277CD0003FB26 /* RealmJSTests.xctest */ = {
isa = PBXReferenceProxy;
fileType = wrapper.cfbundle;
@ -345,7 +322,7 @@
"$(SRCROOT)/../../tests/react-test-app/node_modules/react-native/React/**",
"$(SRCROOT)/../../examples/ReactExample/node_modules/react-native/React/**",
);
OTHER_LIBTOOLFLAGS = "$(SRCROOT)/../../core/librealm-ios-bitcode.a $(BUILT_PRODUCTS_DIR)/libRealmJS.a $(BUILT_PRODUCTS_DIR)/libGCDWebServers.a";
OTHER_LIBTOOLFLAGS = "$(BUILT_PRODUCTS_DIR)/libRealmJS.a $(BUILT_PRODUCTS_DIR)/libGCDWebServers.a";
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
};
@ -363,7 +340,7 @@
"$(SRCROOT)/../../tests/react-test-app/node_modules/react-native/React/**",
"$(SRCROOT)/../../examples/ReactExample/node_modules/react-native/React/**",
);
OTHER_LIBTOOLFLAGS = "$(SRCROOT)/../../core/librealm-ios-bitcode.a $(BUILT_PRODUCTS_DIR)/libRealmJS.a";
OTHER_LIBTOOLFLAGS = "$(BUILT_PRODUCTS_DIR)/libRealmJS.a";
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
};

View File

@ -14,10 +14,10 @@
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "F63FF2B01C1241E500B3B8E0"
BuildableName = "libRealmJS.a"
BlueprintName = "RealmJS static"
ReferencedContainer = "container:RealmJS.xcodeproj">
BlueprintIdentifier = "F60690121CA2766F0003FB26"
BuildableName = "libRealmReact.a"
BlueprintName = "RealmReact"
ReferencedContainer = "container:RealmReact.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
@ -28,7 +28,26 @@
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "00E356ED1AD99517003FC87E"
BuildableName = "RealmReactTests.xctest"
BlueprintName = "RealmReactTests"
ReferencedContainer = "container:../../tests/react-test-app/ios/ReactTests.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "F60690121CA2766F0003FB26"
BuildableName = "libRealmReact.a"
BlueprintName = "RealmReact"
ReferencedContainer = "container:RealmReact.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
@ -45,10 +64,10 @@
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "F63FF2B01C1241E500B3B8E0"
BuildableName = "libRealmJS.a"
BlueprintName = "RealmJS static"
ReferencedContainer = "container:RealmJS.xcodeproj">
BlueprintIdentifier = "F60690121CA2766F0003FB26"
BuildableName = "libRealmReact.a"
BlueprintName = "RealmReact"
ReferencedContainer = "container:RealmReact.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
@ -63,10 +82,10 @@
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "F63FF2B01C1241E500B3B8E0"
BuildableName = "libRealmJS.a"
BlueprintName = "RealmJS static"
ReferencedContainer = "container:RealmJS.xcodeproj">
BlueprintIdentifier = "F60690121CA2766F0003FB26"
BuildableName = "libRealmReact.a"
BlueprintName = "RealmReact"
ReferencedContainer = "container:RealmReact.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>

View File

@ -1,24 +0,0 @@
////////////////////////////////////////////////////////////////////////////
//
// Copyright 2016 Realm Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
////////////////////////////////////////////////////////////////////////////
#ifndef REALM_JS_H
#define REALM_JS_H
#include <RealmJS/jsc_init.h>
#endif /* REALM_JS_H */

View File

@ -1,21 +0,0 @@
////////////////////////////////////////////////////////////////////////////
//
// Copyright 2016 Realm Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
////////////////////////////////////////////////////////////////////////////
#import "RealmJS.h"
// This file needs to exist for RealmJS.framework to build properly.

View File

@ -9,17 +9,7 @@
/* Begin PBXBuildFile section */
02409DC21BCF11D6005F3B3E /* RealmJSCoreTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 02409DC11BCF11D6005F3B3E /* RealmJSCoreTests.m */; };
0270BC821B7D020100010E03 /* RealmJSTests.mm in Sources */ = {isa = PBXBuildFile; fileRef = 0270BC7B1B7D020100010E03 /* RealmJSTests.mm */; };
0270BC871B7D023200010E03 /* RealmJS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 02B58CB11AE99CEC009B348C /* RealmJS.framework */; };
029048121C0428DF00ABDED4 /* jsc_init.h in Headers */ = {isa = PBXBuildFile; fileRef = 029048021C0428DF00ABDED4 /* jsc_init.h */; settings = {ATTRIBUTES = (Public, ); }; };
029048141C0428DF00ABDED4 /* js_list.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 029048041C0428DF00ABDED4 /* js_list.hpp */; };
029048161C0428DF00ABDED4 /* js_realm_object.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 029048061C0428DF00ABDED4 /* js_realm_object.hpp */; };
029048181C0428DF00ABDED4 /* js_realm.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 029048081C0428DF00ABDED4 /* js_realm.hpp */; };
0290481A1C0428DF00ABDED4 /* js_results.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 0290480A1C0428DF00ABDED4 /* js_results.hpp */; };
0290481C1C0428DF00ABDED4 /* js_schema.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 0290480C1C0428DF00ABDED4 /* js_schema.hpp */; };
029048201C0428DF00ABDED4 /* rpc.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 029048101C0428DF00ABDED4 /* rpc.hpp */; settings = {ATTRIBUTES = (Public, ); }; };
029048371C042A3C00ABDED4 /* platform.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 029048351C042A3C00ABDED4 /* platform.hpp */; };
0290483B1C042EE200ABDED4 /* RealmJS.h in Headers */ = {isa = PBXBuildFile; fileRef = 0290483A1C042EE200ABDED4 /* RealmJS.h */; settings = {ATTRIBUTES = (Public, ); }; };
02B58CCE1AE99D4D009B348C /* JavaScriptCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 02B58CCD1AE99D4D009B348C /* JavaScriptCore.framework */; };
027A23131CD3E379000543AE /* libRealmJS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = F63FF2B11C1241E500B3B8E0 /* libRealmJS.a */; };
02D8D1F71B601984006DB49D /* JavaScriptCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 02B58CCD1AE99D4D009B348C /* JavaScriptCore.framework */; };
02F59EBF1C88F17D007F774C /* index_set.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 02F59EAF1C88F17D007F774C /* index_set.cpp */; };
02F59EC01C88F17D007F774C /* list.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 02F59EB11C88F17D007F774C /* list.cpp */; };
@ -59,8 +49,6 @@
F63FF2C61C12469E00B3B8E0 /* jsc_init.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 029048011C0428DF00ABDED4 /* jsc_init.cpp */; };
F63FF2C91C12469E00B3B8E0 /* js_realm.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 029048071C0428DF00ABDED4 /* js_realm.cpp */; };
F63FF2CD1C12469E00B3B8E0 /* rpc.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0290480F1C0428DF00ABDED4 /* rpc.cpp */; };
F63FF2DE1C1565EA00B3B8E0 /* RealmJS.mm in Sources */ = {isa = PBXBuildFile; fileRef = F63FF2DC1C15659A00B3B8E0 /* RealmJS.mm */; };
F63FF2E11C1591EC00B3B8E0 /* libRealmJS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = F63FF2B11C1241E500B3B8E0 /* libRealmJS.a */; };
F63FF2E21C15921A00B3B8E0 /* base64.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F6BB7DEF1BF681BC00D0A69E /* base64.cpp */; };
F63FF2E81C159C4B00B3B8E0 /* platform.mm in Sources */ = {isa = PBXBuildFile; fileRef = 029048381C042A8F00ABDED4 /* platform.mm */; };
F63FF31B1C1642BB00B3B8E0 /* GCDWebServer.m in Sources */ = {isa = PBXBuildFile; fileRef = F63FF2FE1C1642BB00B3B8E0 /* GCDWebServer.m */; };
@ -77,27 +65,9 @@
F63FF3261C1642BB00B3B8E0 /* GCDWebServerFileResponse.m in Sources */ = {isa = PBXBuildFile; fileRef = F63FF3181C1642BB00B3B8E0 /* GCDWebServerFileResponse.m */; };
F63FF3271C1642BB00B3B8E0 /* GCDWebServerStreamedResponse.m in Sources */ = {isa = PBXBuildFile; fileRef = F63FF31A1C1642BB00B3B8E0 /* GCDWebServerStreamedResponse.m */; };
F68A278C1BC2722A0063D40A /* RJSModuleLoader.m in Sources */ = {isa = PBXBuildFile; fileRef = F68A278B1BC2722A0063D40A /* RJSModuleLoader.m */; };
F6BB7DF21BF681BC00D0A69E /* base64.hpp in Headers */ = {isa = PBXBuildFile; fileRef = F6BB7DF01BF681BC00D0A69E /* base64.hpp */; };
F6BCCFE21C8380A400FE31AE /* lib in Resources */ = {isa = PBXBuildFile; fileRef = F6BCCFDF1C83809A00FE31AE /* lib */; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
02B58CBE1AE99CEC009B348C /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 02B58CA81AE99CEB009B348C /* Project object */;
proxyType = 1;
remoteGlobalIDString = 02B58CB01AE99CEC009B348C;
remoteInfo = RealmJS;
};
F63FF2E41C159B2C00B3B8E0 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 02B58CA81AE99CEB009B348C /* Project object */;
proxyType = 1;
remoteGlobalIDString = F63FF2B01C1241E500B3B8E0;
remoteInfo = "RealmJS static";
};
/* End PBXContainerItemProxy section */
/* Begin PBXCopyFilesBuildPhase section */
F63FF2EE1C16405C00B3B8E0 /* CopyFiles */ = {
isa = PBXCopyFilesBuildPhase;
@ -129,9 +99,7 @@
029048101C0428DF00ABDED4 /* rpc.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = rpc.hpp; sourceTree = "<group>"; };
029048351C042A3C00ABDED4 /* platform.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = platform.hpp; sourceTree = "<group>"; };
029048381C042A8F00ABDED4 /* platform.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = platform.mm; sourceTree = "<group>"; };
0290483A1C042EE200ABDED4 /* RealmJS.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RealmJS.h; sourceTree = "<group>"; };
02A3C7A41BC4341500B1A7BE /* libc++.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = "libc++.tbd"; path = "usr/lib/libc++.tbd"; sourceTree = SDKROOT; };
02B58CB11AE99CEC009B348C /* RealmJS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = RealmJS.framework; sourceTree = BUILT_PRODUCTS_DIR; };
02B58CBC1AE99CEC009B348C /* RealmJSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RealmJSTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
02B58CCD1AE99D4D009B348C /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
02F59EAE1C88F17D007F774C /* binding_context.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = binding_context.hpp; path = src/binding_context.hpp; sourceTree = "<group>"; };
@ -200,7 +168,6 @@
F6267BCA1CADC49200AC36B1 /* node_dummy.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = node_dummy.cpp; sourceTree = "<group>"; };
F62BF8FB1CAC71780022BCDC /* libRealmNode.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = libRealmNode.dylib; sourceTree = BUILT_PRODUCTS_DIR; };
F63FF2B11C1241E500B3B8E0 /* libRealmJS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRealmJS.a; sourceTree = BUILT_PRODUCTS_DIR; };
F63FF2DC1C15659A00B3B8E0 /* RealmJS.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = RealmJS.mm; sourceTree = "<group>"; };
F63FF2F01C16405C00B3B8E0 /* libGCDWebServers.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libGCDWebServers.a; sourceTree = BUILT_PRODUCTS_DIR; };
F63FF2FD1C1642BB00B3B8E0 /* GCDWebServer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GCDWebServer.h; sourceTree = "<group>"; };
F63FF2FE1C1642BB00B3B8E0 /* GCDWebServer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GCDWebServer.m; sourceTree = "<group>"; };
@ -246,20 +213,11 @@
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
02B58CAD1AE99CEC009B348C /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
F63FF2E11C1591EC00B3B8E0 /* libRealmJS.a in Frameworks */,
02B58CCE1AE99D4D009B348C /* JavaScriptCore.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
02B58CB91AE99CEC009B348C /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
0270BC871B7D023200010E03 /* RealmJS.framework in Frameworks */,
027A23131CD3E379000543AE /* libRealmJS.a in Frameworks */,
02D8D1F71B601984006DB49D /* JavaScriptCore.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
@ -320,7 +278,6 @@
02B58CB21AE99CEC009B348C /* Products */ = {
isa = PBXGroup;
children = (
02B58CB11AE99CEC009B348C /* RealmJS.framework */,
02B58CBC1AE99CEC009B348C /* RealmJSTests.xctest */,
F63FF2B11C1241E500B3B8E0 /* libRealmJS.a */,
F63FF2F01C16405C00B3B8E0 /* libGCDWebServers.a */,
@ -373,8 +330,6 @@
F62A35131C18E6E2004A917D /* iOS */ = {
isa = PBXGroup;
children = (
0290483A1C042EE200ABDED4 /* RealmJS.h */,
F63FF2DC1C15659A00B3B8E0 /* RealmJS.mm */,
029048381C042A8F00ABDED4 /* platform.mm */,
0270BC5A1B7CFC1300010E03 /* Info.plist */,
);
@ -543,23 +498,6 @@
/* End PBXGroup section */
/* Begin PBXHeadersBuildPhase section */
02B58CAE1AE99CEC009B348C /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
0290483B1C042EE200ABDED4 /* RealmJS.h in Headers */,
029048121C0428DF00ABDED4 /* jsc_init.h in Headers */,
029048201C0428DF00ABDED4 /* rpc.hpp in Headers */,
0290481A1C0428DF00ABDED4 /* js_results.hpp in Headers */,
029048181C0428DF00ABDED4 /* js_realm.hpp in Headers */,
029048141C0428DF00ABDED4 /* js_list.hpp in Headers */,
F6BB7DF21BF681BC00D0A69E /* base64.hpp in Headers */,
0290481C1C0428DF00ABDED4 /* js_schema.hpp in Headers */,
029048161C0428DF00ABDED4 /* js_realm_object.hpp in Headers */,
029048371C042A3C00ABDED4 /* platform.hpp in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
F62BF8F91CAC71780022BCDC /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
@ -571,25 +509,6 @@
/* End PBXHeadersBuildPhase section */
/* Begin PBXNativeTarget section */
02B58CB01AE99CEC009B348C /* RealmJS */ = {
isa = PBXNativeTarget;
buildConfigurationList = 02B58CC71AE99CEC009B348C /* Build configuration list for PBXNativeTarget "RealmJS" */;
buildPhases = (
02B58CAD1AE99CEC009B348C /* Frameworks */,
02B58CAE1AE99CEC009B348C /* Headers */,
F63FF2DD1C1565DF00B3B8E0 /* Sources */,
02B58CAF1AE99CEC009B348C /* Resources */,
);
buildRules = (
);
dependencies = (
F63FF2E51C159B2C00B3B8E0 /* PBXTargetDependency */,
);
name = RealmJS;
productName = RealmJS;
productReference = 02B58CB11AE99CEC009B348C /* RealmJS.framework */;
productType = "com.apple.product-type.framework";
};
02B58CBB1AE99CEC009B348C /* RealmJSTests */ = {
isa = PBXNativeTarget;
buildConfigurationList = 02B58CCA1AE99CEC009B348C /* Build configuration list for PBXNativeTarget "RealmJSTests" */;
@ -602,7 +521,6 @@
buildRules = (
);
dependencies = (
02B58CBF1AE99CEC009B348C /* PBXTargetDependency */,
);
name = RealmJSTests;
productName = RealmJSTests;
@ -626,9 +544,9 @@
productReference = F62BF8FB1CAC71780022BCDC /* libRealmNode.dylib */;
productType = "com.apple.product-type.library.dynamic";
};
F63FF2B01C1241E500B3B8E0 /* RealmJS static */ = {
F63FF2B01C1241E500B3B8E0 /* RealmJS */ = {
isa = PBXNativeTarget;
buildConfigurationList = F63FF2C41C1241E500B3B8E0 /* Build configuration list for PBXNativeTarget "RealmJS static" */;
buildConfigurationList = F63FF2C41C1241E500B3B8E0 /* Build configuration list for PBXNativeTarget "RealmJS" */;
buildPhases = (
F63FF2C51C12462600B3B8E0 /* Download Core */,
F63FF2AD1C1241E500B3B8E0 /* Sources */,
@ -637,7 +555,7 @@
);
dependencies = (
);
name = "RealmJS static";
name = RealmJS;
productName = libRealmJS;
productReference = F63FF2B11C1241E500B3B8E0 /* libRealmJS.a */;
productType = "com.apple.product-type.library.static";
@ -668,9 +586,6 @@
LastUpgradeCheck = 0700;
ORGANIZATIONNAME = Realm;
TargetAttributes = {
02B58CB01AE99CEC009B348C = {
CreatedOnToolsVersion = 6.3.1;
};
02B58CBB1AE99CEC009B348C = {
CreatedOnToolsVersion = 6.3.1;
};
@ -698,22 +613,14 @@
projectRoot = "";
targets = (
F63FF2EF1C16405C00B3B8E0 /* GCDWebServers */,
F63FF2B01C1241E500B3B8E0 /* RealmJS static */,
F63FF2B01C1241E500B3B8E0 /* RealmJS */,
F62BF8FA1CAC71780022BCDC /* RealmNode */,
02B58CB01AE99CEC009B348C /* RealmJS */,
02B58CBB1AE99CEC009B348C /* RealmJSTests */,
);
};
/* End PBXProject section */
/* Begin PBXResourcesBuildPhase section */
02B58CAF1AE99CEC009B348C /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
02B58CBA1AE99CEC009B348C /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
@ -818,14 +725,6 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
F63FF2DD1C1565DF00B3B8E0 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
F63FF2DE1C1565EA00B3B8E0 /* RealmJS.mm in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
F63FF2EC1C16405C00B3B8E0 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
@ -848,19 +747,6 @@
};
/* End PBXSourcesBuildPhase section */
/* Begin PBXTargetDependency section */
02B58CBF1AE99CEC009B348C /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 02B58CB01AE99CEC009B348C /* RealmJS */;
targetProxy = 02B58CBE1AE99CEC009B348C /* PBXContainerItemProxy */;
};
F63FF2E51C159B2C00B3B8E0 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = F63FF2B01C1241E500B3B8E0 /* RealmJS static */;
targetProxy = F63FF2E41C159B2C00B3B8E0 /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */
/* Begin XCBuildConfiguration section */
02B58CC51AE99CEC009B348C /* Debug */ = {
isa = XCBuildConfiguration;
@ -981,50 +867,6 @@
};
name = Release;
};
02B58CC81AE99CEC009B348C /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
APPLICATION_EXTENSION_API_ONLY = YES;
DEFINES_MODULE = NO;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 0.11.1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
OTHER_LDFLAGS = (
"-lrealm-ios-bitcode",
"-all_load",
);
PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
VERSIONING_SYSTEM = "";
};
name = Debug;
};
02B58CC91AE99CEC009B348C /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
APPLICATION_EXTENSION_API_ONLY = YES;
DEFINES_MODULE = NO;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 0.11.1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
OTHER_LDFLAGS = (
"-lrealm-ios-bitcode",
"-all_load",
);
PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
VERSIONING_SYSTEM = "";
};
name = Release;
};
02B58CCB1AE99CEC009B348C /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
@ -1122,28 +964,6 @@
};
name = GCov_Build;
};
02F9EE1D1B6BF66300C807E8 /* GCov_Build */ = {
isa = XCBuildConfiguration;
buildSettings = {
APPLICATION_EXTENSION_API_ONLY = YES;
DEFINES_MODULE = NO;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 0.11.1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
OTHER_LDFLAGS = (
"-lrealm-ios-bitcode",
"-all_load",
);
PRODUCT_BUNDLE_IDENTIFIER = "io.realm.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
VERSIONING_SYSTEM = "";
};
name = GCov_Build;
};
02F9EE1E1B6BF66300C807E8 /* GCov_Build */ = {
isa = XCBuildConfiguration;
buildSettings = {
@ -1249,6 +1069,7 @@
"DEBUG=1",
"$(inherited)",
);
OTHER_LIBTOOLFLAGS = "$(SRCROOT)/../../core/librealm-ios-bitcode.a";
PRODUCT_NAME = RealmJS;
SKIP_INSTALL = YES;
};
@ -1257,6 +1078,7 @@
F63FF2B81C1241E500B3B8E0 /* GCov_Build */ = {
isa = XCBuildConfiguration;
buildSettings = {
OTHER_LIBTOOLFLAGS = "$(SRCROOT)/../../core/librealm-ios-bitcode.a";
PRODUCT_NAME = RealmJS;
SKIP_INSTALL = YES;
};
@ -1265,6 +1087,7 @@
F63FF2B91C1241E500B3B8E0 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
OTHER_LIBTOOLFLAGS = "$(SRCROOT)/../../core/librealm-ios-bitcode.a";
PRODUCT_NAME = RealmJS;
SKIP_INSTALL = YES;
};
@ -1318,16 +1141,6 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
02B58CC71AE99CEC009B348C /* Build configuration list for PBXNativeTarget "RealmJS" */ = {
isa = XCConfigurationList;
buildConfigurations = (
02B58CC81AE99CEC009B348C /* Debug */,
02F9EE1D1B6BF66300C807E8 /* GCov_Build */,
02B58CC91AE99CEC009B348C /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
02B58CCA1AE99CEC009B348C /* Build configuration list for PBXNativeTarget "RealmJSTests" */ = {
isa = XCConfigurationList;
buildConfigurations = (
@ -1348,7 +1161,7 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
F63FF2C41C1241E500B3B8E0 /* Build configuration list for PBXNativeTarget "RealmJS static" */ = {
F63FF2C41C1241E500B3B8E0 /* Build configuration list for PBXNativeTarget "RealmJS" */ = {
isa = XCConfigurationList;
buildConfigurations = (
F63FF2B71C1241E500B3B8E0 /* Debug */,

View File

@ -14,26 +14,12 @@
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "02B58CB01AE99CEC009B348C"
BuildableName = "RealmJS.framework"
BlueprintIdentifier = "F63FF2B01C1241E500B3B8E0"
BuildableName = "libRealmJS.a"
BlueprintName = "RealmJS"
ReferencedContainer = "container:RealmJS.xcodeproj">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "NO"
buildForArchiving = "NO"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "02B58CBB1AE99CEC009B348C"
BuildableName = "RealmJSTests.xctest"
BlueprintName = "RealmJSTests"
ReferencedContainer = "container:RealmJS.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
@ -56,8 +42,8 @@
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "02B58CB01AE99CEC009B348C"
BuildableName = "RealmJS.framework"
BlueprintIdentifier = "F63FF2B01C1241E500B3B8E0"
BuildableName = "libRealmJS.a"
BlueprintName = "RealmJS"
ReferencedContainer = "container:RealmJS.xcodeproj">
</BuildableReference>
@ -78,8 +64,8 @@
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "02B58CB01AE99CEC009B348C"
BuildableName = "RealmJS.framework"
BlueprintIdentifier = "F63FF2B01C1241E500B3B8E0"
BuildableName = "libRealmJS.a"
BlueprintName = "RealmJS"
ReferencedContainer = "container:RealmJS.xcodeproj">
</BuildableReference>
@ -96,8 +82,8 @@
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "02B58CB01AE99CEC009B348C"
BuildableName = "RealmJS.framework"
BlueprintIdentifier = "F63FF2B01C1241E500B3B8E0"
BuildableName = "libRealmJS.a"
BlueprintName = "RealmJS"
ReferencedContainer = "container:RealmJS.xcodeproj">
</BuildableReference>

View File

@ -19,7 +19,7 @@
#import "RealmJSTests.h"
#import "RJSModuleLoader.h"
#import <RealmJS/RealmJS.h>
#include "jsc_init.h"
@interface RealmJSCoreTests : RealmJSTests