zoukankan      html  css  js  c++  java
  • 使用cocapods报错 [!] Your Podfile has had smart quotes sanitised. To avoid issues in the future, you should not use TextEdit for editing it. If you are not using TextEdit, you should turn off smart quotes

    从github上下载的工程大部分都使用了cocapods,在install的时候可能会报错。

    报错原因:

    1、不要使用文本编辑去编辑Podfile文件,使用Xcode编辑,或者使用终端敲命令去编辑。

    2、Podfile 的内容语法格式有问题

    记录下修改的步骤方便查找。
    1. cd 进入到工程目录

    2.vim podfile 。进入到podfile文件中,对podfile文件进行编辑

    3.按  i  键,进入编辑状态

    4. 在pod ‘ ’ v2.0.2 最上面添加一行命令   target 'xxxxx' do  , xxxxx代表工程的名字。

    5.在pod ‘ ’ v2.0.2 最下面添加一行命令    end   

    6.按键ESC,输入命令 :wq  ,保存并退出

    7. 再  pod install  即可。

    
    



  • 相关阅读:
    管道流
    构造方法中用泛型
    代码实现长提闪烁
    关联事件,向窗体中添加控件,设置控件属性等系列操作
    picturebox中添加图片
    typeof gettype
    groupbox
    static用法
    运算符重载
    类修饰符
  • 原文地址:https://www.cnblogs.com/weipeng168/p/6672715.html
Copyright © 2011-2022 走看看