Skip to content

Commit e2c3b0d

Browse files
Merge pull request #1 from aaronbrethorst/cocoapods
Add Cocoapods Support
2 parents abcd698 + 524a7da commit e2c3b0d

25 files changed

Lines changed: 996 additions & 26 deletions
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
#
2+
# Be sure to run `pod lib lint ABReleaseNotesViewController.podspec' to ensure this is a
3+
# valid spec before submitting.
4+
#
5+
# Any lines starting with a # are optional, but their use is encouraged
6+
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
7+
#
8+
9+
Pod::Spec.new do |s|
10+
s.name = "ABReleaseNotesViewController"
11+
s.version = "0.1.0"
12+
s.summary = "The easiest way to display your App Store release notes inside your app after an update."
13+
s.description = <<-DESC
14+
Since iOS 7, users have been opted in to automatic updates of their apps from the App Store. This is great for ensuring that our users are always on the latest versions of our products, but it means that it can be much more difficult to tell them about what's new and different in our updates. ABReleaseNotesViewController fixes that by displaying your app's release notes from the App Store inside your app on the first launch after an update.
15+
DESC
16+
17+
s.homepage = "https://github.com/aaronbrethorst/ABReleaseNotesViewController"
18+
s.screenshots = "https://s3.amazonaws.com/cocoacontrols_production/uploads/control_image/image/8575/rel.jpg"
19+
s.license = 'MIT'
20+
s.author = { "Aaron Brethorst" => "aaron@brethorsting.com" }
21+
s.source = { :git => "https://github.com/aaronbrethorst/ABReleaseNotesViewController.git", :tag => s.version.to_s }
22+
s.social_media_url = 'https://twitter.com/aaronbrethorst'
23+
24+
s.platform = :ios, '9.0'
25+
s.requires_arc = true
26+
27+
s.source_files = 'ABReleaseNotesViewController/**/*'
28+
s.public_header_files = 'ABReleaseNotesViewController/**/*.h'
29+
s.frameworks = 'UIKit'
30+
end

ABReleaseNotesViewController.xcodeproj/project.pbxproj

Lines changed: 78 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
9399E3C31C87B6EF00962292 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 9399E3C21C87B6EF00962292 /* ViewController.m */; };
1313
9399E3C81C87B6EF00962292 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 9399E3C71C87B6EF00962292 /* Assets.xcassets */; };
1414
9399E3CB1C87B6EF00962292 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 9399E3C91C87B6EF00962292 /* LaunchScreen.storyboard */; };
15-
9399E3D91C87B86100962292 /* ABReleaseNotesDownloader.m in Sources */ = {isa = PBXBuildFile; fileRef = 9399E3D41C87B86100962292 /* ABReleaseNotesDownloader.m */; };
16-
9399E3DA1C87B86100962292 /* ABReleaseNotesPresentationController.m in Sources */ = {isa = PBXBuildFile; fileRef = 9399E3D61C87B86100962292 /* ABReleaseNotesPresentationController.m */; };
17-
9399E3DB1C87B86100962292 /* ABReleaseNotesViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 9399E3D81C87B86100962292 /* ABReleaseNotesViewController.m */; };
15+
EA52CBC5C708E7C690BFB19B /* libPods.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BD17B0AC57B42F6C0E9A5B0F /* libPods.a */; };
1816
/* End PBXBuildFile section */
1917

2018
/* Begin PBXFileReference section */
19+
5A73D9EE97975B20849FF3CD /* Pods.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.debug.xcconfig; path = "Pods/Target Support Files/Pods/Pods.debug.xcconfig"; sourceTree = "<group>"; };
20+
7FC87D78699CE5521328738D /* Pods.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.release.xcconfig; path = "Pods/Target Support Files/Pods/Pods.release.xcconfig"; sourceTree = "<group>"; };
2121
9399E3B81C87B6EF00962292 /* ABReleaseNotesViewController.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ABReleaseNotesViewController.app; sourceTree = BUILT_PRODUCTS_DIR; };
2222
9399E3BC1C87B6EF00962292 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
2323
9399E3BE1C87B6EF00962292 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
@@ -27,31 +27,45 @@
2727
9399E3C71C87B6EF00962292 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
2828
9399E3CA1C87B6EF00962292 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
2929
9399E3CC1C87B6EF00962292 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
30-
9399E3D31C87B86100962292 /* ABReleaseNotesDownloader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ABReleaseNotesDownloader.h; sourceTree = "<group>"; };
31-
9399E3D41C87B86100962292 /* ABReleaseNotesDownloader.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ABReleaseNotesDownloader.m; sourceTree = "<group>"; };
32-
9399E3D51C87B86100962292 /* ABReleaseNotesPresentationController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ABReleaseNotesPresentationController.h; sourceTree = "<group>"; };
33-
9399E3D61C87B86100962292 /* ABReleaseNotesPresentationController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ABReleaseNotesPresentationController.m; sourceTree = "<group>"; };
34-
9399E3D71C87B86100962292 /* ABReleaseNotesViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ABReleaseNotesViewController.h; sourceTree = "<group>"; };
35-
9399E3D81C87B86100962292 /* ABReleaseNotesViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ABReleaseNotesViewController.m; sourceTree = "<group>"; };
30+
BD17B0AC57B42F6C0E9A5B0F /* libPods.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libPods.a; sourceTree = BUILT_PRODUCTS_DIR; };
3631
/* End PBXFileReference section */
3732

