美文网首页
制作cocoapods

制作cocoapods

作者: 蓝汐o | 来源:发表于2019-10-11 09:51 被阅读0次
    1. xcodebuild: error: Unable to find a destination matching the provided destination specifier:{ id:6AC7A44D-6523-4371-AAAB-C5191451D58E }

    fix:
    删除模拟器,再重新添加

    1. pod trunk push *.podspec
      错误内容:

    CocoaPods was not able to update the master repo. If this is an unexpected issue and persists you can inspect it running pod repo update --verbose

    pod repo update --verbose
    更新一下本地库就好了

    1. fatal: Remote branch v0.1 not found in upstream origin
      在给git 添加tag的方法:
    git tag '0.1'  
    git push --tags  
    git push origin master
    

    //删除本地索引

    rm ~/Library/Caches/CocoaPods/search_index.json

    //搜索

    pod search [库名]

    //更新索引

    pod repo update

    参考链接

    https://guides.cocoapods.org/making/making-a-cocoapod.html

    相关文章

      网友评论

          本文标题:制作cocoapods

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