Skip to content

Commit f36430c

Browse files
authored
Get example project building again (#62)
* Setup Travis CI * use script * use script * Fix example project
1 parent 24225f2 commit f36430c

File tree

11 files changed

+264
-246
lines changed

11 files changed

+264
-246
lines changed

Examples/Examples.xcodeproj/project.pbxproj

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@
100100
29B98213201E738F0002DA39 /* Frameworks */,
101101
29B98214201E738F0002DA39 /* Resources */,
102102
8D226DA12211905BC93F2571 /* [CP] Embed Pods Frameworks */,
103-
EE524A12456D75F342514EA8 /* [CP] Copy Pods Resources */,
104103
);
105104
buildRules = (
106105
);
@@ -195,21 +194,6 @@
195194
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
196195
showEnvVarsInLog = 0;
197196
};
198-
EE524A12456D75F342514EA8 /* [CP] Copy Pods Resources */ = {
199-
isa = PBXShellScriptBuildPhase;
200-
buildActionMask = 2147483647;
201-
files = (
202-
);
203-
inputPaths = (
204-
);
205-
name = "[CP] Copy Pods Resources";
206-
outputPaths = (
207-
);
208-
runOnlyForDeploymentPostprocessing = 0;
209-
shellPath = /bin/sh;
210-
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Examples/Pods-Examples-resources.sh\"\n";
211-
showEnvVarsInLog = 0;
212-
};
213197
/* End PBXShellScriptBuildPhase section */
214198

215199
/* Begin PBXSourcesBuildPhase section */
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
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+
<key>IDEDidComputeMac32BitWarning</key>
6+
<true/>
7+
</dict>
8+
</plist>

Examples/Examples/ViewController.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class ViewController: MessageViewController, UITableViewDataSource, UITableViewD
1313

1414
var data = "Lorem ipsum dolor sit amet|consectetur adipiscing elit|sed do eiusmod|tempor incididunt|ut labore et dolore|magna aliqua| Ut enim ad minim|veniam, quis nostrud|exercitation ullamco|laboris nisi ut aliquip|ex ea commodo consequat|Duis aute|irure dolor in reprehenderit|in voluptate|velit esse cillum|dolore eu|fugiat nulla pariatur|Excepteur sint occaecat|cupidatat non proident|sunt in culpa|qui officia|deserunt|mollit anim id est laborum"
1515
.components(separatedBy: "|")
16-
let users = ["rnystrom", "BasThomas", "jessesquires", "Sherlouk"]
16+
let users = ["rnystrom", "BasThomas", "jessesquires", "Sherlouk", "omwomw"]
1717
var autocompleteUsers = [String]()
1818
let tableView = UITableView()
1919

@@ -25,7 +25,7 @@ class ViewController: MessageViewController, UITableViewDataSource, UITableViewD
2525

2626
borderColor = .lightGray
2727

28-
messageView.inset = UIEdgeInsets(top: 8, left: 8, bottom: 8, right: 16)
28+
messageView.textViewInset = UIEdgeInsets(top: 8, left: 8, bottom: 8, right: 16)
2929
messageView.font = UIFont.preferredFont(forTextStyle: .body)
3030

3131
messageView.setButton(title: "Add", for: .normal, position: .left)

Examples/Podfile.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
PODS:
2-
- MessageViewController (0.1.1)
2+
- MessageViewController (0.2.1)
33

44
DEPENDENCIES:
55
- MessageViewController (from `../MessageViewController.podspec`)
66

77
EXTERNAL SOURCES:
88
MessageViewController:
9-
:path: ../MessageViewController.podspec
9+
:path: "../MessageViewController.podspec"
1010

1111
SPEC CHECKSUMS:
12-
MessageViewController: 3aa9b7b422677de3a8bc026ef39b0c0f83ccc185
12+
MessageViewController: 2544e213f578a58b698860ae801e06a6d93e5430
1313

1414
PODFILE CHECKSUM: 74208e93c3daf191e681c80fcdf956f1603f9016
1515

16-
COCOAPODS: 1.4.0
16+
COCOAPODS: 1.5.2

Examples/Pods/Local Podspecs/MessageViewController.podspec.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Examples/Pods/Manifest.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Examples/Pods/Pods.xcodeproj/project.pbxproj

Lines changed: 216 additions & 210 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Examples/Pods/Target Support Files/MessageViewController/Info.plist

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Examples/Pods/Target Support Files/MessageViewController/MessageViewController.xcconfig

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Examples/Pods/Target Support Files/Pods-Examples/Pods-Examples-frameworks.sh

Lines changed: 11 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Examples/Pods/Target Support Files/Pods-Examples/Pods-Examples-resources.sh

Lines changed: 15 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)