본문 바로가기

아이폰

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

출처| https://stackoverflow.com/questions/24569183/the-file-pods-xcconfig-couldn-t-be-opened-because-there-is-no-such-file

--질문--

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 couldnt 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.


--해결--


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

  1. Close your project (better close xCode completely)
  2. Open the Terminal inside your project and execute pod install
  3. Open your project again. If there are still errors clean your project ( Shift + cmd + K ), after this the errors should be gone.


석재하고 설치하고 클린하고 반복해도 오류가 그대로였는데... 위에 순서대로 해보니 되었다..-3-

'아이폰' 카테고리의 다른 글

cocoapods 설치 및 사용  (0) 2016.07.20