Skip to content
This repository has been archived by the owner on Jan 4, 2024. It is now read-only.

Feature/#36/analytics and monitors #41

Merged
merged 2 commits into from
Dec 18, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions Philly Bike Share.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,8 @@
2D192E791B112B170002EB0D /* Resources */,
59C3EFE43E0B17339A54F3EE /* Copy Pods Resources */,
1B2F6ED293C69715B8870AC1 /* Embed Pods Frameworks */,
2D2E1C721C247A6200B00DCC /* ShellScript */,
2D2E1C731C247D1A00B00DCC /* ShellScript */,
);
buildRules = (
);
Expand Down Expand Up @@ -387,6 +389,32 @@
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Philly Bike Share/Pods-Philly Bike Share-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
2D2E1C721C247A6200B00DCC /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Fabric/run\" fdfe2cce3f496b7dce6b9cac6b993b8d1eec5a06 7e07116082006f80b7e7e95d3df8e821f18dd137f7b68dd02b53ed10e5666b14";
};
2D2E1C731C247D1A00B00DCC /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "SCRIPT=`/usr/bin/find \"${SRCROOT}\" -name newrelic_postbuild.sh | head -n 1`\n\n/bin/sh \"${SCRIPT}\" \"AA86c8f7faf7a16b56dd5b896d7fd47574e16e3582\"";
};
2EA0D3729700DB27C3A78FAD /* Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
Expand Down
6 changes: 5 additions & 1 deletion Philly Bike Share/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
//

#import "AppDelegate.h"
#import <Fabric/Fabric.h>
#import <Crashlytics/Crashlytics.h>

@interface AppDelegate ()

Expand All @@ -17,7 +19,9 @@ @implementation AppDelegate

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
// Override point for customization after application launch.
[Fabric with:@[[Crashlytics class]]];
[NewRelicAgent startWithApplicationToken:@"AA86c8f7faf7a16b56dd5b896d7fd47574e16e3582"];

return YES;
}

Expand Down
1 change: 1 addition & 0 deletions Philly Bike Share/Common/PBSPrefixHeader.pch
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#endif

#import <libextobjc/EXTScope.h>
#import <NewRelicAgent/NewRelic.h>

#define IS_IPHONE_4_OR_LESS (ScreenHeight < 568)
#define IS_IPHONE_5 (ScreenHeight == 568.0)
Expand Down
14 changes: 14 additions & 0 deletions Philly Bike Share/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,20 @@
<string>????</string>
<key>CFBundleVersion</key>
<string>4</string>
<key>Fabric</key>
<dict>
<key>APIKey</key>
<string>fdfe2cce3f496b7dce6b9cac6b993b8d1eec5a06</string>
<key>Kits</key>
<array>
<dict>
<key>KitInfo</key>
<dict/>
<key>KitName</key>
<string>Crashlytics</string>
</dict>
</array>
</dict>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSLocationWhenInUseUsageDescription</key>
Expand Down
3 changes: 3 additions & 0 deletions Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ target 'Philly Bike Share' do

pod 'AFNetworking'
pod 'libextobjc'
pod 'Fabric'
pod 'Crashlytics'
pod 'NewRelicAgent'

end

Expand Down
10 changes: 10 additions & 0 deletions Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ PODS:
- AFNetworking/UIKit (2.6.3):
- AFNetworking/NSURLConnection
- AFNetworking/NSURLSession
- Crashlytics (3.4.1):
- Fabric (~> 1.6.0)
- Fabric (1.6.1)
- libextobjc (0.4.1):
- libextobjc/EXTADT (= 0.4.1)
- libextobjc/EXTConcreteProtocol (= 0.4.1)
Expand Down Expand Up @@ -55,13 +58,20 @@ PODS:
- libextobjc/RuntimeExtensions
- libextobjc/RuntimeExtensions (0.4.1)
- libextobjc/UmbrellaHeader (0.4.1)
- NewRelicAgent (5.3.4)

DEPENDENCIES:
- AFNetworking
- Crashlytics
- Fabric
- libextobjc
- NewRelicAgent

SPEC CHECKSUMS:
AFNetworking: cb8d14a848e831097108418f5d49217339d4eb60
Crashlytics: 41574a245bc6ae10c55d57f385ebd2004e5bee05
Fabric: bf0ceb04e7c924090efc5f8c55e4fbcca189e0a0
libextobjc: a650fc1bf489a3d3a9bc2e621efa3e1006fc5471
NewRelicAgent: cf111fc652ec0dd7b3fdef05016dc9e0867eaddb

COCOAPODS: 0.39.0