Skip to content

Commit 6805972

Browse files
iamyellowDylanVann
authored andcommitted
feat: Add tvOS target. (DylanVann#486)
1 parent 837c90b commit 6805972

File tree

3 files changed

+192
-1
lines changed

3 files changed

+192
-1
lines changed

ios/FastImage.xcodeproj/project.pbxproj

+111
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@
1212
FCFB25401EA5562700F59778 /* FFFastImageView.m in Sources */ = {isa = PBXBuildFile; fileRef = FCFB253A1EA5562700F59778 /* FFFastImageView.m */; };
1313
FCFB25411EA5562700F59778 /* FFFastImageViewManager.m in Sources */ = {isa = PBXBuildFile; fileRef = FCFB253C1EA5562700F59778 /* FFFastImageViewManager.m */; };
1414
FCFB25421EA5562700F59778 /* RCTConvert+FFFastImage.m in Sources */ = {isa = PBXBuildFile; fileRef = FCFB253E1EA5562700F59778 /* RCTConvert+FFFastImage.m */; };
15+
FD751C43229EB44C002BE1F4 /* FFFastImageViewManager.m in Sources */ = {isa = PBXBuildFile; fileRef = FCFB253C1EA5562700F59778 /* FFFastImageViewManager.m */; };
16+
FD751C44229EB44C002BE1F4 /* RCTConvert+FFFastImage.m in Sources */ = {isa = PBXBuildFile; fileRef = FCFB253E1EA5562700F59778 /* RCTConvert+FFFastImage.m */; };
17+
FD751C45229EB44C002BE1F4 /* FFFastImageView.m in Sources */ = {isa = PBXBuildFile; fileRef = FCFB253A1EA5562700F59778 /* FFFastImageView.m */; };
18+
FD751C46229EB44C002BE1F4 /* FFFastImageSource.m in Sources */ = {isa = PBXBuildFile; fileRef = FCFB25381EA5562700F59778 /* FFFastImageSource.m */; };
19+
FD751C48229EB44C002BE1F4 /* libSDWebImage.a in Frameworks */ = {isa = PBXBuildFile; fileRef = FCC6D0D01EB38D2F0065F944 /* libSDWebImage.a */; };
1520
/* End PBXBuildFile section */
1621

1722
/* Begin PBXContainerItemProxy section */
@@ -43,6 +48,13 @@
4348
remoteGlobalIDString = 53761307155AD0D5005750A4;
4449
remoteInfo = "SDWebImage iOS static";
4550
};
51+
FD751C41229EB44C002BE1F4 /* PBXContainerItemProxy */ = {
52+
isa = PBXContainerItemProxy;
53+
containerPortal = FCC6D0C61EB38D2F0065F944 /* SDWebImage.xcodeproj */;
54+
proxyType = 1;
55+
remoteGlobalIDString = 53761307155AD0D5005750A4;
56+
remoteInfo = "SDWebImage iOS static";
57+
};
4658
/* End PBXContainerItemProxy section */
4759

4860
/* Begin PBXCopyFilesBuildPhase section */
@@ -55,6 +67,15 @@
5567
);
5668
runOnlyForDeploymentPostprocessing = 0;
5769
};
70+
FD751C49229EB44C002BE1F4 /* CopyFiles */ = {
71+
isa = PBXCopyFilesBuildPhase;
72+
buildActionMask = 2147483647;
73+
dstPath = "include/$(PRODUCT_NAME)";
74+
dstSubfolderSpec = 16;
75+
files = (
76+
);
77+
runOnlyForDeploymentPostprocessing = 0;
78+
};
5879
/* End PBXCopyFilesBuildPhase section */
5980

6081
/* Begin PBXFileReference section */
@@ -68,6 +89,7 @@
6889
FCFB253C1EA5562700F59778 /* FFFastImageViewManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FFFastImageViewManager.m; sourceTree = "<group>"; };
6990
FCFB253D1EA5562700F59778 /* RCTConvert+FFFastImage.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "RCTConvert+FFFastImage.h"; sourceTree = "<group>"; };
7091
FCFB253E1EA5562700F59778 /* RCTConvert+FFFastImage.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "RCTConvert+FFFastImage.m"; sourceTree = "<group>"; };
92+
FD751C4D229EB44C002BE1F4 /* libFastImage-tvOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libFastImage-tvOS.a"; sourceTree = BUILT_PRODUCTS_DIR; };
7193
/* End PBXFileReference section */
7294

7395
/* Begin PBXFrameworksBuildPhase section */
@@ -79,6 +101,14 @@
79101
);
80102
runOnlyForDeploymentPostprocessing = 0;
81103
};
104+
FD751C47229EB44C002BE1F4 /* Frameworks */ = {
105+
isa = PBXFrameworksBuildPhase;
106+
buildActionMask = 2147483647;
107+
files = (
108+
FD751C48229EB44C002BE1F4 /* libSDWebImage.a in Frameworks */,
109+
);
110+
runOnlyForDeploymentPostprocessing = 0;
111+
};
82112
/* End PBXFrameworksBuildPhase section */
83113

