0
0

More than 1 year has passed since last update.

Gitのブランチを切り替えただけなのに・・・(pods利用)

Last updated at Posted at 2022-11-24

iOS開発中にgitのブランチを切り替えたら、エラーでいっぱいになった。

解決方法

  1. プロジェクトフォルダ内のファイル・フォルダ Podfile.lock xxx.xcworkspace Pods を削除
  2. xxxx.xcodeprojを開く
  3. Podsファイルを削除
  4. クリーン(↑ + comm + K)
  5. xxxx.xcodeprojを閉じる
  6. コマンドラインでpod install --repo-update
  7. xxxx.xcworkspaceを開く
  8. クリーン(↑ + comm + K)

環境とかに左右されるかもですが、podsを利用していて
ブランチを切り替えただけでビルドが通らなくなった場合は試してください。

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