Skip to content

Commit b50e28c

Browse files
Set up cocoapods to use MASShortcut
1 parent bacfeb5 commit b50e28c

File tree

5 files changed

+118
-0
lines changed

5 files changed

+118
-0
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,6 @@ xcuserdata/
2121
.DS_STORE
2222
ApiKeys.plist
2323

24+
## Pods
25+
26+
Pods*

Podfile

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Uncomment the next line to define a global platform for your project
2+
# platform :ios, '9.0'
3+
4+
target 'Quickeys' do
5+
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
6+
# use_frameworks!
7+
8+
# Pods for Quickeys
9+
pod 'MASShortcut'
10+
end

Podfile.lock

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
PODS:
2+
- MASShortcut (2.3.6)
3+
4+
DEPENDENCIES:
5+
- MASShortcut
6+
7+
SPEC CHECKSUMS:
8+
MASShortcut: 9c215e8a8a78f3d01ce56da48e2730ab66b538fa
9+
10+
PODFILE CHECKSUM: 84873acf0087185828bdd6c8df8f5a6ca86cab5c
11+
12+
COCOAPODS: 1.1.1

Quickeys.xcodeproj/project.pbxproj

+87
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10+
235CDA325ACB33B7570AFBDC /* libPods-Quickeys.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 8A106CBAB5B0497E2F9560D4 /* libPods-Quickeys.a */; };
1011
EB16DA751E03472900CB7883 /* LICENSE in Resources */ = {isa = PBXBuildFile; fileRef = EB16DA741E03472900CB7883 /* LICENSE */; };
1112
EB1AE14C1DFC586E00D3BE26 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = EB1AE1441DFC586E00D3BE26 /* AppDelegate.swift */; };
1213
EB1AE14F1DFC586E00D3BE26 /* EventMonitor.swift in Sources */ = {isa = PBXBuildFile; fileRef = EB1AE1471DFC586E00D3BE26 /* EventMonitor.swift */; };
@@ -23,11 +24,15 @@
2324
/* End PBXBuildFile section */
2425

2526
/* Begin PBXFileReference section */
27+
8A106CBAB5B0497E2F9560D4 /* libPods-Quickeys.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Quickeys.a"; sourceTree = BUILT_PRODUCTS_DIR; };
28+
90DE795853D365A48256C3DA /* Pods-Quickeys.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Quickeys.release.xcconfig"; path = "Pods/Target Support Files/Pods-Quickeys/Pods-Quickeys.release.xcconfig"; sourceTree = "<group>"; };
29+
9A1E950051398524EDACA9F2 /* Pods-Quickeys.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Quickeys.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Quickeys/Pods-Quickeys.debug.xcconfig"; sourceTree = "<group>"; };
2630
EB16DA741E03472900CB7883 /* LICENSE */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = LICENSE; sourceTree = "<group>"; };
2731
EB1AE1441DFC586E00D3BE26 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = AppDelegate.swift; path = Quickeys/AppDelegate.swift; sourceTree = SOURCE_ROOT; };
2832
EB1AE1471DFC586E00D3BE26 /* EventMonitor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = EventMonitor.swift; path = Quickeys/EventMonitor.swift; sourceTree = SOURCE_ROOT; };
2933
EB1AE15D1DFC59D100D3BE26 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Quickeys/Base.lproj/MainMenu.xib; sourceTree = SOURCE_ROOT; };
3034
EB2792691DFDC07D00B92AFE /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; };
35+
EB3A46F91E19D04300812099 /* Bridging-Header.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "Bridging-Header.h"; path = "Quickeys/Bridging-Header.h"; sourceTree = SOURCE_ROOT; };
3136
EB66DA651DF497B30009DEE2 /* Quickeys.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Quickeys.app; sourceTree = BUILT_PRODUCTS_DIR; };
3237
EBDFA9091E04ECF700C28385 /* PastebinAPI.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = PastebinAPI.swift; path = Quickeys/Pastebin/PastebinAPI.swift; sourceTree = SOURCE_ROOT; };
3338
EBDFA90A1E04ECF700C28385 /* Reachability.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = Reachability.swift; path = Quickeys/Pastebin/Reachability.swift; sourceTree = SOURCE_ROOT; };
@@ -45,12 +50,30 @@
4550
isa = PBXFrameworksBuildPhase;
4651
buildActionMask = 2147483647;
4752
files = (
53+
235CDA325ACB33B7570AFBDC /* libPods-Quickeys.a in Frameworks */,
4854
);
4955
runOnlyForDeploymentPostprocessing = 0;
5056
};
5157
/* End PBXFrameworksBuildPhase section */
5258

