制作cocoapods

2019-10-11  本文已影响0人  蓝汐o
  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

上一篇下一篇

猜你喜欢

热点阅读