gpt4 book ai didi

ios - Google Cocoapods 未安装

转载 作者:可可西里 更新时间:2023-11-01 03:36:20 24 4
gpt4 key购买 nike

每当我尝试安装任何 Google 的 cocoapods 时,我都会遇到两个错误之一。

或者:

$ pod install
Analyzing dependencies
[!] The version of CocoaPods used to generate the lockfile (0.38.0.beta.2) is higher than the version of the current executable (0.37.2). Incompatibility issues may arise.

CocoaPods 0.38.0.beta.2 is available.
To update use: `gem install cocoapods --pre`
[!] This is a test version we'd love you to try.

For more information see http://blog.cocoapods.org
and the CHANGELOG for this version http://git.io/BaH8pQ.

Downloading dependencies
Installing Google (1.0.7)

[!] Error installing Google

...

inflating: /var/folders/<myDirectory>/Samples/signin/SignInExampleSwift/ViewController.swift
warning [/var/folders/<myDirectory>/file.zip]: 375 extra bytes at beginning or within zipfile

(attempting to process anyway)

或者:

$ pod install
[in /Users/<user>/Desktop/FakeProject]
Analyzing dependencies

CocoaPods 0.38.0.beta.2 is available.
To update use: `gem install cocoapods --pre`
[!] This is a test version we'd love you to try.

For more information see http://blog.cocoapods.org
and the CHANGELOG for this version http://git.io/BaH8pQ.

Downloading dependencies
Installing AppInvites (1.0.1)

[!] Error installing AppInvites
[!] /usr/bin/tar xfz /var/folders/<myDirectory>/file.tgz -C /var/folders/<myDirectory>

tar: Unrecognized archive format

tar: Error exit delayed from previous errors.

我一直在对新的和现有的 objective-c 项目进行尝试,并尝试卸载并重新安装 cocoapods。不太确定问题是什么,Google 也没有针对他们的 cocoapods 进行任何故障排除。

最佳答案

尝试更新你的 gem

sudo gem update -n /usr/local/bin cocoapods
pod install

关于ios - Google Cocoapods 未安装,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31418569/

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