美文网首页
2018-01-02

2018-01-02

作者: 你话不要多 | 来源:发表于2018-01-02 22:17 被阅读0次

    pod的使用:
    1.进入项目跟目录:
    2.看podfile是否存在,如果不存在就使用 pod init 初始化,初始化之后会生成pod file。
    3.使用vim Podfile :开始编辑podfile
    4.输入i,进入编辑模式
    5.插入要添加的pod的引用,例如:pod ‘YYModel’
    6.按esc, 退出编辑
    7.输入:wq保存更改并退出vim编辑
    8.最后 pod install

    相关文章

      网友评论

          本文标题:2018-01-02

          本文链接:https://www.haomeiwen.com/subject/nyccnxtx.html