我正在尝试使用DJI-SDK-iOS 4.7
安装cocoapods
。当我使用Pod安装时,它向我显示此错误:
Analyzing dependencies
Downloading dependencies
Installing DJI-SDK-iOS (4.7)
[!] Error installing DJI-SDK-iOS
[!] /usr/bin/curl -f -L -o /var/folders/0b/h5r2v83j12z2n4zymy15m0qc0000gn/T/d20181213-7776-15u9wjf/file.zip http://dh7g4ai1w5iq6.cloudfront.net/ios_sdk/iOS_Mobile_SDK_4.7_180823.zip --create-dirs --netrc-optional --retry 2
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 403 Forbidden
[!] 'DJI-SDK-iOS' uses the unencrypted http protocol to transfer the Pod. Please be sure you're in a safe network with only trusted hosts in there. Please reach out to the library author to notify them of this security issue.
我尝试过Pod安装--repo-update
,但向我显示了完全相同的错误...
答案 0 :(得分:0)
请使用最新的DJI iOS SDK 4.8.1,4.7较旧,并且已从Cocoapods中删除。