gpt4 book ai didi

cocoapods - Pod 安装时出错

转载 作者:行者123 更新时间:2023-12-03 04:54:40 25 4
gpt4 key购买 nike

我有一个正在使用 pod 文件的工作项目已有几周了。当我得知我的一些 pod 已更新时,我尝试“pod install”,但出现了这个奇怪的错误

    Analyzing dependencies
[!] Pod::Executable pull

Updating 1337455..e9f6e93
error: The following untracked working tree files would be overwritten by merge:

AeroGear-Push/0.7.0/AeroGear-Push.podspec

AeroGear/1.2.0/AeroGear.podspec

BrynKit/1.3.0/BrynKit.podspec

BrynKit/1.3.1/BrynKit.podspec

CSURITemplate/0.3/CSURITemplate.podspec

EXiLE/1.0.2/EXiLE.podspec

FlurrySDK/4.2.3/FlurrySDK.podspec

FoundationExtension/0.39.1/FoundationExtension.podspec

FoundationExtension/0.39/FoundationExtension.podspec

GCDObjects/0.0.1/GCDObjects.podspec

HTAutocompleteTextField/1.2.1/HTAutocompleteTextField.podspec

HTAutocompleteTextField/1.2.2/HTAutocompleteTextField.podspec

HTAutocompleteTextField/1.2/HTAutocompleteTextField.podspec

IDMPhotoBrowser/1.1.2/IDMPhotoBrowser.podspec

Igor/0.5.0/Igor.podspec

KFOpenWeatherMapAPI/0.2.0/KFOpenWeatherMapAPI.podspec

NGSegmentedViewController/0.1.1/NGSegmentedViewController.podspec

PPiFlatSegmentedControl/1.3/PPiFlatSegmentedControl.podspec

PiwikTracker/2.0.0/PiwikTracker.podspec

SDWebImage/3.4/SDWebImage.podspec

libwbxml/0.11.2/libwbxml.podspec

wbxml/0.0.1/wbxml.podspec

Please move or remove them before you can merge.

Aborting

另一个post建议使用 'rm -rf ~/.cocoapods' 命令行但这导致我的 cocoapods 停止为所有项目一起工作现在,无论我尝试“pod install”哪个项目,都会收到“无法找到......的规范”错误

[!] Unable to find a specification for CorePlot (= 1.3).

最佳答案

如果您在 2014 年 1 月 30 日或之后登陆此处,则 CocoaPods 出现故障导致出现此情况。请阅读此处的相关博客文章:http://blog.cocoapods.org/Repairing-Our-Broken-Specs-Repository/

或者做:

pod repo remove master
pod setup

关于cocoapods - Pod 安装时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18224627/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com