
cocoapods
MR_zjh
iOS攻城狮
展开
-
xcrun: error: invalid active developer path (/Applications/Xcode.app/Contents/Developer)解决办法
背景 mac下卸载了xcode,使用git等命令时就提示错误。invalid active path(Applications/Xcode.app/Contents/Developer),这种情况可以通过xcode-select --switch指定一个xcode安装路径,如果不想安装xcode,那么可以通过重置系统默认开发工具路径. 可以通过xcode-select命令来重置系统默认的Comma...原创 2020-04-16 15:12:31 · 3366 阅读 · 1 评论 -
[!] Unable to find a pod with name, author, summary, or description matching `wechatopensdk`
1, pod repo remove master 2, cd ~/.cocoapods/repos 3, git clone --depth 1 https://github.com/CocoaPods/Specs.git master 4, rm ~/Library/Caches/CocoaPods/search_index.json 5, pod search wechatopensdk原创 2019-04-22 11:11:43 · 6560 阅读 · 0 评论