Skip to content

Commit eb89caa

Browse files
committed
Merge pull request #1 from hyperoslo/feature/cocoapods
Setup CocoaPods
2 parents 64c4d6e + a1a91fc commit eb89caa

File tree

4 files changed

+110
-4
lines changed

4 files changed

+110
-4
lines changed

Example/Base Demo/Components.xcodeproj/project.pbxproj

+64-4
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10+
A802709A14B2B09B40B27C24 /* Pods.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 28622753AFF41826673AFB29 /* Pods.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
1011
BD6973671BBFE4FB001DC32F /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = BD6973661BBFE4FB001DC32F /* AppDelegate.swift */; };
1112
BD69736E1BBFE4FB001DC32F /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = BD69736D1BBFE4FB001DC32F /* Assets.xcassets */; };
1213
BD6973711BBFE4FB001DC32F /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = BD69736F1BBFE4FB001DC32F /* LaunchScreen.storyboard */; };
13-
BD6F81A31BC02DFE006ADA1D /* .gitkeep in Resources */ = {isa = PBXBuildFile; fileRef = BD6F819E1BC02DFE006ADA1D /* .gitkeep */; settings = {ASSET_TAGS = (); }; };
1414
BD6F81A41BC02DFE006ADA1D /* ComponentController.swift in Sources */ = {isa = PBXBuildFile; fileRef = BD6F819F1BC02DFE006ADA1D /* ComponentController.swift */; settings = {ASSET_TAGS = (); }; };
1515
BD6F81A51BC02DFE006ADA1D /* components.json in Resources */ = {isa = PBXBuildFile; fileRef = BD6F81A01BC02DFE006ADA1D /* components.json */; settings = {ASSET_TAGS = (); }; };
1616
BD6F81A61BC02DFE006ADA1D /* ListComponent.swift in Sources */ = {isa = PBXBuildFile; fileRef = BD6F81A11BC02DFE006ADA1D /* ListComponent.swift */; settings = {ASSET_TAGS = (); }; };
@@ -27,13 +27,23 @@
2727
BD6973701BBFE4FB001DC32F /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
2828
BD6973721BBFE4FB001DC32F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
2929
BD6973781BBFE56D001DC32F /* components.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = components.json; sourceTree = "<group>"; };
30-
BD6F819E1BC02DFE006ADA1D /* .gitkeep */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = .gitkeep; sourceTree = "<group>"; };
3130
BD6F819F1BC02DFE006ADA1D /* ComponentController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ComponentController.swift; sourceTree = "<group>"; };
3231
BD6F81A01BC02DFE006ADA1D /* components.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = components.json; sourceTree = "<group>"; };
3332
BD6F81A11BC02DFE006ADA1D /* ListComponent.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ListComponent.swift; sourceTree = "<group>"; };
3433
BD6F81A21BC02DFE006ADA1D /* Parser.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Parser.swift; sourceTree = "<group>"; };
3534
/* End PBXFileReference section */
3635

