Merge pull request #90 from JulienKode/2.0.0

[tvOS] Add target
This commit is contained in:
Mathieu Acthernoene 2017-06-09 12:24:55 +02:00 committed by GitHub
commit 4a26e618e6
2 changed files with 98 additions and 2 deletions

View File

@ -8,7 +8,8 @@ Pod::Spec.new do |s|
s.summary = "React Native + i18n.js"
s.license = "MIT"
s.author = { "Alexander Zaytsev" => "alexander@say26.com" }
s.platform = :ios, "7.0"
s.ios.deployment_target = '7.0'
s.tvos.deployment_target = '9.0'
s.source = { git: "https://github.com/AlexanderZaytsev/react-native-i18n.git", tag: s.version.to_s }
s.source_files = "ios/**/*.{h,m}"
s.requires_arc = true

View File

@ -7,6 +7,7 @@
objects = {
/* Begin PBXBuildFile section */
6476C40E1EEAA6C000B10F51 /* RNI18n.m in Sources */ = {isa = PBXBuildFile; fileRef = B3E7B5891CC2AC0600A0062D /* RNI18n.m */; };
B3E7B58A1CC2AC0600A0062D /* RNI18n.m in Sources */ = {isa = PBXBuildFile; fileRef = B3E7B5891CC2AC0600A0062D /* RNI18n.m */; };
/* End PBXBuildFile section */
@ -20,10 +21,20 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
6476C4031EEAA69700B10F51 /* CopyFiles */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "include/$(PRODUCT_NAME)";
dstSubfolderSpec = 16;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
134814201AA4EA6300B7C361 /* libRNI18n.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRNI18n.a; sourceTree = BUILT_PRODUCTS_DIR; };
6476C4051EEAA69700B10F51 /* libRNI18n.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRNI18n.a; sourceTree = BUILT_PRODUCTS_DIR; };
B3E7B5881CC2AC0600A0062D /* RNI18n.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RNI18n.h; sourceTree = "<group>"; };
B3E7B5891CC2AC0600A0062D /* RNI18n.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNI18n.m; sourceTree = "<group>"; };
/* End PBXFileReference section */
@ -36,6 +47,13 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
6476C4021EEAA69700B10F51 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
@ -53,6 +71,7 @@
B3E7B5881CC2AC0600A0062D /* RNI18n.h */,
B3E7B5891CC2AC0600A0062D /* RNI18n.m */,
134814211AA4EA7D00B7C361 /* Products */,
6476C4051EEAA69700B10F51 /* libRNI18n.a */,
);
sourceTree = "<group>";
};
@ -76,6 +95,23 @@
productReference = 134814201AA4EA6300B7C361 /* libRNI18n.a */;
productType = "com.apple.product-type.library.static";
};
6476C4041EEAA69700B10F51 /* RNI18n-tvOS */ = {
isa = PBXNativeTarget;
buildConfigurationList = 6476C40D1EEAA69700B10F51 /* Build configuration list for PBXNativeTarget "RNI18n-tvOS" */;
buildPhases = (
6476C4011EEAA69700B10F51 /* Sources */,
6476C4021EEAA69700B10F51 /* Frameworks */,
6476C4031EEAA69700B10F51 /* CopyFiles */,
);
buildRules = (
);
dependencies = (
);
name = "RNI18n-tvOS";
productName = "RNI18n-tvOS";
productReference = 6476C4051EEAA69700B10F51 /* libRNI18n.a */;
productType = "com.apple.product-type.library.static";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
@ -88,6 +124,10 @@
58B511DA1A9E6C8500147676 = {
CreatedOnToolsVersion = 6.1.1;
};
6476C4041EEAA69700B10F51 = {
CreatedOnToolsVersion = 8.3.3;
ProvisioningStyle = Automatic;
};
};
};
buildConfigurationList = 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "RNI18n" */;
@ -103,6 +143,7 @@
projectRoot = "";
targets = (
58B511DA1A9E6C8500147676 /* RNI18n */,
6476C4041EEAA69700B10F51 /* RNI18n-tvOS */,
);
};
/* End PBXProject section */
@ -116,6 +157,14 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
6476C4011EEAA69700B10F51 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
6476C40E1EEAA6C000B10F51 /* RNI18n.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin XCBuildConfiguration section */
@ -197,7 +246,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/**",
@ -225,6 +274,44 @@
};
name = Release;
};
6476C40B1EEAA69700B10F51 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_TESTABILITY = YES;
GCC_NO_COMMON_BLOCKS = YES;
OTHER_LDFLAGS = "-ObjC";
PRODUCT_NAME = RNI18n;
SDKROOT = appletvos;
SKIP_INSTALL = YES;
TVOS_DEPLOYMENT_TARGET = 10.2;
};
name = Debug;
};
6476C40C1EEAA69700B10F51 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
GCC_NO_COMMON_BLOCKS = YES;
OTHER_LDFLAGS = "-ObjC";
PRODUCT_NAME = RNI18n;
SDKROOT = appletvos;
SKIP_INSTALL = YES;
TVOS_DEPLOYMENT_TARGET = 10.2;
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
@ -246,6 +333,14 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
6476C40D1EEAA69700B10F51 /* Build configuration list for PBXNativeTarget "RNI18n-tvOS" */ = {
isa = XCConfigurationList;
buildConfigurations = (
6476C40B1EEAA69700B10F51 /* Debug */,
6476C40C1EEAA69700B10F51 /* Release */,
);
defaultConfigurationIsVisible = 0;
};
/* End XCConfigurationList section */
};
rootObject = 58B511D31A9E6C8500147676 /* Project object */;