Scott Kyle 02b81ac056 Convert RealmReact to be a static library
We needed to do this due to the way React Native modules work. Our hacky solution for using a framework ended up falling apart due to it relying on symbols not getting stripped from the main application.

This static library is in its own Xcode project because rnpm links in *all* static libraries from a given Xcode project.
2016-03-23 10:50:19 -07:00

397 lines
14 KiB
Plaintext

// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {
/* Begin PBXBuildFile section */
F60690171CA2766F0003FB26 /* RealmReact.h in Copy Headers */ = {isa = PBXBuildFile; fileRef = F60690161CA2766F0003FB26 /* RealmReact.h */; };
F60690191CA2766F0003FB26 /* RealmReact.mm in Sources */ = {isa = PBXBuildFile; fileRef = F60690181CA2766F0003FB26 /* RealmReact.mm */; };
F60690211CA277410003FB26 /* RealmAnalytics.mm in Sources */ = {isa = PBXBuildFile; fileRef = F60690201CA277410003FB26 /* RealmAnalytics.mm */; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
F606902C1CA277CD0003FB26 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = F60690231CA277CC0003FB26 /* RealmJS.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = F63FF2F01C16405C00B3B8E0;
remoteInfo = GCDWebServers;
};
F606902E1CA277CD0003FB26 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = F60690231CA277CC0003FB26 /* RealmJS.xcodeproj */;
proxyType = 2;
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 */;
proxyType = 2;
remoteGlobalIDString = 02B58CBC1AE99CEC009B348C;
remoteInfo = RealmJSTests;
};
F60690381CA278E10003FB26 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = F60690231CA277CC0003FB26 /* RealmJS.xcodeproj */;
proxyType = 1;
remoteGlobalIDString = F63FF2B01C1241E500B3B8E0;
remoteInfo = "RealmJS static";
};
F606903A1CA278F10003FB26 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = F60690231CA277CC0003FB26 /* RealmJS.xcodeproj */;
proxyType = 1;
remoteGlobalIDString = F63FF2EF1C16405C00B3B8E0;
remoteInfo = GCDWebServers;
};
/* End PBXContainerItemProxy section */
/* Begin PBXCopyFilesBuildPhase section */
F60690111CA2766F0003FB26 /* Copy Headers */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "include/$(PRODUCT_NAME)";
dstSubfolderSpec = 16;
files = (
F60690171CA2766F0003FB26 /* RealmReact.h in Copy Headers */,
);
name = "Copy Headers";
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
F60690131CA2766F0003FB26 /* libRealmReact.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRealmReact.a; sourceTree = BUILT_PRODUCTS_DIR; };
F60690161CA2766F0003FB26 /* RealmReact.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RealmReact.h; sourceTree = "<group>"; };
F60690181CA2766F0003FB26 /* RealmReact.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = RealmReact.mm; sourceTree = "<group>"; };
F606901F1CA277410003FB26 /* RealmAnalytics.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RealmAnalytics.h; sourceTree = "<group>"; };
F60690201CA277410003FB26 /* RealmAnalytics.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = RealmAnalytics.mm; sourceTree = "<group>"; };
F60690231CA277CC0003FB26 /* RealmJS.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RealmJS.xcodeproj; path = ../../RealmJS.xcodeproj; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXGroup section */
F606900A1CA2766F0003FB26 = {
isa = PBXGroup;
children = (
F60690221CA277BE0003FB26 /* Libraries */,
F60690151CA2766F0003FB26 /* RealmReact */,
F60690141CA2766F0003FB26 /* Products */,
);
sourceTree = "<group>";
};
F60690141CA2766F0003FB26 /* Products */ = {
isa = PBXGroup;
children = (
F60690131CA2766F0003FB26 /* libRealmReact.a */,
);
name = Products;
sourceTree = "<group>";
};
F60690151CA2766F0003FB26 /* RealmReact */ = {
isa = PBXGroup;
children = (
F606901F1CA277410003FB26 /* RealmAnalytics.h */,
F60690201CA277410003FB26 /* RealmAnalytics.mm */,
F60690161CA2766F0003FB26 /* RealmReact.h */,
F60690181CA2766F0003FB26 /* RealmReact.mm */,
);
path = RealmReact;
sourceTree = "<group>";
};
F60690221CA277BE0003FB26 /* Libraries */ = {
isa = PBXGroup;
children = (
F60690231CA277CC0003FB26 /* RealmJS.xcodeproj */,
);
name = Libraries;
sourceTree = "<group>";
};
F60690241CA277CC0003FB26 /* Products */ = {
isa = PBXGroup;
children = (
F606902D1CA277CD0003FB26 /* libGCDWebServers.a */,
F606902F1CA277CD0003FB26 /* libRealmJS.a */,
F60690311CA277CD0003FB26 /* RealmJS.framework */,
F60690331CA277CD0003FB26 /* RealmJSTests.xctest */,
);
name = Products;
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
F60690121CA2766F0003FB26 /* RealmReact */ = {
isa = PBXNativeTarget;
buildConfigurationList = F606901C1CA2766F0003FB26 /* Build configuration list for PBXNativeTarget "RealmReact" */;
buildPhases = (
F606900F1CA2766F0003FB26 /* Sources */,
F60690111CA2766F0003FB26 /* Copy Headers */,
);
buildRules = (
);
dependencies = (
F606903B1CA278F10003FB26 /* PBXTargetDependency */,
F60690391CA278E10003FB26 /* PBXTargetDependency */,
);
name = RealmReact;
productName = RealmReact;
productReference = F60690131CA2766F0003FB26 /* libRealmReact.a */;
productType = "com.apple.product-type.library.static";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
F606900B1CA2766F0003FB26 /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0730;
ORGANIZATIONNAME = Realm;
TargetAttributes = {
F60690121CA2766F0003FB26 = {
CreatedOnToolsVersion = 7.3;
};
};
};
buildConfigurationList = F606900E1CA2766F0003FB26 /* Build configuration list for PBXProject "RealmReact" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
en,
);
mainGroup = F606900A1CA2766F0003FB26;
productRefGroup = F60690141CA2766F0003FB26 /* Products */;
projectDirPath = "";
projectReferences = (
{
ProductGroup = F60690241CA277CC0003FB26 /* Products */;
ProjectRef = F60690231CA277CC0003FB26 /* RealmJS.xcodeproj */;
},
);
projectRoot = "";
targets = (
F60690121CA2766F0003FB26 /* RealmReact */,
);
};
/* 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;
path = libRealmJS.a;
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;
path = RealmJSTests.xctest;
remoteRef = F60690321CA277CD0003FB26 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
/* End PBXReferenceProxy section */
/* Begin PBXSourcesBuildPhase section */
F606900F1CA2766F0003FB26 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
F60690211CA277410003FB26 /* RealmAnalytics.mm in Sources */,
F60690191CA2766F0003FB26 /* RealmReact.mm in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin PBXTargetDependency section */
F60690391CA278E10003FB26 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
name = "RealmJS static";
targetProxy = F60690381CA278E10003FB26 /* PBXContainerItemProxy */;
};
F606903B1CA278F10003FB26 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
name = GCDWebServers;
targetProxy = F606903A1CA278F10003FB26 /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */
/* Begin XCBuildConfiguration section */
F606901A1CA2766F0003FB26 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "c++14";
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;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
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;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
OTHER_CPLUSPLUSFLAGS = (
"$(OTHER_CFLAGS)",
"-isystem",
../../core/include,
);
SDKROOT = iphoneos;
};
name = Debug;
};
F606901B1CA2766F0003FB26 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "c++14";
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;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
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;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
MTL_ENABLE_DEBUG_INFO = NO;
OTHER_CPLUSPLUSFLAGS = (
"$(OTHER_CFLAGS)",
"-isystem",
../../core/include,
);
SDKROOT = iphoneos;
VALIDATE_PRODUCT = YES;
};
name = Release;
};
F606901D1CA2766F0003FB26 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
HEADER_SEARCH_PATHS = (
"$(inherited)",
"$(SRCROOT)/../../src/**",
"$(SRCROOT)/../../vendor",
"$(SRCROOT)/../../vendor/GCDWebServer/GCDWebServer/**",
"$(SRCROOT)/../../../react-native/React/**",
"$(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";
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
};
name = Debug;
};
F606901E1CA2766F0003FB26 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
HEADER_SEARCH_PATHS = (
"$(inherited)",
"$(SRCROOT)/../../src/**",
"$(SRCROOT)/../../vendor",
"$(SRCROOT)/../../vendor/GCDWebServer/GCDWebServer/**",
"$(SRCROOT)/../../../react-native/React/**",
"$(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";
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
F606900E1CA2766F0003FB26 /* Build configuration list for PBXProject "RealmReact" */ = {
isa = XCConfigurationList;
buildConfigurations = (
F606901A1CA2766F0003FB26 /* Debug */,
F606901B1CA2766F0003FB26 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
F606901C1CA2766F0003FB26 /* Build configuration list for PBXNativeTarget "RealmReact" */ = {
isa = XCConfigurationList;
buildConfigurations = (
F606901D1CA2766F0003FB26 /* Debug */,
F606901E1CA2766F0003FB26 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = F606900B1CA2766F0003FB26 /* Project object */;
}