84114
/* Begin PBXGroup section */
@@ -95,6 +125,7 @@
95125
isa = PBXGroup;
96126
children = (
97127
A287971D1DE0C0A60081BDFA /* libFastImage.a */,
128+
FD751C4D229EB44C002BE1F4 /* libFastImage-tvOS.a */,
98129
);
99130
name = Products;
100131
sourceTree = "<group>";
@@ -153,6 +184,24 @@
153184
productReference = A287971D1DE0C0A60081BDFA /* libFastImage.a */;
154185
productType = "com.apple.product-type.library.static";
155186
};
187+
FD751C3F229EB44C002BE1F4 /* FastImage-tvOS */ = {
188+
isa = PBXNativeTarget;
189+
buildConfigurationList = FD751C4A229EB44C002BE1F4 /* Build configuration list for PBXNativeTarget "FastImage-tvOS" */;
190+
buildPhases = (
191+
FD751C42229EB44C002BE1F4 /* Sources */,
192+
FD751C47229EB44C002BE1F4 /* Frameworks */,
193+
FD751C49229EB44C002BE1F4 /* CopyFiles */,
194+
);
195+
buildRules = (
196+
);
197+
dependencies = (
198+
FD751C40229EB44C002BE1F4 /* PBXTargetDependency */,
199+
);
200+
name = "FastImage-tvOS";
201+
productName = FastImage;
202+
productReference = FD751C4D229EB44C002BE1F4 /* libFastImage-tvOS.a */;
203+
productType = "com.apple.product-type.library.static";
204+
};
156205
/* End PBXNativeTarget section */
157206

158207
/* Begin PBXProject section */
@@ -188,6 +237,7 @@
188237
projectRoot = "";
189238
targets = (
190239
A287971C1DE0C0A60081BDFA /* FastImage */,
240+
FD751C3F229EB44C002BE1F4 /* FastImage-tvOS */,
191241
);
192242
};
193243
/* End PBXProject section */
@@ -228,6 +278,17 @@
228278
);
229279
runOnlyForDeploymentPostprocessing = 0;
230280
};
281+
FD751C42229EB44C002BE1F4 /* Sources */ = {
282+
isa = PBXSourcesBuildPhase;
283+
buildActionMask = 2147483647;
284+
files = (
285+
FD751C43229EB44C002BE1F4 /* FFFastImageViewManager.m in Sources */,
286+
FD751C44229EB44C002BE1F4 /* RCTConvert+FFFastImage.m in Sources */,
287+
FD751C45229EB44C002BE1F4 /* FFFastImageView.m in Sources */,
288+
FD751C46229EB44C002BE1F4 /* FFFastImageSource.m in Sources */,
289+
);
290+
runOnlyForDeploymentPostprocessing = 0;
291+
};
231292
/* End PBXSourcesBuildPhase section */
232293

233294
/* Begin PBXTargetDependency section */
@@ -236,6 +297,11 @@
236297
name = "SDWebImage iOS static";
237298
targetProxy = FCC6D1281EB3908E0065F944 /* PBXContainerItemProxy */;
238299
};
300+
FD751C40229EB44C002BE1F4 /* PBXTargetDependency */ = {
301+
isa = PBXTargetDependency;
302+
name = "SDWebImage iOS static";
303+
targetProxy = FD751C41229EB44C002BE1F4 /* PBXContainerItemProxy */;
304+
};
239305
/* End PBXTargetDependency section */
240306

241307
/* Begin XCBuildConfiguration section */
@@ -355,6 +421,42 @@
355421
};
356422
name = Release;
357423
};
424+
FD751C4B229EB44C002BE1F4 /* Debug */ = {
425+
isa = XCBuildConfiguration;
426+
buildSettings = {
427+
ALWAYS_SEARCH_USER_PATHS = NO;
428+
HEADER_SEARCH_PATHS = (
429+
"$(SRCROOT)/../../react-native/React/**",
430+
"$(SRCROOT)/../../react-native/Libraries/Image",
431+
"$(SRCROOT)/../../../ios/Pods/Headers/Public/**",
432+
"$(SRCROOT)/Vendor/SDWebImage",
433+
);
434+
OTHER_LDFLAGS = "-ObjC";
435+
PRODUCT_NAME = "$(TARGET_NAME)";
436+
SDKROOT = appletvos;
437+
SKIP_INSTALL = YES;
438+
SUPPORTED_PLATFORMS = "appletvsimulator appletvos";
439+
};
440+
name = Debug;
441+
};
442+
FD751C4C229EB44C002BE1F4 /* Release */ = {
443+
isa = XCBuildConfiguration;
444+
buildSettings = {
445+
ALWAYS_SEARCH_USER_PATHS = NO;
446+
HEADER_SEARCH_PATHS = (
447+
"$(SRCROOT)/../../react-native/React/**",
448+
"$(SRCROOT)/../../react-native/Libraries/Image",
449+
"$(SRCROOT)/../../../ios/Pods/Headers/Public/**",
450+
"$(SRCROOT)/Vendor/SDWebImage",
451+
);
452+
OTHER_LDFLAGS = "-ObjC";
453+
PRODUCT_NAME = "$(TARGET_NAME)";
454+
SDKROOT = appletvos;
455+
SKIP_INSTALL = YES;
456+
SUPPORTED_PLATFORMS = "appletvsimulator appletvos";
457+
};
458+
name = Release;
459+
};
358460
/* End XCBuildConfiguration section */
359461

