Merge pull request #291 from JulienKode/master

[tvOS] Add target
This commit is contained in:
Hagen Hübel 2017-05-03 09:11:28 +02:00 committed by GitHub
commit 20b3915620
2 changed files with 99 additions and 1 deletions

View File

@ -9,7 +9,8 @@ Pod::Spec.new do |s|
s.summary = pjson["description"] s.summary = pjson["description"]
s.license = pjson["license"] s.license = pjson["license"]
s.author = { "Johannes Lumpe" => "johannes@lum.pe" } s.author = { "Johannes Lumpe" => "johannes@lum.pe" }
s.platform = :ios, "8.0" s.ios.deployment_target = '8.0'
s.tvos.deployment_target = '9.0'
s.source = { :git => "https://github.com/itinance/react-native-fs", :tag => "v#{s.version}" } s.source = { :git => "https://github.com/itinance/react-native-fs", :tag => "v#{s.version}" }
s.source_files = '*.{h,m}' s.source_files = '*.{h,m}'
s.preserve_paths = "**/*.js" s.preserve_paths = "**/*.js"

View File

@ -7,6 +7,10 @@
objects = { objects = {
/* Begin PBXBuildFile section */ /* Begin PBXBuildFile section */
645644281EB8DAA100672408 /* NSArray+Map.m in Sources */ = {isa = PBXBuildFile; fileRef = F1EB08BA1AFD0E6A008F8F2B /* NSArray+Map.m */; };
645644291EB8DAA100672408 /* RNFSManager.m in Sources */ = {isa = PBXBuildFile; fileRef = F1E59BDE1ADD662800ACA28A /* RNFSManager.m */; };
6456442A1EB8DAA100672408 /* Downloader.m in Sources */ = {isa = PBXBuildFile; fileRef = 8BF740761C033A2E0057A1E7 /* Downloader.m */; };
6456442B1EB8DAA100672408 /* Uploader.m in Sources */ = {isa = PBXBuildFile; fileRef = 8BB364CB1CDA130000435A01 /* Uploader.m */; };
8BB364CC1CDA130000435A01 /* Uploader.m in Sources */ = {isa = PBXBuildFile; fileRef = 8BB364CB1CDA130000435A01 /* Uploader.m */; }; 8BB364CC1CDA130000435A01 /* Uploader.m in Sources */ = {isa = PBXBuildFile; fileRef = 8BB364CB1CDA130000435A01 /* Uploader.m */; };
8BF740771C033A2E0057A1E7 /* Downloader.m in Sources */ = {isa = PBXBuildFile; fileRef = 8BF740761C033A2E0057A1E7 /* Downloader.m */; }; 8BF740771C033A2E0057A1E7 /* Downloader.m in Sources */ = {isa = PBXBuildFile; fileRef = 8BF740761C033A2E0057A1E7 /* Downloader.m */; };
F1E59BDF1ADD662800ACA28A /* RNFSManager.m in Sources */ = {isa = PBXBuildFile; fileRef = F1E59BDE1ADD662800ACA28A /* RNFSManager.m */; }; F1E59BDF1ADD662800ACA28A /* RNFSManager.m in Sources */ = {isa = PBXBuildFile; fileRef = F1E59BDE1ADD662800ACA28A /* RNFSManager.m */; };
@ -14,6 +18,15 @@
/* End PBXBuildFile section */ /* End PBXBuildFile section */
/* Begin PBXCopyFilesBuildPhase section */ /* Begin PBXCopyFilesBuildPhase section */
6456441D1EB8DA9100672408 /* CopyFiles */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "include/$(PRODUCT_NAME)";
dstSubfolderSpec = 16;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
F12AFB991ADAF8F800E0535D /* CopyFiles */ = { F12AFB991ADAF8F800E0535D /* CopyFiles */ = {
isa = PBXCopyFilesBuildPhase; isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
@ -26,6 +39,7 @@
/* End PBXCopyFilesBuildPhase section */ /* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */ /* Begin PBXFileReference section */
6456441F1EB8DA9100672408 /* libRNFS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRNFS.a; sourceTree = BUILT_PRODUCTS_DIR; };
8BB364CA1CDA130000435A01 /* Uploader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Uploader.h; sourceTree = "<group>"; }; 8BB364CA1CDA130000435A01 /* Uploader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Uploader.h; sourceTree = "<group>"; };
8BB364CB1CDA130000435A01 /* Uploader.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Uploader.m; sourceTree = "<group>"; }; 8BB364CB1CDA130000435A01 /* Uploader.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Uploader.m; sourceTree = "<group>"; };
8BF740751C033A2E0057A1E7 /* Downloader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Downloader.h; sourceTree = "<group>"; }; 8BF740751C033A2E0057A1E7 /* Downloader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Downloader.h; sourceTree = "<group>"; };
@ -38,6 +52,13 @@
/* End PBXFileReference section */ /* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */ /* Begin PBXFrameworksBuildPhase section */
6456441C1EB8DA9100672408 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
F12AFB981ADAF8F800E0535D /* Frameworks */ = { F12AFB981ADAF8F800E0535D /* Frameworks */ = {
isa = PBXFrameworksBuildPhase; isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
@ -67,6 +88,7 @@
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
F12AFB9B1ADAF8F800E0535D /* libRNFS.a */, F12AFB9B1ADAF8F800E0535D /* libRNFS.a */,
6456441F1EB8DA9100672408 /* libRNFS.a */,
); );
name = Products; name = Products;
sourceTree = "<group>"; sourceTree = "<group>";
@ -74,6 +96,23 @@
/* End PBXGroup section */ /* End PBXGroup section */
/* Begin PBXNativeTarget section */ /* Begin PBXNativeTarget section */
6456441E1EB8DA9100672408 /* RNFS-tvOS */ = {
isa = PBXNativeTarget;
buildConfigurationList = 645644271EB8DA9100672408 /* Build configuration list for PBXNativeTarget "RNFS-tvOS" */;
buildPhases = (
6456441B1EB8DA9100672408 /* Sources */,
6456441C1EB8DA9100672408 /* Frameworks */,
6456441D1EB8DA9100672408 /* CopyFiles */,
);
buildRules = (
);
dependencies = (
);
name = "RNFS-tvOS";
productName = "RNFS-tvOS";
productReference = 6456441F1EB8DA9100672408 /* libRNFS.a */;
productType = "com.apple.product-type.library.static";
};
F12AFB9A1ADAF8F800E0535D /* RNFS */ = { F12AFB9A1ADAF8F800E0535D /* RNFS */ = {
isa = PBXNativeTarget; isa = PBXNativeTarget;
buildConfigurationList = F12AFBAF1ADAF8F800E0535D /* Build configuration list for PBXNativeTarget "RNFS" */; buildConfigurationList = F12AFBAF1ADAF8F800E0535D /* Build configuration list for PBXNativeTarget "RNFS" */;
@ -100,6 +139,10 @@
LastUpgradeCheck = 0630; LastUpgradeCheck = 0630;
ORGANIZATIONNAME = "Johannes Lumpe"; ORGANIZATIONNAME = "Johannes Lumpe";
TargetAttributes = { TargetAttributes = {
6456441E1EB8DA9100672408 = {
CreatedOnToolsVersion = 8.3.2;
ProvisioningStyle = Automatic;
};
F12AFB9A1ADAF8F800E0535D = { F12AFB9A1ADAF8F800E0535D = {
CreatedOnToolsVersion = 6.3; CreatedOnToolsVersion = 6.3;
}; };
@ -118,11 +161,23 @@
projectRoot = ""; projectRoot = "";
targets = ( targets = (
F12AFB9A1ADAF8F800E0535D /* RNFS */, F12AFB9A1ADAF8F800E0535D /* RNFS */,
6456441E1EB8DA9100672408 /* RNFS-tvOS */,
); );
}; };
/* End PBXProject section */ /* End PBXProject section */
/* Begin PBXSourcesBuildPhase section */ /* Begin PBXSourcesBuildPhase section */
6456441B1EB8DA9100672408 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
645644281EB8DAA100672408 /* NSArray+Map.m in Sources */,
645644291EB8DAA100672408 /* RNFSManager.m in Sources */,
6456442A1EB8DAA100672408 /* Downloader.m in Sources */,
6456442B1EB8DAA100672408 /* Uploader.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
F12AFB971ADAF8F800E0535D /* Sources */ = { F12AFB971ADAF8F800E0535D /* Sources */ = {
isa = PBXSourcesBuildPhase; isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
@ -137,6 +192,40 @@
/* End PBXSourcesBuildPhase section */ /* End PBXSourcesBuildPhase section */
/* Begin XCBuildConfiguration section */ /* Begin XCBuildConfiguration section */
645644251EB8DA9100672408 /* 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;
OTHER_LDFLAGS = "-ObjC";
PRODUCT_NAME = RNFS;
SDKROOT = appletvos;
SKIP_INSTALL = YES;
TVOS_DEPLOYMENT_TARGET = 10.2;
};
name = Debug;
};
645644261EB8DA9100672408 /* 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;
OTHER_LDFLAGS = "-ObjC";
PRODUCT_NAME = RNFS;
SDKROOT = appletvos;
SKIP_INSTALL = YES;
TVOS_DEPLOYMENT_TARGET = 10.2;
};
name = Release;
};
F12AFBAD1ADAF8F800E0535D /* Debug */ = { F12AFBAD1ADAF8F800E0535D /* Debug */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
@ -250,6 +339,14 @@
/* End XCBuildConfiguration section */ /* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */ /* Begin XCConfigurationList section */
645644271EB8DA9100672408 /* Build configuration list for PBXNativeTarget "RNFS-tvOS" */ = {
isa = XCConfigurationList;
buildConfigurations = (
645644251EB8DA9100672408 /* Debug */,
645644261EB8DA9100672408 /* Release */,
);
defaultConfigurationIsVisible = 0;
};
F12AFB961ADAF8F800E0535D /* Build configuration list for PBXProject "RNFS" */ = { F12AFB961ADAF8F800E0535D /* Build configuration list for PBXProject "RNFS" */ = {
isa = XCConfigurationList; isa = XCConfigurationList;
buildConfigurations = ( buildConfigurations = (