質問編集履歴

2

コード追記

2018/07/19 09:02

投稿

sena14
sena14

スコア109

test CHANGED
File without changes
test CHANGED
@@ -7,3 +7,99 @@
7
7
  どのようなことをすれば治るのか教えていただきたいです。
8
8
 
9
9
  よろしくお願いします。
10
+
11
+
12
+
13
+
14
+
15
+ 下記のimport Firebaseの部分です。
16
+
17
+ ```ここに言語を入力
18
+
19
+
20
+
21
+
22
+
23
+ import UIKit
24
+
25
+ import Firebase
26
+
27
+
28
+
29
+ @UIApplicationMain
30
+
31
+ class AppDelegate: UIResponder, UIApplicationDelegate {
32
+
33
+
34
+
35
+ var window: UIWindow?
36
+
37
+
38
+
39
+
40
+
41
+ func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
42
+
43
+ FirebaseApp.configure()
44
+
45
+ GADMobileAds.configure(withApplicationID: "ca-app-pub-7508566806094646~3066664582")
46
+
47
+
48
+
49
+ return true
50
+
51
+ }
52
+
53
+
54
+
55
+ func applicationWillResignActive(_ application: UIApplication) {
56
+
57
+ // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
58
+
59
+ // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.
60
+
61
+ }
62
+
63
+
64
+
65
+ func applicationDidEnterBackground(_ application: UIApplication) {
66
+
67
+ // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
68
+
69
+ // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
70
+
71
+ }
72
+
73
+
74
+
75
+ func applicationWillEnterForeground(_ application: UIApplication) {
76
+
77
+ // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.
78
+
79
+ }
80
+
81
+
82
+
83
+ func applicationDidBecomeActive(_ application: UIApplication) {
84
+
85
+ // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
86
+
87
+ }
88
+
89
+
90
+
91
+ func applicationWillTerminate(_ application: UIApplication) {
92
+
93
+ // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
94
+
95
+ }
96
+
97
+
98
+
99
+
100
+
101
+ }
102
+
103
+
104
+
105
+ ```

1

追記

2018/07/19 09:01

投稿

sena14
sena14

スコア109

test CHANGED
File without changes
test CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- また新しいアプリを作成した際に同じエラーが発生してしまい以前と同じような対処法を試しているのですが一向に治る気配がありません。
5
+ また新しいアプリを作成した際に同じCould not build Objective-C module 'Firebase'エラーが発生してしまい以前と同じような対処法を試しているのですが一向に治る気配がありません。
6
6
 
7
7
  どのようなことをすれば治るのか教えていただきたいです。
8
8