3833
/* Begin PBXFrameworksBuildPhase section */
3934
9399E3B51C87B6EF00962292 /* Frameworks */ = {
4035
isa = PBXFrameworksBuildPhase;
4136
buildActionMask = 2147483647;
4237
files = (
38+
EA52CBC5C708E7C690BFB19B /* libPods.a in Frameworks */,
4339
);
4440
runOnlyForDeploymentPostprocessing = 0;
4541
};
4642
/* End PBXFrameworksBuildPhase section */
4743

4844
/* Begin PBXGroup section */
45+
076035C00259DB8E38E2A365 /* Frameworks */ = {
46+
isa = PBXGroup;
47+
children = (
48+
BD17B0AC57B42F6C0E9A5B0F /* libPods.a */,
49+
);
50+
name = Frameworks;
51+
sourceTree = "<group>";
52+
};
53+
6495028A03B63AF555D28AA8 /* Pods */ = {
54+
isa = PBXGroup;
55+
children = (
56+
5A73D9EE97975B20849FF3CD /* Pods.debug.xcconfig */,
57+
7FC87D78699CE5521328738D /* Pods.release.xcconfig */,
58+
);
59+
name = Pods;
60+
sourceTree = "<group>";
61+
};
4962
9399E3AF1C87B6EF00962292 = {
5063
isa = PBXGroup;
5164
children = (
52-
9399E3D21C87B86100962292 /* ABReleaseNotesViewController */,
5365
9399E3BA1C87B6EF00962292 /* Demo */,
5466
9399E3B91C87B6EF00962292 /* Products */,
67+
6495028A03B63AF555D28AA8 /* Pods */,
68+
076035C00259DB8E38E2A365 /* Frameworks */,
5569
);
5670
sourceTree = "<group>";
5771
};
@@ -86,29 +100,19 @@
86100
name = "Supporting Files";
87101
sourceTree = "<group>";
88102
};
89-
9399E3D21C87B86100962292 /* ABReleaseNotesViewController */ = {
90-
isa = PBXGroup;
91-
children = (
92-
9399E3D31C87B86100962292 /* ABReleaseNotesDownloader.h */,
93-
9399E3D41C87B86100962292 /* ABReleaseNotesDownloader.m */,
94-
9399E3D51C87B86100962292 /* ABReleaseNotesPresentationController.h */,
95-
9399E3D61C87B86100962292 /* ABReleaseNotesPresentationController.m */,
96-
9399E3D71C87B86100962292 /* ABReleaseNotesViewController.h */,
97-
9399E3D81C87B86100962292 /* ABReleaseNotesViewController.m */,
98-
);
99-
path = ABReleaseNotesViewController;
100-
sourceTree = "<group>";
101-
};
102103
/* End PBXGroup section */
103104

104105
/* Begin PBXNativeTarget section */
105106
9399E3B71C87B6EF00962292 /* ABReleaseNotesViewController */ = {
106107
isa = PBXNativeTarget;
107108
buildConfigurationList = 9399E3CF1C87B6EF00962292 /* Build configuration list for PBXNativeTarget "ABReleaseNotesViewController" */;
108109
buildPhases = (
110+
B4B7EE7B263C68B8B6C37266 /* Check Pods Manifest.lock */,
109111
9399E3B41C87B6EF00962292 /* Sources */,
110112
9399E3B51C87B6EF00962292 /* Frameworks */,
111113
9399E3B61C87B6EF00962292 /* Resources */,
114+
720083790E7372A82AD1D7BE /* Embed Pods Frameworks */,
115+
5E4F20044B5A2EFEFFB180FA /* Copy Pods Resources */,
112116
);
113117
buildRules = (
114118
);
@@ -163,16 +167,61 @@
163167
};
164168
/* End PBXResourcesBuildPhase section */
165169

