Skip to content

Commit 4da3cf0

Browse files
committed
#2 fix ios sample
1 parent 2006ba7 commit 4da3cf0

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

sample/ios-app/TestProj.xcodeproj/project.pbxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,7 @@
276276
CURRENT_PROJECT_VERSION = 0;
277277
DEFINES_MODULE = YES;
278278
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
279+
ONLY_ACTIVE_ARCH = YES;
279280
SWIFT_VERSION = 4.0;
280281
};
281282
name = Debug;
@@ -287,6 +288,7 @@
287288
CURRENT_PROJECT_VERSION = 0;
288289
DEFINES_MODULE = YES;
289290
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
291+
ONLY_ACTIVE_ARCH = YES;
290292
SWIFT_VERSION = 4.0;
291293
};
292294
name = Release;

sample/ios-app/src/AppDelegate.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
* Copyright 2020 IceRock MAG Inc. Use of this source code is governed by the Apache 2.0 license.
33
*/
44

5-
import Firebase
5+
import FirebaseCore
66
import MultiPlatformLibrary
7+
import MCRCStaticReporter
78
import UIKit
89

910
@UIApplicationMain
@@ -13,6 +14,7 @@ class AppDelegate: NSObject, UIApplicationDelegate {
1314

1415
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil) -> Bool {
1516
FirebaseApp.configure()
17+
MokoFirebaseCrashlytics.setup()
1618
return true
1719
}
1820
}

0 commit comments

Comments
 (0)