Skip to content

Commit c96061e

Browse files
committed
Add Cartfile and update project scheme to support Carthage
1 parent 3769b0a commit c96061e

File tree

9 files changed

+124
-3
lines changed

9 files changed

+124
-3
lines changed

Cartfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github "hoangtaiki/PlaceholderUITextView"

Cartfile.resolved

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github "hoangtaiki/PlaceholderUITextView" "1.1.0"

ChatViewController.xcodeproj/project.pbxproj

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@
4040
4DBFF70B20AE8B2200D2799A /* LayoutConstraintSet.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4DBFF70A20AE8B2200D2799A /* LayoutConstraintSet.swift */; };
4141
4DBFF70E20AEBDFE00D2799A /* ChatViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4DBFF70D20AEBDFE00D2799A /* ChatViewController.swift */; };
4242
4DBFF71720AED7E400D2799A /* ChatViewController+Subviews.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4DBFF71620AED7E400D2799A /* ChatViewController+Subviews.swift */; };
43+
4DFEB7C421B8217400A3E66D /* PlaceholderUITextView.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4DFEB7C221B81FA100A3E66D /* PlaceholderUITextView.framework */; };
44+
4DFEB7C821B906E600A3E66D /* ChatViewConfiguration.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4DFEB7C721B906E600A3E66D /* ChatViewConfiguration.swift */; };
4345
/* End PBXBuildFile section */
4446

4547
/* Begin PBXFileReference section */
@@ -78,13 +80,16 @@
7880
4DBFF70A20AE8B2200D2799A /* LayoutConstraintSet.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LayoutConstraintSet.swift; sourceTree = "<group>"; };
7981
4DBFF70D20AEBDFE00D2799A /* ChatViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ChatViewController.swift; sourceTree = "<group>"; };
8082
4DBFF71620AED7E400D2799A /* ChatViewController+Subviews.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "ChatViewController+Subviews.swift"; sourceTree = "<group>"; };
83+
4DFEB7C221B81FA100A3E66D /* PlaceholderUITextView.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = PlaceholderUITextView.framework; path = Carthage/Build/iOS/PlaceholderUITextView.framework; sourceTree = "<group>"; };
84+
4DFEB7C721B906E600A3E66D /* ChatViewConfiguration.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChatViewConfiguration.swift; sourceTree = "<group>"; };
8185
/* End PBXFileReference section */
8286