170+
/* Begin PBXShellScriptBuildPhase section */
171+
5E4F20044B5A2EFEFFB180FA /* Copy Pods Resources */ = {
172+
isa = PBXShellScriptBuildPhase;
173+
buildActionMask = 2147483647;
174+
files = (
175+
);
176+
inputPaths = (
177+
);
178+
name = "Copy Pods Resources";
179+
outputPaths = (
180+
);
181+
runOnlyForDeploymentPostprocessing = 0;
182+
shellPath = /bin/sh;
183+
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods/Pods-resources.sh\"\n";
184+
showEnvVarsInLog = 0;
185+
};
186+
720083790E7372A82AD1D7BE /* Embed Pods Frameworks */ = {
187+
isa = PBXShellScriptBuildPhase;
188+
buildActionMask = 2147483647;
189+
files = (
190+
);
191+
inputPaths = (
192+
);
193+
name = "Embed Pods Frameworks";
194+
outputPaths = (
195+
);
196+
runOnlyForDeploymentPostprocessing = 0;
197+
shellPath = /bin/sh;
198+
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods/Pods-frameworks.sh\"\n";
199+
showEnvVarsInLog = 0;
200+
};
201+
B4B7EE7B263C68B8B6C37266 /* Check Pods Manifest.lock */ = {
202+
isa = PBXShellScriptBuildPhase;
203+
buildActionMask = 2147483647;
204+
files = (
205+
);
206+
inputPaths = (
207+
);
208+
name = "Check Pods Manifest.lock";
209+
outputPaths = (
210+
);
211+
runOnlyForDeploymentPostprocessing = 0;
212+
shellPath = /bin/sh;
213+
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";
214+
showEnvVarsInLog = 0;
215+
};
216+
/* End PBXShellScriptBuildPhase section */
217+
166218
/* Begin PBXSourcesBuildPhase section */
167219
9399E3B41C87B6EF00962292 /* Sources */ = {
168220
isa = PBXSourcesBuildPhase;
169221
buildActionMask = 2147483647;
170222
files = (
171223
9399E3C31C87B6EF00962292 /* ViewController.m in Sources */,
172-
9399E3DB1C87B86100962292 /* ABReleaseNotesViewController.m in Sources */,
173-
9399E3D91C87B86100962292 /* ABReleaseNotesDownloader.m in Sources */,
174224
9399E3C01C87B6EF00962292 /* AppDelegate.m in Sources */,
175-
9399E3DA1C87B86100962292 /* ABReleaseNotesPresentationController.m in Sources */,
176225
9399E3BD1C87B6EF00962292 /* main.m in Sources */,
177226
);
178227
runOnlyForDeploymentPostprocessing = 0;
@@ -275,6 +324,7 @@
275324
};
276325
9399E3D01C87B6EF00962292 /* Debug */ = {
277326
isa = XCBuildConfiguration;
327+
baseConfigurationReference = 5A73D9EE97975B20849FF3CD /* Pods.debug.xcconfig */;
278328
buildSettings = {
279329
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
280330
INFOPLIST_FILE = "$(SRCROOT)/Demo/Info.plist";
@@ -286,6 +336,7 @@
286336
};
287337
9399E3D11C87B6EF00962292 /* Release */ = {
288338
isa = XCBuildConfiguration;
339+
baseConfigurationReference = 7FC87D78699CE5521328738D /* Pods.release.xcconfig */;
289340
buildSettings = {
290341
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
291342
INFOPLIST_FILE = "$(SRCROOT)/Demo/Info.plist";
@@ -314,6 +365,7 @@
314365
9399E3D11C87B6EF00962292 /* Release */,
315366
);
316367
defaultConfigurationIsVisible = 0;
368+
defaultConfigurationName = Release;
317369
};
318370
/* End XCConfigurationList section */
319371
};

ABReleaseNotesViewController.xcworkspace/contents.xcworkspacedata

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

Podfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
platform :ios, '9.0'
2+
3+
pod 'ABReleaseNotesViewController', :path => '.'

Podfile.lock

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
PODS:
2+
- ABReleaseNotesViewController (0.1.0)
3+
4+
DEPENDENCIES:
5+
- ABReleaseNotesViewController (from `.`)
6+
7+
EXTERNAL SOURCES:
8+
ABReleaseNotesViewController:
9+
:path: "."
10+
11+
SPEC CHECKSUMS:
12+
ABReleaseNotesViewController: b378ca2ec9494027a8ea584320453a0697073e56
13+
14+
COCOAPODS: 0.39.0

Pods/Headers/Private/ABReleaseNotesViewController/ABReleaseNotesDownloader.h

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

Pods/Headers/Private/ABReleaseNotesViewController/ABReleaseNotesPresentationController.h

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

Pods/Headers/Private/ABReleaseNotesViewController/ABReleaseNotesViewController.h

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

Pods/Headers/Public/ABReleaseNotesViewController/ABReleaseNotesDownloader.h

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

Pods/Headers/Public/ABReleaseNotesViewController/ABReleaseNotesPresentationController.h

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

0 commit comments

Comments
 (0)