360462
/* Begin XCConfigurationList section */
@@ -376,6 +478,15 @@
376478
defaultConfigurationIsVisible = 0;
377479
defaultConfigurationName = Release;
378480
};
481+
FD751C4A229EB44C002BE1F4 /* Build configuration list for PBXNativeTarget "FastImage-tvOS" */ = {
482+
isa = XCConfigurationList;
483+
buildConfigurations = (
484+
FD751C4B229EB44C002BE1F4 /* Debug */,
485+
FD751C4C229EB44C002BE1F4 /* Release */,
486+
);
487+
defaultConfigurationIsVisible = 0;
488+
defaultConfigurationName = Release;
489+
};
379490
/* End XCConfigurationList section */
380491
};
381492
rootObject = A28797151DE0C0A60081BDFA /* Project object */;
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "1020"
4+
version = "1.3">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES">
8+
<BuildActionEntries>
9+
<BuildActionEntry
10+
buildForTesting = "YES"
11+
buildForRunning = "YES"
12+
buildForProfiling = "YES"
13+
buildForArchiving = "YES"
14+
buildForAnalyzing = "YES">
15+
<BuildableReference
16+
BuildableIdentifier = "primary"
17+
BlueprintIdentifier = "FD751C3F229EB44C002BE1F4"
18+
BuildableName = "libFastImage-tvOS.a"
19+
BlueprintName = "FastImage-tvOS"
20+
ReferencedContainer = "container:FastImage.xcodeproj">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
</BuildActionEntries>
24+
</BuildAction>
25+
<TestAction
26+
buildConfiguration = "Debug"
27+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
shouldUseLaunchSchemeArgsEnv = "YES">
30+
<Testables>
31+
</Testables>
32+
<AdditionalOptions>
33+
</AdditionalOptions>
34+
</TestAction>
35+
<LaunchAction
36+
buildConfiguration = "Debug"
37+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
38+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
39+
launchStyle = "0"
40+
useCustomWorkingDirectory = "NO"
41+
ignoresPersistentStateOnLaunch = "NO"
42+
debugDocumentVersioning = "YES"
43+
debugServiceExtension = "internal"
44+
allowLocationSimulation = "YES">
45+
<MacroExpansion>
46+
<BuildableReference
47+
BuildableIdentifier = "primary"
48+
BlueprintIdentifier = "FD751C3F229EB44C002BE1F4"
49+
BuildableName = "libFastImage-tvOS.a"
50+
BlueprintName = "FastImage-tvOS"
51+
ReferencedContainer = "container:FastImage.xcodeproj">
52+
</BuildableReference>
53+
</MacroExpansion>
54+
<AdditionalOptions>
55+
</AdditionalOptions>
56+
</LaunchAction>
57+
<ProfileAction
58+
buildConfiguration = "Release"
59+
shouldUseLaunchSchemeArgsEnv = "YES"
60+
savedToolIdentifier = ""
61+
useCustomWorkingDirectory = "NO"
62+
debugDocumentVersioning = "YES">
63+
<MacroExpansion>
64+
<BuildableReference
65+
BuildableIdentifier = "primary"
66+
BlueprintIdentifier = "FD751C3F229EB44C002BE1F4"
67+
BuildableName = "libFastImage-tvOS.a"
68+
BlueprintName = "FastImage-tvOS"
69+
ReferencedContainer = "container:FastImage.xcodeproj">
70+
</BuildableReference>
71+
</MacroExpansion>
72+
</ProfileAction>
73+
<AnalyzeAction
74+
buildConfiguration = "Debug">
75+
</AnalyzeAction>
76+
<ArchiveAction
77+
buildConfiguration = "Release"
78+
revealArchiveInOrganizer = "YES">
79+
</ArchiveAction>
80+
</Scheme>

ios/Vendor/SDWebImage

0 commit comments

Comments
 (0)