Skip to content

Commit

Permalink
Fix Crashlytics
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Oct 21, 2020
1 parent 8ff31b3 commit 3205368
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Gifski.xcodeproj/project.pbxproj
Expand Up @@ -41,6 +41,7 @@
E3D08F6E1E5D7BFD00F465DF /* Utilities.swift in Sources */ = {isa = PBXBuildFile; fileRef = E3D08F6D1E5D7BFD00F465DF /* Utilities.swift */; };
E3DF3E88203BD2B900055855 /* EditVideoViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E3DF3E86203BD2B900055855 /* EditVideoViewController.swift */; };
E3DF3E89203BD2B900055855 /* EditVideoViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = E3DF3E87203BD2B900055855 /* EditVideoViewController.xib */; };
E3E9BAE425406B84006AE1B7 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = E3E9BAE325406B84006AE1B7 /* GoogleService-Info.plist */; };
E3FC365C2377FA0000CF7C59 /* Shared.swift in Sources */ = {isa = PBXBuildFile; fileRef = E3FC365B2377FA0000CF7C59 /* Shared.swift */; };
E3FC365E2377FA9F00CF7C59 /* Shared.swift in Sources */ = {isa = PBXBuildFile; fileRef = E3FC365B2377FA0000CF7C59 /* Shared.swift */; };
E3FEF31922C52819003AEFED /* ConversionCompletedViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = E3FEF31422C52819003AEFED /* ConversionCompletedViewController.xib */; };
Expand Down Expand Up @@ -124,11 +125,11 @@
E3AE628D1E5CD2F300035A2F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
E3BF14CC1E5CD5A30049FD4B /* Gifski.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Gifski.entitlements; sourceTree = "<group>"; };
E3C3DB4E203F154300CB8BB9 /* Credits.rtf */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; path = Credits.rtf; sourceTree = "<group>"; };
E3C874B2252CFFA200AB1099 /* GoogleService-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = "<group>"; };
E3CB1DD61F7E4CBC00D79BFC /* VideoDropView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; lineEnding = 0; path = VideoDropView.swift; sourceTree = "<group>"; usesTabs = 1; };
E3D08F6D1E5D7BFD00F465DF /* Utilities.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; lineEnding = 0; path = Utilities.swift; sourceTree = "<group>"; usesTabs = 1; };
E3DF3E86203BD2B900055855 /* EditVideoViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; lineEnding = 0; path = EditVideoViewController.swift; sourceTree = "<group>"; usesTabs = 1; };
E3DF3E87203BD2B900055855 /* EditVideoViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = EditVideoViewController.xib; sourceTree = "<group>"; };
E3E9BAE325406B84006AE1B7 /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = "<group>"; };
E3FC365B2377FA0000CF7C59 /* Shared.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; lineEnding = 0; name = Shared.swift; path = Gifski/Shared.swift; sourceTree = SOURCE_ROOT; usesTabs = 1; };
E3FD6190201BCBC30087160A /* Gifski-Bridging-Header.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = "Gifski-Bridging-Header.h"; sourceTree = "<group>"; usesTabs = 1; };
E3FD61A4201BD2DA0087160A /* gifski.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = gifski.h; path = "gifski-api/gifski.h"; sourceTree = "<group>"; };
Expand Down Expand Up @@ -182,8 +183,6 @@
E317EE121F88305800359C57 /* Frameworks */ = {
isa = PBXGroup;
children = (
E3A9400D2182D7BC006981D5 /* Crashlytics.framework */,
E3A9400E2182D7BC006981D5 /* Fabric.framework */,
E3FD61A4201BD2DA0087160A /* gifski.h */,
);
name = Frameworks;
Expand All @@ -197,7 +196,7 @@
E3AE628D1E5CD2F300035A2F /* Info.plist */,
E3BF14CC1E5CD5A30049FD4B /* Gifski.entitlements */,
E31A4F2C24AD36870097B1A5 /* InternetAccessPolicy.json */,
E3C874B2252CFFA200AB1099 /* GoogleService-Info.plist */,
E3E9BAE325406B84006AE1B7 /* GoogleService-Info.plist */,
);
name = Other;
sourceTree = "<group>";
Expand Down Expand Up @@ -405,6 +404,7 @@
E3DF3E89203BD2B900055855 /* EditVideoViewController.xib in Resources */,
E3C3DB4F203F154300CB8BB9 /* Credits.rtf in Resources */,
E3FEF31922C52819003AEFED /* ConversionCompletedViewController.xib in Resources */,
E3E9BAE425406B84006AE1B7 /* GoogleService-Info.plist in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down
4 changes: 3 additions & 1 deletion Gifski/AppDelegate.swift
@@ -1,6 +1,6 @@
import Cocoa
import UserNotifications
import FirebaseCrashlytics
import Firebase
import DockProgress

@NSApplicationMain
Expand All @@ -24,6 +24,8 @@ final class AppDelegate: NSObject, NSApplicationDelegate {
}

func applicationDidFinishLaunching(_ notification: Notification) {
FirebaseApp.configure()

notificationCenter.requestAuthorization { _, _ in }

mainWindowController.showWindow(self)
Expand Down

0 comments on commit 3205368

Please sign in to comment.