Skip to content

Commit 6e3952c

Browse files
Merge pull request #30 from gilesvangruisen/carthage
Add shared scheme for Carthage support
2 parents 4a84bfe + ec53676 commit 6e3952c

File tree

2 files changed

+87
-0
lines changed

2 files changed

+87
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ github "gilesvangruisen/Swift-YouTube-Player"
1414

1515
…and then run `carthage update`
1616

17+
Don't forget to:
18+
* add `YouTubePlayer.framework` to the `Link binary with libraries` build phase
19+
* add `YouTubePlayer.framework` as an input file to the `carthage copy-frameworks` run script phase (only necesasry if you're building for iOS)
20+
21+
See [Carthage](http://github.com/carthage/carthage) for more information about using Carthage as a dependency manager.
22+
1723
### Cocoapods
1824

1925
Ensure you are opting into using frameworks with `use_frameworks!`. Then add the following to your Podfile:
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "0610"
4+
version = "1.7">
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 = "502AE85E1A475FD500306AD1"
18+
BuildableName = "YouTubePlayer.framework"
19+
BlueprintName = "YouTubePlayer"
20+
ReferencedContainer = "container:YouTubePlayer.xcodeproj">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
</BuildActionEntries>
24+
</BuildAction>
25+
<TestAction
26+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
27+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
28+
shouldUseLaunchSchemeArgsEnv = "YES"
29+
buildConfiguration = "Debug">
30+
<Testables>
31+
</Testables>
32+
</TestAction>
33+
<LaunchAction
34+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
35+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
36+
launchStyle = "0"
37+
useCustomWorkingDirectory = "NO"
38+
buildConfiguration = "Debug"
39+
ignoresPersistentStateOnLaunch = "NO"
40+
debugDocumentVersioning = "YES"
41+
allowLocationSimulation = "YES">
42+
<MacroExpansion>
43+
<BuildableReference
44+
BuildableIdentifier = "primary"
45+
BlueprintIdentifier = "502AE85E1A475FD500306AD1"
46+
BuildableName = "YouTubePlayer.framework"
47+
BlueprintName = "YouTubePlayer"
48+
ReferencedContainer = "container:YouTubePlayer.xcodeproj">
49+
</BuildableReference>
50+
</MacroExpansion>
51+
<AdditionalOptions>
52+
</AdditionalOptions>
53+
<LocationScenarioReference
54+
identifier = "com.apple.dt.IDEFoundation.CurrentLocationScenarioIdentifier"
55+
referenceType = "1">
56+
</LocationScenarioReference>
57+
</LaunchAction>
58+
<ProfileAction
59+
shouldUseLaunchSchemeArgsEnv = "YES"
60+
savedToolIdentifier = ""
61+
useCustomWorkingDirectory = "NO"
62+
buildConfiguration = "Release"
63+
debugDocumentVersioning = "YES">
64+
<MacroExpansion>
65+
<BuildableReference
66+
BuildableIdentifier = "primary"
67+
BlueprintIdentifier = "502AE85E1A475FD500306AD1"
68+
BuildableName = "YouTubePlayer.framework"
69+
BlueprintName = "YouTubePlayer"
70+
ReferencedContainer = "container:YouTubePlayer.xcodeproj">
71+
</BuildableReference>
72+
</MacroExpansion>
73+
</ProfileAction>
74+
<AnalyzeAction
75+
buildConfiguration = "Debug">
76+
</AnalyzeAction>
77+
<ArchiveAction
78+
buildConfiguration = "Release"
79+
revealArchiveInOrganizer = "YES">
80+
</ArchiveAction>
81+
</Scheme>

0 commit comments

Comments
 (0)