ファイル「Pods.xcconfig」は存在しないため開けませんでした 質問する

ファイル「Pods.xcconfig」は存在しないため開けませんでした 質問する

この問題を解決する方法。Git リポジトリから iOS プロジェクトをダウンロードし、ビルドしようとすると、エラーが発生します。

Check dependencies
The file “Pods.xcconfig” couldn’t be opened because there is no such file. (/Users/YoGesh/Desktop/Xy-3/Pods/Pods.xcconfig)
PhaseScriptExecution Check\ Pods\ Manifest.lock /Users/YoGesh/Library/Developer/Xcode/DerivedData/Xy-bmwkojrwthnvzdfxthnxeqgesekm/Build/Intermediates/Xy.build/Debug-iphonesimulator/Xy.build/Script-C0451AB63D7F4B73830000BA.sh
    cd /Users/YoGesh/Desktop/Xy-3
    /bin/sh -c /Users/YoGesh/Library/Developer/Xcode/DerivedData/Xy-bmwkojrwthnvzdfxthnxeqgesekm/Build/Intermediates/Xy.build/Debug-iphonesimulator/Xy.build/Script-C0451AB63D7F4B73830000BA.sh

diff: /../Podfile.lock: No such file or directory
diff: /Manifest.lock: No such file or directory
error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.

ベストアンサー1

良いヒントを見つけた問題の内部CocoaPodsではGitHub、これを試してください:

  1. プロジェクトを閉じます(Xcodeを完全に閉じた方が良いでしょう)
  2. プロジェクト内でターミナルを開き、実行しますpod install
  3. プロジェクトをもう一度開きます。まだエラーがある場合は、プロジェクトをクリーンアップしてください ( Shift+ cmd+ K)。その後、エラーはなくなるはずです。

おすすめ記事