teratail header banner
teratail header banner
質問するログイン新規登録

回答編集履歴

1

追加の情報

2021/09/17 07:21

投稿

endiv
endiv

スコア161

answer CHANGED
@@ -3,4 +3,20 @@
3
3
  ```ここに言語を入力
4
4
  rm -rf ios
5
5
  flutter create -i swift .
6
+ ```
7
+
8
+ 削除し、入れ直したら設定が何もやってない状態なので
9
+ Podfileを編集します
10
+ ```Podfile
11
+ platform :ios, '10.0'//上の方にコメントアウトされているからここを10にする
12
+
13
+ post_install do |installer|//下の方にあるpost_installもこれをコピって上書きする
14
+ installer.pods_project.targets.each do |target|
15
+ flutter_additional_ios_build_settings(target)
16
+ target.build_configurations.each do |config|
17
+ config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '10.0'
18
+ end
19
+ end
20
+ end
21
+
6
22
  ```