8387
/* Begin PBXFrameworksBuildPhase section */
8488
4D2E8E5A20ADC1FF00DC178E /* Frameworks */ = {
8589
isa = PBXFrameworksBuildPhase;
8690
buildActionMask = 2147483647;
8791
files = (
92+
4DFEB7C421B8217400A3E66D /* PlaceholderUITextView.framework in Frameworks */,
8893
);
8994
runOnlyForDeploymentPostprocessing = 0;
9095
};
@@ -98,6 +103,7 @@
98103
4D2E8E6F20ADCFF900DC178E /* Documentation */,
99104
4D2E8E5F20ADC1FF00DC178E /* Products */,
100105
4D2E8E6A20ADCFE800DC178E /* Source */,
106+
4DFEB7C121B81FA000A3E66D /* Frameworks */,
101107
);
102108
sourceTree = "<group>";
103109
};
@@ -202,6 +208,7 @@
202208
4DBFF70C20AEBD8300D2799A /* Core */ = {
203209
isa = PBXGroup;
204210
children = (
211+
4DFEB7C721B906E600A3E66D /* ChatViewConfiguration.swift */,
205212
4D47558820CE25F0005B9493 /* ChatBarView.swift */,
206213
4D47558620CE25F0005B9493 /* ChatButton.swift */,
207214
4D47558720CE25F0005B9493 /* ChatStackView.swift */,
@@ -212,6 +219,14 @@
212219
path = Core;
213220
sourceTree = "<group>";
214221
};
222+
4DFEB7C121B81FA000A3E66D /* Frameworks */ = {
223+
isa = PBXGroup;
224+
children = (
225+
4DFEB7C221B81FA100A3E66D /* PlaceholderUITextView.framework */,
226+
);
227+
name = Frameworks;
228+
sourceTree = "<group>";
229+
};
215230
/* End PBXGroup section */
216231

217232
/* Begin PBXHeadersBuildPhase section */
@@ -321,6 +336,7 @@
321336
4D4755AA20CE859C005B9493 /* PhotoDataManager.swift in Sources */,
322337
4DBFF70E20AEBDFE00D2799A /* ChatViewController.swift in Sources */,
323338
4D613927211D7A3E00ACB492 /* Utils.swift in Sources */,
339+
4DFEB7C821B906E600A3E66D /* ChatViewConfiguration.swift in Sources */,
324340
4D4755C320CF6316005B9493 /* NSMutableAttributedString+Extensions.swift in Sources */,
325341
4DBFF71720AED7E400D2799A /* ChatViewController+Subviews.swift in Sources */,
326342
);
@@ -460,6 +476,10 @@
460476
DYLIB_COMPATIBILITY_VERSION = 1;
461477
DYLIB_CURRENT_VERSION = 1;
462478
DYLIB_INSTALL_NAME_BASE = "@rpath";
479+
FRAMEWORK_SEARCH_PATHS = (
480+
"$(inherited)",
481+
"$(PROJECT_DIR)/Carthage/Build/iOS",
482+
);
463483
INFOPLIST_FILE = "$(SRCROOT)/Source/Info.plist";
464484
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
465485
LD_RUNPATH_SEARCH_PATHS = (
@@ -488,6 +508,10 @@
488508
DYLIB_COMPATIBILITY_VERSION = 1;
489509
DYLIB_CURRENT_VERSION = 1;
490510
DYLIB_INSTALL_NAME_BASE = "@rpath";
511+
FRAMEWORK_SEARCH_PATHS = (
512+
"$(inherited)",
513+
"$(PROJECT_DIR)/Carthage/Build/iOS",
514+
);
491515
INFOPLIST_FILE = "$(SRCROOT)/Source/Info.plist";
492516
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
493517
LD_RUNPATH_SEARCH_PATHS = (
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict/>
5+
</plist>
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "1010"
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 = "4D2E8E5D20ADC1FF00DC178E"
18+
BuildableName = "ChatViewController.framework"
19+
BlueprintName = "ChatViewController"
20+
ReferencedContainer = "container:ChatViewController.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 = "4D2E8E5D20ADC1FF00DC178E"
49+
BuildableName = "ChatViewController.framework"
50+
BlueprintName = "ChatViewController"
51+
ReferencedContainer = "container:ChatViewController.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 = "4D2E8E5D20ADC1FF00DC178E"
67+
BuildableName = "ChatViewController.framework"
68+
BlueprintName = "ChatViewController"
69+
ReferencedContainer = "container:ChatViewController.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>

ChatViewController.xcodeproj/xcuserdata/hoangtaiki.xcuserdatad/xcschemes/xcschememanagement.plist

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,13 @@
1515
<integer>0</integer>
1616
</dict>
1717
</dict>
18+
<key>SuppressBuildableAutocreation</key>
19+
<dict>
20+
<key>4D2E8E5D20ADC1FF00DC178E</key>
21+
<dict>
22+
<key>primary</key>
23+
<true/>
24+
</dict>
25+
</dict>
1826
</dict>
1927
</plist>

Example/Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PODS:
2-
- ChatViewController (0.0.1):
2+
- ChatViewController (1.0.0):
33
- PlaceholderUITextView
44
- Kingfisher (4.10.1)
55
- ObjectMapper (3.4.1)
@@ -24,7 +24,7 @@ EXTERNAL SOURCES:
2424
:path: ".."
2525

2626
SPEC CHECKSUMS:
27-
ChatViewController: eadb3260a69fbb21cf5019e33982aef5cd6076cc
27+
ChatViewController: ce15bb2de6f5dd5e19f5cc2ec2ed45e25a7a0aea
2828
Kingfisher: c148cd7b47ebde9989f6bc7c27dcaa79d81279a0
2929
ObjectMapper: 5311bd50ca732930959e7ca1a2de43ab823a5ced
3030
PlaceholderUITextView: c199eb40f4a55d8be4d67492d6ed1ef67b8d8811

Example/iOS Example.xcodeproj/xcuserdata/hoangtaiki.xcuserdatad/xcschemes/xcschememanagement.plist

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@
66
<dict>
77
<key>iOS Example.xcscheme</key>
88
<dict>
9+
<key>isShown</key>
10+
<true/>
911
<key>orderHint</key>
10-
<integer>4</integer>
12+
<integer>7</integer>
1113
</dict>
1214
</dict>
1315
<key>SuppressBuildableAutocreation</key>

0 commit comments

Comments
 (0)