36+
/* Begin PBXFrameworksBuildPhase section */
37+
E0AF9B8B55A2D13A348A0B23 /* Frameworks */ = {
38+
isa = PBXFrameworksBuildPhase;
39+
buildActionMask = 2147483647;
40+
files = (
41+
A802709A14B2B09B40B27C24 /* Pods.framework in Frameworks */,
42+
);
43+
runOnlyForDeploymentPostprocessing = 0;
44+
};
45+
/* End PBXFrameworksBuildPhase section */
46+
3747
/* Begin PBXGroup section */
3848
BD69735A1BBFE4FB001DC32F = {
3949
isa = PBXGroup;
@@ -69,7 +79,6 @@
6979
BD6F819D1BC02DFE006ADA1D /* Source */ = {
7080
isa = PBXGroup;
7181
children = (
72-
BD6F819E1BC02DFE006ADA1D /* .gitkeep */,
7382
BD6F819F1BC02DFE006ADA1D /* ComponentController.swift */,
7483
BD6F81A01BC02DFE006ADA1D /* components.json */,
7584
BD6F81A11BC02DFE006ADA1D /* ListComponent.swift */,
@@ -103,8 +112,12 @@
103112
isa = PBXNativeTarget;
104113
buildConfigurationList = BD6973751BBFE4FB001DC32F /* Build configuration list for PBXNativeTarget "Components" */;
105114
buildPhases = (
115+
3A1DBEB5A38CEFA65588E4F9 /* Check Pods Manifest.lock */,
106116
BD69735F1BBFE4FB001DC32F /* Sources */,
107117
BD6973611BBFE4FB001DC32F /* Resources */,
118+
E0AF9B8B55A2D13A348A0B23 /* Frameworks */,
119+
20C7BFE4D4EDD01FD2F3C432 /* Embed Pods Frameworks */,
120+
D5F866A6FE97C76B984066C5 /* Copy Pods Resources */,
108121
);
109122
buildRules = (
110123
);
@@ -155,12 +168,59 @@
155168
BD6F81A51BC02DFE006ADA1D /* components.json in Resources */,
156169
BD6973711BBFE4FB001DC32F /* LaunchScreen.storyboard in Resources */,
157170
BD69736E1BBFE4FB001DC32F /* Assets.xcassets in Resources */,
158-
BD6F81A31BC02DFE006ADA1D /* .gitkeep in Resources */,
159171
);
160172
runOnlyForDeploymentPostprocessing = 0;
161173
};
162174
/* End PBXResourcesBuildPhase section */
163175

176+
/* Begin PBXShellScriptBuildPhase section */
177+
20C7BFE4D4EDD01FD2F3C432 /* Embed Pods Frameworks */ = {
178+
isa = PBXShellScriptBuildPhase;
179+
buildActionMask = 2147483647;
180+
files = (
181+
);
182+
inputPaths = (
183+
);
184+
name = "Embed Pods Frameworks";
185+
outputPaths = (
186+
);
187+
runOnlyForDeploymentPostprocessing = 0;
188+
shellPath = /bin/sh;
189+
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods/Pods-frameworks.sh\"\n";
190+
showEnvVarsInLog = 0;
191+
};
192+
3A1DBEB5A38CEFA65588E4F9 /* Check Pods Manifest.lock */ = {
193+
isa = PBXShellScriptBuildPhase;
194+
buildActionMask = 2147483647;
195+
files = (
196+
);
197+
inputPaths = (
198+
);
199+
name = "Check Pods Manifest.lock";
200+
outputPaths = (
201+
);
202+
runOnlyForDeploymentPostprocessing = 0;
203+
shellPath = /bin/sh;
204+
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n";
205+
showEnvVarsInLog = 0;
206+
};
207+
D5F866A6FE97C76B984066C5 /* Copy Pods Resources */ = {
208+
isa = PBXShellScriptBuildPhase;
209+
buildActionMask = 2147483647;
210+
files = (
211+
);
212+
inputPaths = (
213+
);
214+
name = "Copy Pods Resources";
215+
outputPaths = (
216+
);
217+
runOnlyForDeploymentPostprocessing = 0;
218+
shellPath = /bin/sh;
219+
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods/Pods-resources.sh\"\n";
220+
showEnvVarsInLog = 0;
221+
};
222+
/* End PBXShellScriptBuildPhase section */
223+
164224
/* Begin PBXSourcesBuildPhase section */
165225
BD69735F1BBFE4FB001DC32F /* Sources */ = {
166226
isa = PBXSourcesBuildPhase;

Example/Base Demo/Components.xcworkspace/contents.xcworkspacedata

+10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Base Demo/Podfile

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
source 'https://github.com/CocoaPods/Specs.git'
2+
3+
platform :ios, '8.0'
4+
5+
use_frameworks!
6+
inhibit_all_warnings!
7+
8+
pod 'Sugar', git: 'https://github.com/hyperoslo/Sugar'
9+
pod 'Tailor', git: 'https://github.com/zenangst/Tailor'

Example/Base Demo/Podfile.lock

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
PODS:
2+
- Sugar (0.1.0)
3+
- Tailor (0.2.0)
4+
5+
DEPENDENCIES:
6+
- Sugar (from `https://github.com/hyperoslo/Sugar`)
7+
- Tailor (from `https://github.com/zenangst/Tailor`)
8+
9+
EXTERNAL SOURCES:
10+
Sugar:
11+
:git: https://github.com/hyperoslo/Sugar
12+
Tailor:
13+
:git: https://github.com/zenangst/Tailor
14+
15+
CHECKOUT OPTIONS:
16+
Sugar:
17+
:commit: 964d31e847af1498a019e3d8a0cd94885e4c2d4d
18+
:git: https://github.com/hyperoslo/Sugar
19+
Tailor:
20+
:commit: 6caa8930227fe3c1e62030989bba2df9870dfff5
21+
:git: https://github.com/zenangst/Tailor
22+
23+
SPEC CHECKSUMS:
24+
Sugar: d33f2a3ae10e40c14eb49a2e859f12e82e614817
25+
Tailor: 214469e948557ac67a0d3d93674aeaa686f74e4f
26+
27+
COCOAPODS: 0.39.0.beta.4

0 commit comments

Comments
 (0)