Cocoapods禁止DJI SDK iOS 4.7错误403

时间:2018-12-13 13:32:13

标签: ios dji-sdk

我正在尝试使用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,但向我显示了完全相同的错误...

1 个答案:

答案 0 :(得分:0)

请使用最新的DJI iOS SDK 4.8.1,4.7较旧,并且已从Cocoapods中删除。

https://cocoapods.org/pods/DJI-SDK-iOS