Jelajahi Sumber

disable fabric compilation by default

Felix Paul Kühne 10 tahun lalu
induk
melakukan
17f469bd82
1 mengubah file dengan 6 tambahan dan 0 penghapusan
  1. 6 0
      Sources/VLCAppDelegate.m

+ 6 - 0
Sources/VLCAppDelegate.m

@@ -32,8 +32,12 @@
 #import <BoxSDK/BoxSDK.h>
 #import "VLCNotificationRelay.h"
 
+#define HAVE_FABRIC 0
+
+#if HAVE_FABRIC
 #import <Fabric/Fabric.h>
 #import <Crashlytics/Crashlytics.h>
+#endif
 
 @interface VLCAppDelegate () <PAPasscodeViewControllerDelegate, VLCMediaFileDiscovererDelegate, BWQuincyManagerDelegate> {
     PAPasscodeViewController *_passcodeLockController;
@@ -145,7 +149,9 @@
 
     [[VLCNotificationRelay sharedRelay] addRelayLocalName:kVLCNotificationNowPlayingInfoUpdate toRemoteName:kVLCDarwinNotificationNowPlayingInfoUpdate];
 
+#if HAVE_FABRIC
     [Fabric with:@[CrashlyticsKit]];
+#endif
 
     return YES;
 }