Skip to content

Commit

Permalink
add Fabric
Browse files Browse the repository at this point in the history
  • Loading branch information
DaidoujiChen committed Mar 26, 2018
1 parent 5398eda commit e501093
Show file tree
Hide file tree
Showing 56 changed files with 1,796 additions and 462 deletions.
19 changes: 18 additions & 1 deletion Dai-Hentai.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -744,6 +744,7 @@
1C1AD02D1E49B79800544217 /* Resources */,
8242C7F3CAE38698E20FDCC6 /* [CP] Embed Pods Frameworks */,
E4A04B382EE4A3F56A06DA93 /* [CP] Copy Pods Resources */,
1C6F401A20689DBE0082EE5D /* ShellScript */,
);
buildRules = (
);
Expand Down Expand Up @@ -803,6 +804,19 @@
/* End PBXResourcesBuildPhase section */

/* Begin PBXShellScriptBuildPhase section */
1C6F401A20689DBE0082EE5D /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Fabric/run\" 7de17834758164bee76de1104c48ccff26a7a1d7 84216198fa8eaf529539af1e16bcff531a45816a5469ff16948ba11469b70ebf";
};
1C8A5EE01E71863F00A6095F /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
Expand All @@ -822,13 +836,16 @@
files = (
);
inputPaths = (
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
"${PODS_ROOT}/Manifest.lock",
);
name = "[CP] Check Pods Manifest.lock";
outputPaths = (
"$(DERIVED_FILE_DIR)/Pods-Dai-Hentai-checkManifestLockResult.txt",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
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";
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";
showEnvVarsInLog = 0;
};
8242C7F3CAE38698E20FDCC6 /* [CP] Embed Pods Frameworks */ = {
Expand Down
3 changes: 3 additions & 0 deletions Dai-Hentai/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>
#import "DBUserPreference.h"
#import "AuthHelper.h"
#import "EXTScope.h"
Expand All @@ -32,6 +34,7 @@ - (BOOL)application:(UIApplication *)application willFinishLaunchingWithOptions:

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
[NSURLCache setSharedURLCache:[[NSURLCache alloc] initWithMemoryCapacity:0 diskCapacity:0 diskPath:nil]];
[Fabric with:@[[Crashlytics class]]];
return YES;
}

Expand Down
14 changes: 14 additions & 0 deletions Dai-Hentai/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,20 @@
<string>3.1</string>
<key>CFBundleVersion</key>
<string>20180326</string>
<key>Fabric</key>
<dict>
<key>APIKey</key>
<string>7de17834758164bee76de1104c48ccff26a7a1d7</string>
<key>Kits</key>
<array>
<dict>
<key>KitInfo</key>
<dict/>
<key>KitName</key>
<string>Crashlytics</string>
</dict>
</array>
</dict>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
Expand Down
8 changes: 5 additions & 3 deletions Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ inhibit_all_warnings!
target 'Dai-Hentai' do
project 'Dai-Hentai'

pod 'hpple', '~> 0.2.0'
pod 'couchbase-lite-ios', '~> 1.3.1'
pod 'SDWebImage', '~> 4.0.0'
pod 'hpple', '0.2.0'
pod 'couchbase-lite-ios', '1.3.1'
pod 'SDWebImage', '4.0.0'
pod 'Fabric'
pod 'Crashlytics'

end

Expand Down
17 changes: 12 additions & 5 deletions Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,28 @@ PODS:
- couchbase-lite-ios (1.3.1):
- couchbase-lite-ios/SQLite (= 1.3.1)
- couchbase-lite-ios/SQLite (1.3.1)
- Crashlytics (3.10.1):
- Fabric (~> 1.7.5)
- Fabric (1.7.6)
- hpple (0.2.0)
- SDWebImage (4.0.0):
- SDWebImage/Core (= 4.0.0)
- SDWebImage/Core (4.0.0)

DEPENDENCIES:
- couchbase-lite-ios (~> 1.3.1)
- hpple (~> 0.2.0)
- SDWebImage (~> 4.0.0)
- couchbase-lite-ios (= 1.3.1)
- Crashlytics
- Fabric
- hpple (= 0.2.0)
- SDWebImage (= 4.0.0)

SPEC CHECKSUMS:
couchbase-lite-ios: e4672e9c623e31584602c0300c299c363acebb05
Crashlytics: aee1a064cbbf99b32efa3f056a5f458d846bc8ff
Fabric: f8d42c893bb187326a7968b62abe55c36a987a46
hpple: 3b765f96fc2cd56ad1a49aef6f7be5cb2aa64b57
SDWebImage: 76a6348bdc74eb5a55dd08a091ef298e56b55e41

PODFILE CHECKSUM: 3dbfbef56b0c52f832311ff142c566af5fb929ed
PODFILE CHECKSUM: 9dd8c87c7f0b093c8dd707f63046db6b66acd813

COCOAPODS: 1.1.1
COCOAPODS: 1.4.0
1 change: 1 addition & 0 deletions Pods/Crashlytics/Crashlytics.framework/README

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions Pods/Crashlytics/Crashlytics.framework/submit

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

39 changes: 39 additions & 0 deletions Pods/Crashlytics/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e501093

Please sign in to comment.