0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

pod install で Error running pod install が出たとき

Posted at

Flutter で開発をしています。ios の実機で pod 関連のエラーが出たときの対処法です。

Error running pod install

running pod install と出たら Flutter プロジェクトの ios フォルダに移動して以下のコマンドを試してください。

cd ios
sudo gem install cocoapods
pod repo update
pod update

RunnerTests がないと言われる

実行しようとしたら RunnerTests がないと言われます。xcode のプロジェクトをみると存在しているのです。ios/Podfile で削除したら実行できました。

ios/Podfile

...

target'Runner'do
  use_frameworks!
  use_modular_headers!

  flutter_install_all_ios_podsFile.dirname(File.realpath(__FILE__))
  #target'RunnerTests'do    ←削除
    #inherit!:search_paths  ←削除
  #end                      ←削除
end

あとがき

もっとまとめようとしましたが力尽きました。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?