The file “Pods.xcconfig” couldn’t be opened because there is no such file

cocoapods, git, ios

Solution

I found a good hint inside the issues of `CocoaPods` on `GitHub`, try this:

- Close your project (better close Xcode completely)

- Open the Terminal inside your project and execute `pod install`

- Open your project again. If there are still errors clean your project ( Shift + cmd + K ), after this the errors should be gone.

Problem

How to solve this issue. I have downloaded the iOS project from the Git repo and when I try to build, it gives an error: ``` 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. ```

Original source