Permalink
Browse files

Adapt Fabric & Crashlytics

  • Loading branch information...
youknowone committed Nov 2, 2018
1 parent 3ce57aa commit 3387bff45065d76573ce70bd12de14d991cbfdcb
Showing with 23 additions and 14 deletions.
  1. +2 −1 Gureum.xcodeproj/project.pbxproj
  2. +8 −0 OSX/GureumAppDelegate.swift
  3. +4 −4 Podfile
  4. +9 −9 Podfile.lock
@@ -960,13 +960,14 @@
files = (
);
inputPaths = (
"$(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH)",
);
name = "Run Fabric";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "./Pods/Fabric/run 1b5d8443c3eabba778b0d97bff234647af846181 34aaecdde99dce1f9408a963ba788143536760a1c73ce21b46a14f888c5d54c1";
shellScript = "\"${PODS_ROOT}/Fabric/run\" 1b5d8443c3eabba778b0d97bff234647af846181 34aaecdde99dce1f9408a963ba788143536760a1c73ce21b46a14f888c5d54c1\n";
};
38E9024E21344640005DF76A /* Print environment variables */ = {
isa = PBXShellScriptBuildPhase;
@@ -8,6 +8,8 @@
import Foundation
import Hangul
import Fabric
import Crashlytics
class NotificationCenterDelegate: NSObject, NSUserNotificationCenterDelegate{
var download: String!
@@ -46,6 +48,12 @@ class NotificationCenterDelegate: NSObject, NSUserNotificationCenterDelegate{
@objc override func awakeFromNib(){
HGKeyboard.initialize()
sharedInputManager = CIMInputManager()
}
func applicationDidFinishLaunching(_ notification: Notification) {
#if NDEBUG
Fabric.with([Crashlytics.self])
#endif
checkUpdate()
}
@@ -4,7 +4,7 @@ target 'OSX' do
platform :osx, "10.13"
project 'Gureum.xcodeproj'
pod 'cdebug'
pod 'FoundationExtension', '>= 1.3.1'
pod 'FoundationExtension', '~> 1.3.1'
pod 'Fabric'
pod 'Crashlytics'
end
@@ -28,7 +28,7 @@ end
target :'App' do
platform :ios, "9.0"
project 'iOS.xcodeproj'
pod 'FoundationExtension', '>= 1.3.1'
pod 'FoundationExtension', '~> 1.3.1'
pod 'Fabric'
pod 'Crashlytics'
pod 'GoogleMobileAds'
@@ -37,12 +37,12 @@ end
target :'iOS' do
platform :ios, "9.0"
project 'iOS.xcodeproj'
pod 'FoundationExtension', '>= 1.3.1'
pod 'FoundationExtension', '~> 1.3.1'
pod 'Fabric'
pod 'Crashlytics'
end
target :'iOSTests' do
platform :ios, "9.0"
project 'iOS.xcodeproj'
pod 'FoundationExtension', '>= 1.3.1'
pod 'FoundationExtension', '~> 1.3.1'
end
@@ -1,8 +1,8 @@
PODS:
- cdebug (1.1)
- Crashlytics (3.10.7):
- Fabric (~> 1.7.11)
- Fabric (1.7.11)
- cdebug (1.2)
- Crashlytics (3.11.1):
- Fabric (~> 1.8.1)
- Fabric (1.8.2)
- FoundationExtension (1.3.1):
- cdebug (~> 1.1)
- FoundationExtension/CocoaExtension (= 1.3.1)
@@ -29,7 +29,7 @@ DEPENDENCIES:
- cdebug
- Crashlytics
- Fabric
- FoundationExtension (>= 1.3.1)
- FoundationExtension (~> 1.3.1)
- GlobalActivityIndicatorView (>= 0.1.1)
- GoogleMobileAds
- MASShortcut
@@ -45,14 +45,14 @@ SPEC REPOS:
- MASShortcut
SPEC CHECKSUMS:
cdebug: a9082b29d17cf592c7441a6bb78ce33b2b0ca8db
Crashlytics: ccaac42660eb9351b9960c0d66106b0bcf99f4fa
Fabric: f233c9492b3bbc1f04e3882986740f7988a58edb
cdebug: 55a96da647360590f0d292baebb34c4066cbca02
Crashlytics: ca7ab4bc304aa216bdc2e4c1a96389ee77252203
Fabric: d2b22f443ba195d8a7cc204da230977c72733b40
FoundationExtension: 2dd5b23bc43f44da58e4592655dc86888cd46ea9
GlobalActivityIndicatorView: 012695aa501b1476325b2076f522cc61c539ed04
GoogleMobileAds: c79931d6eef16b1e4c35d331cf23c47e0dd490d2
MASShortcut: 9c215e8a8a78f3d01ce56da48e2730ab66b538fa
PODFILE CHECKSUM: 4c6677c8d83c46d720e3f6686f656ddbfa427277
PODFILE CHECKSUM: 4eaa2d5eb291713ebca70df69e6524a5ab72a403
COCOAPODS: 1.6.0.beta.2

0 comments on commit 3387bff

Please sign in to comment.