zoukankan      html  css  js  c++  java
  • Xcode工程使用CocoaPods管理第三方库新建工程时出现错误

    工程使用CocoaPods管理第三方库,在新的目录update版本的时候出现如下问题
     
    问题1描述:
    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.
     
    解决办法:
    进入到工程目录重新pod install一下
     
    上面步骤进行过之后运行工程可能会有下面错误,那是因为当前用户的权限所致。
    问题2描述:
    /Users/wmm-mac/Documents/Program-SVN/Versions/code/iPhone/GeneralProject/Pods/Pods-resources.sh: line 5: /Users/wmm-mac/Documents/Program-SVN/Versions/code/iPhone/GeneralProject/Pods/resources-to-copy-GeneralProject.txt: Permission denied
     
    Pod没有权限:
    如果没有权限,可执行下面代码
    sudo chmod 777 Pods  
     
     
     
    延伸问题:
    1.在进入目录重新pod install的时候出现这种错误提示:
    Setting up CocoaPods master repo
    CALL
    [!] Pod::Executable pull
    解决办法:
  • 相关阅读:
    C# 关键字 default
    nopCommerce_3.00-Nop.Core.Caching
    汉字转拼音
    ASP.NET MVC性能调试工具-MvcMiniProfiler
    开源项目
    UVA 11374 Airport Express 最短路
    UVA 10319 Manhattan 2-sat
    UVA 1357 Cells
    UVA 610 Street Directions 双连通分量
    UVA 11504 Dominos 强连通分量
  • 原文地址:https://www.cnblogs.com/ios-wmm/p/3360958.html
Copyright © 2011-2022 走看看