制作cocoapods

  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

最后编辑于 :
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容