问题
am new to the iPhone app development.when i an running the application i getting the Bellow error.
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:
The error message shows the solution, no pods are built.
Open the terminal, go to the root of the project, then run:
pod install
If you don't have cocoapods installed, first run
sudo gem install cocoapods
then repeat the previous command
回答2:
Include xcconfig files from Pods project inside the xcconfig files for the main project solved this issue.
- Use "Open Quickly" in Xcode and type in "release.xcconfig",
- two results can show up, the Pods project corespondant can easily be identified with the prefix "Pods"
- include the "Pods-xyz.release.xcconfig" into the realease.xcconfig for the main project.
- Do the above steps for "debug.xcconfig".
来源:https://stackoverflow.com/questions/32696463/diff-podfile-lock-no-such-file-or-directory