gpt4 book ai didi

ios - Travis-ci 卡在 pod 安装中

转载 作者:行者123 更新时间:2023-12-01 15:40:30 26 4
gpt4 key购买 nike

我正在尝试使用以下配置在我的 GitHub 存储库上配置 Travis-CI

.travis.yml

language: objective-c
osx_image: xcode11.2

xcode_workspace: NinchatSDK.xcworkspace
xcode_scheme: NinchatSDK
xcode_destination: platform=iOS Simulator,OS=13.2,name=iPhone 8

before_install:
- git submodule update --init --recursive

- brew install go
- go get -u golang.org/x/mobile/cmd/gomobile
- export PATH=$PATH:~/go/bin
- gomobile init
- ./update-go-framework.sh

- gem install cocoapods
- gem update concurrent-ruby
- pod setup

script:
- xcodebuild -workspace NinchatSDK.xcworkspace -scheme NinchatSDK -configuration "Release"

播客文件:

platform :ios, '9.0'
use_frameworks!

source 'https://github.com/CocoaPods/Specs.git'
source 'https://github.com/somia/ninchat-podspecs.git'

def all_pods
pod 'AFNetworking', '~> 3.0'
pod 'NinchatLowLevelClient', '~> 0'
pod 'GoogleWebRTC', '~> 1.1'
#pod 'NinchatLowLevelClient', :path => '.'
end

target 'NinchatSDK' do
all_pods
end

target 'NinchatSDKTests' do
all_pods
end

问题

构建服务器卡在 cocoapods 安装中,并在一段时间后返回超时错误:

Cloning spec repo 'cocoapods' from 'https://github.com/CocoaPods/Specs.git'


No output has been received in the last 10m0s, this potentially indicates ....

最佳答案

使用源 'https://cdn.cocoapods.org/' 而不是 'https://github.com/CocoaPods/Specs.git'

对于最新版本的 CocoaPods,它应该更快并且更可靠。

关于ios - Travis-ci 卡在 pod 安装中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58958185/

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