5359
/* Begin PBXGroup section */
60+
C671D5FF82BDD8E4CB6E151A /* Pods */ = {
61+
isa = PBXGroup;
62+
children = (
63+
9A1E950051398524EDACA9F2 /* Pods-Quickeys.debug.xcconfig */,
64+
90DE795853D365A48256C3DA /* Pods-Quickeys.release.xcconfig */,
65+
);
66+
name = Pods;
67+
sourceTree = "<group>";
68+
};
69+
D2F5F90D533E8C5376F1688B /* Frameworks */ = {
70+
isa = PBXGroup;
71+
children = (
72+
8A106CBAB5B0497E2F9560D4 /* libPods-Quickeys.a */,
73+
);
74+
name = Frameworks;
75+
sourceTree = "<group>";
76+
};
5477
EB16DA761E03474500CB7883 /* Notes Views and Controllers */ = {
5578
isa = PBXGroup;
5679
children = (
@@ -77,8 +100,10 @@
77100
children = (
78101
EB2792691DFDC07D00B92AFE /* README.md */,
79102
EB16DA741E03472900CB7883 /* LICENSE */,
103+
C671D5FF82BDD8E4CB6E151A /* Pods */,
80104
EB66DA671DF497B30009DEE2 /* Quickeys */,
81105
EB66DA661DF497B30009DEE2 /* Products */,
106+
D2F5F90D533E8C5376F1688B /* Frameworks */,
82107
);
83108
sourceTree = "<group>";
84109
};
@@ -96,6 +121,7 @@
96121
EB1AE15C1DFC59D100D3BE26 /* MainMenu.xib */,
97122
EB1AE1441DFC586E00D3BE26 /* AppDelegate.swift */,
98123
EB1AE1471DFC586E00D3BE26 /* EventMonitor.swift */,
124+
EB3A46F91E19D04300812099 /* Bridging-Header.h */,
99125
EBDFA8FA1E04DAF900C28385 /* Pastebin */,
100126
EB16DA761E03474500CB7883 /* Notes Views and Controllers */,
101127
EB16DA771E03488A00CB7883 /* Resources */,
@@ -120,9 +146,12 @@
120146
isa = PBXNativeTarget;
121147
buildConfigurationList = EB66DA881DF497B40009DEE2 /* Build configuration list for PBXNativeTarget "Quickeys" */;
122148
buildPhases = (
149+
9149B34862435BDED8901DBD /* [CP] Check Pods Manifest.lock */,
123150
EB66DA611DF497B30009DEE2 /* Sources */,
124151
EB66DA621DF497B30009DEE2 /* Frameworks */,
125152
EB66DA631DF497B30009DEE2 /* Resources */,
153+
8FFE98F3A8F0637FFBF90BEF /* [CP] Embed Pods Frameworks */,
154+
2EE5DA6D3F3E0B2A6C3A65E7 /* [CP] Copy Pods Resources */,
126155
);
127156
buildRules = (
128157
);
@@ -184,6 +213,54 @@
184213
};
185214
/* End PBXResourcesBuildPhase section */
186215

