From 7f971442a1589d727632339212daebbfc9d59aec Mon Sep 17 00:00:00 2001 From: Neil Kimmett Date: Fri, 20 Oct 2017 14:31:41 +0100 Subject: [PATCH] Add tvOS target (#11) --- ios/RNVersionNumber.xcodeproj/project.pbxproj | 90 ++++++++++++++++++- 1 file changed, 89 insertions(+), 1 deletion(-) diff --git a/ios/RNVersionNumber.xcodeproj/project.pbxproj b/ios/RNVersionNumber.xcodeproj/project.pbxproj index 7c020de..11d7464 100644 --- a/ios/RNVersionNumber.xcodeproj/project.pbxproj +++ b/ios/RNVersionNumber.xcodeproj/project.pbxproj @@ -7,10 +7,20 @@ objects = { /* Begin PBXBuildFile section */ + 2858ECCA1F8B91B400610575 /* RNVersionNumber.m in Sources */ = {isa = PBXBuildFile; fileRef = B3E7B5891CC2AC0600A0062D /* RNVersionNumber.m */; }; B3E7B58A1CC2AC0600A0062D /* RNVersionNumber.m in Sources */ = {isa = PBXBuildFile; fileRef = B3E7B5891CC2AC0600A0062D /* RNVersionNumber.m */; }; /* End PBXBuildFile section */ /* Begin PBXCopyFilesBuildPhase section */ + 2858ECCC1F8B91B400610575 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = "include/$(PRODUCT_NAME)"; + dstSubfolderSpec = 16; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; 58B511D91A9E6C8500147676 /* CopyFiles */ = { isa = PBXCopyFilesBuildPhase; buildActionMask = 2147483647; @@ -24,11 +34,19 @@ /* Begin PBXFileReference section */ 134814201AA4EA6300B7C361 /* libRNVersionNumber.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRNVersionNumber.a; sourceTree = BUILT_PRODUCTS_DIR; }; + 2858ECD01F8B91B400610575 /* libRNVersionNumber-tvOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libRNVersionNumber-tvOS.a"; sourceTree = BUILT_PRODUCTS_DIR; }; B3E7B5881CC2AC0600A0062D /* RNVersionNumber.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RNVersionNumber.h; sourceTree = ""; }; B3E7B5891CC2AC0600A0062D /* RNVersionNumber.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNVersionNumber.m; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ + 2858ECCB1F8B91B400610575 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; 58B511D81A9E6C8500147676 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; @@ -53,12 +71,30 @@ B3E7B5881CC2AC0600A0062D /* RNVersionNumber.h */, B3E7B5891CC2AC0600A0062D /* RNVersionNumber.m */, 134814211AA4EA7D00B7C361 /* Products */, + 2858ECD01F8B91B400610575 /* libRNVersionNumber-tvOS.a */, ); sourceTree = ""; }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ + 2858ECC81F8B91B400610575 /* RNVersionNumber-tvOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 2858ECCD1F8B91B400610575 /* Build configuration list for PBXNativeTarget "RNVersionNumber-tvOS" */; + buildPhases = ( + 2858ECC91F8B91B400610575 /* Sources */, + 2858ECCB1F8B91B400610575 /* Frameworks */, + 2858ECCC1F8B91B400610575 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "RNVersionNumber-tvOS"; + productName = RCTDataManager; + productReference = 2858ECD01F8B91B400610575 /* libRNVersionNumber-tvOS.a */; + productType = "com.apple.product-type.library.static"; + }; 58B511DA1A9E6C8500147676 /* RNVersionNumber */ = { isa = PBXNativeTarget; buildConfigurationList = 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "RNVersionNumber" */; @@ -103,11 +139,20 @@ projectRoot = ""; targets = ( 58B511DA1A9E6C8500147676 /* RNVersionNumber */, + 2858ECC81F8B91B400610575 /* RNVersionNumber-tvOS */, ); }; /* End PBXProject section */ /* Begin PBXSourcesBuildPhase section */ + 2858ECC91F8B91B400610575 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 2858ECCA1F8B91B400610575 /* RNVersionNumber.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 58B511D71A9E6C8500147676 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; @@ -119,6 +164,40 @@ /* End PBXSourcesBuildPhase section */ /* Begin XCBuildConfiguration section */ + 2858ECCE1F8B91B400610575 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + HEADER_SEARCH_PATHS = ( + "$(inherited)", + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, + "$(SRCROOT)/../../../React/**", + "$(SRCROOT)/../../react-native/React/**", + ); + LIBRARY_SEARCH_PATHS = "$(inherited)"; + OTHER_LDFLAGS = "-ObjC"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = appletvos; + SKIP_INSTALL = YES; + }; + name = Debug; + }; + 2858ECCF1F8B91B400610575 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + HEADER_SEARCH_PATHS = ( + "$(inherited)", + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, + "$(SRCROOT)/../../../React/**", + "$(SRCROOT)/../../react-native/React/**", + ); + LIBRARY_SEARCH_PATHS = "$(inherited)"; + OTHER_LDFLAGS = "-ObjC"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = appletvos; + SKIP_INSTALL = YES; + }; + name = Release; + }; 58B511ED1A9E6C8500147676 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { @@ -197,7 +276,7 @@ isa = XCBuildConfiguration; buildSettings = { HEADER_SEARCH_PATHS = ( - "$(inherited)", + "$(inherited)", /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, "$(SRCROOT)/../../../React/**", "$(SRCROOT)/../../react-native/React/**", @@ -228,6 +307,15 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ + 2858ECCD1F8B91B400610575 /* Build configuration list for PBXNativeTarget "RNVersionNumber-tvOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 2858ECCE1F8B91B400610575 /* Debug */, + 2858ECCF1F8B91B400610575 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "RNVersionNumber" */ = { isa = XCConfigurationList; buildConfigurations = (