Install DJI SDK 4.14-trial2 Issue
938 3 2021-1-6
Uploading and Loding Picture ...(0/1)
o(^-^)o
Modestos
lvl.2
Israel
Offline

Hi ,
There is an issue that pods can't find the version 4.14-trial2 .
Here is the error :
Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "DJI-SDK-iOS":
  In Podfile:
    DJI-SDK-iOS (~> 4.14-trial2)

None of your spec sources contain a spec satisfying the dependency: `DJI-SDK-iOS (~> 4.14-trial2)`.

You have either:
* out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
* mistyped the name or version.
* not added the source repo that hosts the Podspec to your Podfile.

[!] Smart quotes were detected and ignored in your Podfile. To avoid issues in the future, you should not use TextEdit for editing it. If you are not using TextEdit, you should turn off smart quotes in your editor of choice.



2021-1-6
Use props
Modestos
lvl.2
Israel
Offline

Solved it by running the "pod install --repo-update" command instead of "pod install"
2021-1-6
Use props
DJI Stephen
DJI team
Offline

Hello there Modestos. I am sorry for the trouble this has caused and it is good to know that you have already rectified the said issue. Have a safe and a happy flying always.
2021-1-7
Use props
JohnLietzke
lvl.4
Flight distance : 3125968 ft
United States
Offline

I have found that using pod deintegrate and pod clean then reinstalling all the pods clears conflicts and gives a clean pod platform with the most update pods.  It also elimiates legacy code for older versions of IOS.

pod deintegrate and pod clean are two designated commands to remove CocoaPod from your project/repo.

Here is the complete set of commands:

$ sudo gem install cocoapods-deintegrate cocoapods-clean
$ pod deintegrate
$ pod cache clean --all
$ rm Podfile
The original solution was found here: https://medium.com/@icanhazedit/ ... 1cee5e42#.wd00fj2e5

CocoaPod documentation on pod deintegrate: https://guides.cocoapods.org/ter ... tml#pod_deintegrate

2021-1-7
Use props
Advanced
You need to log in before you can reply Login | Register now

Credit Rules