質問編集履歴

2

追記

2019/03/27 07:31

投稿

po_tato
po_tato

スコア97

test CHANGED
File without changes
test CHANGED
@@ -32,7 +32,25 @@
32
32
 
33
33
  ```
34
34
 
35
+ import UIKit
36
+
37
+ import Firebase
38
+
39
+
40
+
41
+ @UIApplicationMain
42
+
43
+ class AppDelegate: UIResponder, UIApplicationDelegate {
44
+
45
+
46
+
47
+ var window: UIWindow?
48
+
49
+
50
+
51
+
52
+
35
- func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
53
+ func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
36
54
 
37
55
  // Override point for customization after application launch.
38
56
 

1

追記

2019/03/27 07:30

投稿

po_tato
po_tato

スコア97

test CHANGED
File without changes
test CHANGED
@@ -16,6 +16,42 @@
16
16
 
17
17
 
18
18
 
19
+ 手順1:以下2つをpodfileに追加しインストール
20
+
21
+ ```
22
+
23
+ pod 'Firebase'
24
+
25
+ pod 'Firebase/InAppMessagingDisplay'
26
+
27
+ ```
28
+
29
+
30
+
31
+ 手順2:以下追加
32
+
33
+ ```
34
+
35
+ func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
36
+
37
+ // Override point for customization after application launch.
38
+
39
+
40
+
41
+ FirebaseApp.configure()
42
+
43
+
44
+
45
+ return true
46
+
47
+ }
48
+
49
+ ```
50
+
51
+
52
+
53
+
54
+
19
55
  pod
20
56
 
21
57
  ![イメージ説明](dfc77562285c67d46bef2fa03bf10cc3.png)