質問編集履歴

1

エラーコードの具体的な内容と、試したことも追加しました。

2022/04/05 10:07

投稿

uma02
uma02

スコア18

test CHANGED
File without changes
test CHANGED
@@ -7,13 +7,154 @@
7
7
 
8
8
  ### 発生している問題・エラーメッセージ
9
9
 
10
- ```実行するときのエラー
10
+ ```flutter
11
+ //flutter runをしたときの出力コード
12
+
13
+ ios % flutter run
14
+ Changing current working directory to: /Users/okamotoyuma/Downloads/sea_chat
15
+ Running "flutter pub get" in sea_chat... 5.5s
16
+ Launching lib/main.dart on iPhone SE (3rd generation) in debug mode...
17
+ Running pod install... 1,714ms
18
+ CocoaPods' output:
19
+
20
+ Preparing
21
+
22
+ Analyzing dependencies
23
+
24
+ Inspecting targets to integrate
25
+ Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``)
26
+
27
+ Fetching external sources
28
+ -> Fetching podspec for `Flutter` from `Flutter`
29
+ -> Fetching podspec for `cloud_firestore` from
30
+ `.symlinks/plugins/cloud_firestore/ios`
31
+ cloud_firestore: Using Firebase SDK version '8.11.0' defined in 'firebase_core'
32
+ -> Fetching podspec for `cloud_functions` from
33
+ `.symlinks/plugins/cloud_functions/ios`
34
+ cloud_functions: Using Firebase SDK version '8.11.0' defined in 'firebase_core'
35
+ -> Fetching podspec for `file_picker` from `.symlinks/plugins/file_picker/ios`
36
+ -> Fetching podspec for `firebase_analytics` from
37
+ `.symlinks/plugins/firebase_analytics/ios`
38
+ firebase_analytics: Using Firebase SDK version '8.11.0' defined in
39
+ 'firebase_core'
40
+ -> Fetching podspec for `firebase_auth` from
41
+ `.symlinks/plugins/firebase_auth/ios`
42
+ firebase_auth: Using Firebase SDK version '8.11.0' defined in 'firebase_core'
43
+ -> Fetching podspec for `firebase_core` from
44
+ `.symlinks/plugins/firebase_core/ios`
45
+ firebase_core: Using Firebase SDK version '8.11.0' defined in 'firebase_core'
46
+ -> Fetching podspec for `firebase_messaging` from
47
+ `.symlinks/plugins/firebase_messaging/ios`
48
+ firebase_messaging: Using Firebase SDK version '8.11.0' defined in
49
+ 'firebase_core'
50
+ -> Fetching podspec for `firebase_storage` from
51
+ `.symlinks/plugins/firebase_storage/ios`
52
+ firebase_storage: Using Firebase SDK version '8.11.0' defined in 'firebase_core'
53
+ -> Fetching podspec for `google_mobile_ads` from
54
+ `.symlinks/plugins/google_mobile_ads/ios`
55
+ -> Fetching podspec for `google_sign_in` from
56
+ `.symlinks/plugins/google_sign_in/ios`
57
+ -> Fetching podspec for `image_picker` from `.symlinks/plugins/image_picker/ios`
58
+ -> Fetching podspec for `path_provider_ios` from
59
+ `.symlinks/plugins/path_provider_ios/ios`
60
+ -> Fetching podspec for `shared_preferences_ios` from
61
+ `.symlinks/plugins/shared_preferences_ios/ios`
62
+ -> Fetching podspec for `sign_in_with_apple` from
63
+ `.symlinks/plugins/sign_in_with_apple/ios`
64
+ -> Fetching podspec for `sqflite` from `.symlinks/plugins/sqflite/ios`
65
+ -> Fetching podspec for `url_launcher` from `.symlinks/plugins/url_launcher/ios`
66
+
67
+ Resolving dependencies of `Podfile`
68
+
69
+ Error output from CocoaPods:
70
+
71
+ /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygem
72
+ s/core_ext/kernel_require.rb:54:in `require':
73
+ dlopen(/Library/Ruby/Gems/2.6.0/gems/ffi-1.15.5/lib/ffi_c.bundle, 0x0009): tried:
74
+ '/Library/Ruby/Gems/2.6.0/gems/ffi-1.15.5/lib/ffi_c.bundle' (mach-o file, but is
75
+ an incompatible architecture (have 'arm64', need 'x86_64')),
76
+ '/usr/lib/ffi_c.bundle' (no such file) -
77
+ /Library/Ruby/Gems/2.6.0/gems/ffi-1.15.5/lib/ffi_c.bundle (LoadError)
78
+ from
79
+ /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubyge
80
+ ms/core_ext/kernel_require.rb:54:in `require'
81
+ from /Library/Ruby/Gems/2.6.0/gems/ffi-1.15.5/lib/ffi.rb:5:in `rescue in <top
82
+ (required)>'
83
+ from /Library/Ruby/Gems/2.6.0/gems/ffi-1.15.5/lib/ffi.rb:2:in `<top (required)>'
84
+ from
85
+ /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubyge
86
+ ms/core_ext/kernel_require.rb:54:in `require'
87
+ from
88
+ /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubyge
89
+ ms/core_ext/kernel_require.rb:54:in `require'
90
+ from /Library/Ruby/Gems/2.6.0/gems/ethon-0.15.0/lib/ethon.rb:3:in `<top
91
+ (required)>'
92
+ from
93
+ /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubyge
94
+ ms/core_ext/kernel_require.rb:54:in `require'
95
+ from
96
+ /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubyge
97
+ ms/core_ext/kernel_require.rb:54:in `require'
98
+ from /Library/Ruby/Gems/2.6.0/gems/typhoeus-1.4.0/lib/typhoeus.rb:2:in `<top
99
+ (required)>'
100
+ from
101
+ /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubyge
102
+ ms/core_ext/kernel_require.rb:54:in `require'
103
+ from
104
+ /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubyge
105
+ ms/core_ext/kernel_require.rb:54:in `require'
106
+ from
107
+ /Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/cdn_sourc
108
+ e.rb:440:in `download_typhoeus_impl_async'
109
+ from
110
+ /Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/cdn_sourc
111
+ e.rb:372:in `download_and_save_with_retries_async'
112
+ from
113
+
114
+ ~~~文字数制限があるため省略~~
115
+
116
+
117
+
118
+ /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/installer/analyzer.
119
+ rb:124:in `analyze'
120
+ from
121
+ /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:416:in
122
+ `analyze'
123
+ from
124
+ /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:241:in
125
+ `block in resolve_dependencies'
126
+ from
127
+ /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/user_interface.rb:6
128
+ 4:in `section'
129
+ from
130
+ /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:240:in
131
+ `resolve_dependencies'
132
+ from
133
+ /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:161:in
134
+ `install!'
135
+ from
136
+ /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/command/install.rb:
137
+ 52:in `run'
138
+ from /Library/Ruby/Gems/2.6.0/gems/claide-1.1.0/lib/claide/command.rb:334:in
139
+ `run'
140
+ from
141
+ /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/command.rb:52:in
142
+ `run'
143
+ from /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/bin/pod:55:in `<top
144
+ (required)>'
145
+ from /usr/local/bin/pod:23:in `load'
146
+ from /usr/local/bin/pod:23:in `<main>'
147
+
11
148
  Error running pod install
12
149
  Error launching application on iPhone SE (3rd generation).
150
+
13
151
  ```
14
152
 
15
153
  ↓Podfileは生成されていますがPodfile.lockは生成されていません。
16
154
  ![イメージ説明](https://ddjkaamml8q8x.cloudfront.net/questions/2022-04-05/a9bee0eb-abab-47c6-af55-4b100bdfb0cc.png)
17
155
 
156
+ ### 試したこと
157
+ Podfileのplatform :iosを9~14の間で変えてみましたが変化はありませんでした。
158
+ ![イメージ説明](https://ddjkaamml8q8x.cloudfront.net/questions/2022-04-05/23e898dd-edee-4e69-8d3a-24baa5e708db.png)
18
159
 
19
160