【发布时间】:2020-03-12 07:25:56
【问题描述】:
我正在通过可可豆荚安装 linphone 并出现错误
下面是pod文件代码
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
target 'SimLess' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# Pods for SimLess
pod 'liblinphone'
pod 'Alamofire'
pod 'SwiftyJSON'
pod 'IQKeyboardManagerSwift'
pod 'Kingfisher'
pod 'MBProgressHUD'
pod 'SCNetworkReachability'
pod 'ReachabilitySwift'
pod 'SideMenu'
target 'SimLessTests' do
inherit! :search_paths
# Pods for testing
end
target 'ProjectNameUITests' do
inherit! :search_paths
# Pods for testing
end
结束
我收到以下错误:
[!] 安装 liblinphone 时出错 [!] /usr/bin/curl -f -L -o /var/folders/ry/smn70dn550xflcjls8_hh2t40000gn/T/d20191116-26192-nqvjxb/file.zip https://lingusocial-media-eu.ams3.digitaloceanspaces.com/shared/liblinphone-iphone-sdk-4.0.2.zip --create-dirs --netrc-optional --重试2
% Total % Received % Xferd 平均速度 时间 时间 时间 当前 下载上传总花费剩余速度 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 curl: (22) 请求的 URL 返回错误:403 Forbidden
如何解决这个问题?
注意:如果我要删除 libliphone,则其他 pod 安装成功。
【问题讨论】:
-
HTTP 错误 403 代表
AccessDenied。您也可以点击浏览器中的链接,自己查看您无权访问该文件...
标签: ios swift cocoapods linphone