216+
/* Begin PBXShellScriptBuildPhase section */
217+
2EE5DA6D3F3E0B2A6C3A65E7 /* [CP] Copy Pods Resources */ = {
218+
isa = PBXShellScriptBuildPhase;
219+
buildActionMask = 2147483647;
220+
files = (
221+
);
222+
inputPaths = (
223+
);
224+
name = "[CP] Copy Pods Resources";
225+
outputPaths = (
226+
);
227+
runOnlyForDeploymentPostprocessing = 0;
228+
shellPath = /bin/sh;
229+
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Quickeys/Pods-Quickeys-resources.sh\"\n";
230+
showEnvVarsInLog = 0;
231+
};
232+
8FFE98F3A8F0637FFBF90BEF /* [CP] Embed Pods Frameworks */ = {
233+
isa = PBXShellScriptBuildPhase;
234+
buildActionMask = 2147483647;
235+
files = (
236+
);
237+
inputPaths = (
238+
);
239+
name = "[CP] Embed Pods Frameworks";
240+
outputPaths = (
241+
);
242+
runOnlyForDeploymentPostprocessing = 0;
243+
shellPath = /bin/sh;
244+
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Quickeys/Pods-Quickeys-frameworks.sh\"\n";
245+
showEnvVarsInLog = 0;
246+
};
247+
9149B34862435BDED8901DBD /* [CP] Check Pods Manifest.lock */ = {
248+
isa = PBXShellScriptBuildPhase;
249+
buildActionMask = 2147483647;
250+
files = (
251+
);
252+
inputPaths = (
253+
);
254+
name = "[CP] Check Pods Manifest.lock";
255+
outputPaths = (
256+
);
257+
runOnlyForDeploymentPostprocessing = 0;
258+
shellPath = /bin/sh;
259+
shellScript = "diff \"${PODS_ROOT}/../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";
260+
showEnvVarsInLog = 0;
261+
};
262+
/* End PBXShellScriptBuildPhase section */
263+
187264
/* Begin PBXSourcesBuildPhase section */
188265
EB66DA611DF497B30009DEE2 /* Sources */ = {
189266
isa = PBXSourcesBuildPhase;
@@ -259,7 +336,9 @@
259336
ONLY_ACTIVE_ARCH = YES;
260337
SDKROOT = macosx;
261338
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
339+
SWIFT_OBJC_BRIDGING_HEADER = "Quickeys/Bridging-Header.h";
262340
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
341+
USER_HEADER_SEARCH_PATHS = "Pods/**";
263342
};
264343
name = Debug;
265344
};
@@ -302,12 +381,15 @@
302381
MACOSX_DEPLOYMENT_TARGET = 10.12;
303382
MTL_ENABLE_DEBUG_INFO = NO;
304383
SDKROOT = macosx;
384+
SWIFT_OBJC_BRIDGING_HEADER = "Quickeys/Bridging-Header.h";
305385
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
386+
USER_HEADER_SEARCH_PATHS = "Pods/**";
306387
};
307388
name = Release;
308389
};
309390
EB66DA891DF497B40009DEE2 /* Debug */ = {
310391
isa = XCBuildConfiguration;
392+
baseConfigurationReference = 9A1E950051398524EDACA9F2 /* Pods-Quickeys.debug.xcconfig */;
311393
buildSettings = {
312394
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
313395
COMBINE_HIDPI_IMAGES = YES;
@@ -316,12 +398,15 @@
316398
MACOSX_DEPLOYMENT_TARGET = 10.11;
317399
PRODUCT_BUNDLE_IDENTIFIER = alexrosenfeld.Quickeys;
318400
PRODUCT_NAME = "$(TARGET_NAME)";
401+
SWIFT_OBJC_BRIDGING_HEADER = "Quickeys/Bridging-Header.h";
319402
SWIFT_VERSION = 3.0;
403+
USER_HEADER_SEARCH_PATHS = "Pods/**";
320404
};
321405
name = Debug;
322406
};
323407
EB66DA8A1DF497B40009DEE2 /* Release */ = {
324408
isa = XCBuildConfiguration;
409+
baseConfigurationReference = 90DE795853D365A48256C3DA /* Pods-Quickeys.release.xcconfig */;
325410
buildSettings = {
326411
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
327412
COMBINE_HIDPI_IMAGES = YES;
@@ -330,7 +415,9 @@
330415
MACOSX_DEPLOYMENT_TARGET = 10.11;
331416
PRODUCT_BUNDLE_IDENTIFIER = alexrosenfeld.Quickeys;
332417
PRODUCT_NAME = "$(TARGET_NAME)";
418+
SWIFT_OBJC_BRIDGING_HEADER = "Quickeys/Bridging-Header.h";
333419
SWIFT_VERSION = 3.0;
420+
USER_HEADER_SEARCH_PATHS = "Pods/**";
334421
};
335422
name = Release;
336423
};

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
# Quickeys
22
A mac menu bar app that provides note taking functionality though a quick dropdown menu.
33

4+
## Project Information
5+
If you are looking to run or contribute to this project, you will need an ApiKeys.plist file for the pastebin functionality to work. The file should be placed in the Resources directory, and should contain a single key-value pair "API_KEY", <your api key here>
6+
7+
## Pods
8+
This project relies on MASShortcut. Please install cocoapods and run 'pod install' to install the dependency.
9+
410
## License
511
This project is licensed under the BSD-3-Clause.
612
The full license can be viewed [here](LICENSE).

0 commit comments

Comments
 (0)