diff: /../Podfile.lock: No such file or directory

℡╲_俬逩灬. 提交于 2020-01-07 01:23:14

问题


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.

  1. Use "Open Quickly" in Xcode and type in "release.xcconfig",
  2. two results can show up, the Pods project corespondant can easily be identified with the prefix "Pods"
  3. include the "Pods-xyz.release.xcconfig" into the realease.xcconfig for the main project.
  4. Do the above steps for "debug.xcconfig".


来源:https://stackoverflow.com/questions/32696463/diff-podfile-lock-no-such-file-or-directory

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!