
CocoaPods
工具->CocoaPods
Morris_
个人笔记!
展开
-
pod install Failed to extract git version from `git --version` (“xcrun: error: active developer path
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/command.rb:128:in `git_version': Failed to extract git version from `git --version` ("xcrun: error: active developer path (\\"/Users/morris/Downloads/Xcode.app/Contents/Devel原创 2022-09-23 10:49:43 · 872 阅读 · 0 评论 -
fatal: not in a git directory Error: Command failed with exit 128: git
fatal: not in a git directory Error: Command failed with exit 128: git原创 2022-06-08 13:48:16 · 41868 阅读 · 29 评论 -
M1安装CocoaPods
参考cocoapods全新安装步骤 https://www.jianshu.com/p/6e9c587f782a须知raw.githubusercontent.comhttps://www.ipaddress.com/hosts文件配置原创 2021-12-10 06:55:30 · 598 阅读 · 0 评论 -
[!] Error installing PromiseKit
[!] Error installing PromiseKitpod install 的时候,PromiseKit这个框架更新报错[!] Error installing PromiseKit[!] /usr/bin/git -C /var/folders/k1/96lj0hk91js5fh5lhxnl7s740000gn/T/d20210812-14928-1aspre6 submodule update --init --recursiveSubmodule 'Extensions/AVFou原创 2021-08-12 08:50:32 · 1614 阅读 · 0 评论 -
[!] Unable to add a source with url https://github.com/CocoaPods/Specs.git named master
[!] Unable to add a source with url https://github.com/CocoaPods/Specs.git named master新的电脑安装 CocoaPods 之后,执行 pod install 时报 [!] Unable to add a source with url https://github.com/CocoaPods/Specs.git named master 这个错误。CocoaPods 所在的路径:~/.cocoapodscd ~/.c原创 2021-07-12 14:17:48 · 3415 阅读 · 0 评论 -
M1 pod install CocoaPod 报错解决办法
Mac M1 pod install 报错解决办法Mac M1 CocoaPods 环境问题M1 Ruby 环境问题新到的 MacBook Pro M1,配置如下:MacBook Pro (13-inch, M1, 2020)系统:macOS Big Sur芯片 Apple M1内存 16 GB存储空间 500 GB问题pod install 报错 in M1-- Crash Report log information ------------------------------.原创 2021-07-12 10:39:01 · 6363 阅读 · 0 评论 -
[!] Unable to determine Swift version for the following pods:
问题pod install的时候报如下错误:[!] Unable to determine Swift version for the following pods:- `Alamofire` does not specify a Swift version and none of the targets (`ORC_RequestAPI`) integrating it have the `SWIFT_VERSION` attribute set. Please contact the autho原创 2021-03-18 11:20:40 · 1649 阅读 · 0 评论 -
pod install TwilioVideo curl: (56) LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54
pod install TwilioVideo curl: (56) LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54原创 2020-05-13 11:19:14 · 437 阅读 · 0 评论 -
dyld: Library not loaded:
dyld: Library not loaded:问题在使用阿里的开源库LazyScrollView的时候出现的这个问题。本地Xcode11.4.1,真机调试。dyld: Library not loaded: @rpath/LazyScroll.framework/LazyScroll Referenced from: /private/var/containers/Bundle/A...原创 2020-05-08 07:30:25 · 797 阅读 · 0 评论 -
pod install libwebp的问题
使用pod install libwebp的时候报错```Installing libwebp 1.1.0 (source changed to `https://github.com/CocoaPods/Specs.git` from `trunk`)[!] Error installing libwebp[!] /usr/bin/git clone https://chromium.googlesource.com/webm/libwebp /var/folders/zl/014s9t8x7原创 2020-05-01 13:43:38 · 1068 阅读 · 1 评论 -
pod install卡住得解决办法
1. 第一次安装CocoPods第一次安装CocoPods,pod install得时候卡死爆错pod installAnalyzing dependenciesAdding spec repo `trunk` with CDN `https://cdn.cocoapods.org/`[!] CDN: trunk Repo update failed - 46 error(s):......原创 2020-04-13 17:12:09 · 20429 阅读 · 0 评论 -
pod指定路径下载第三方库
pod指定路径下载第三方库pod 版本库名, :git => 版本库地址pod 'xxx' , :git => 'https://github.com/xxx/xxx_ios.git'如果下载下来发现缺少了文件,应该是未指定版本号,使用pod+路径+版本号下载pod 'xxx' , :git => 'https://github.com/xxx/xxx_ios.git' ...原创 2019-10-30 17:15:15 · 5406 阅读 · 0 评论 -
CocoaPods问题排查步骤
CocoaPods问题排查步骤1、ruby源的问题排查1、查看ruby的源gem sources -l2、添加ruby的源如果不是 https://gems.ruby-china.com/ 的源的话,添加这个源。gem sources --add https://gems.ruby-china.com/也可以移除其他源gem sources --remove https://......原创 2020-02-22 08:30:29 · 250 阅读 · 0 评论