dji-sdk / Mobile-SDK-iOS

DJI Mobile SDK for iOS: http://developer.dji.com/mobile-sdk/
Other
577 stars 256 forks source link

Swift Package Manager Support #401

Open schlingding opened 3 years ago

schlingding commented 3 years ago

We have migrated all of our frameworks to Swift Package Manager for Xcode 12, but DJI libraries currently do NOT support Swift Package Manager.

When can we expect SPM support?

Thank you

dji-dev commented 3 years ago

Agent comment from Luce Luo in Zendesk ticket #40069:

Dear Customer,

Thank you for contacting DJI. The MSDK use the CocoaPods to implement the project, please follow this integration documentation. https://developer.dji.com/mobile-sdk/documentation/application-development-workflow/workflow-integrate.html#xcode-project-integration

Thanks,

Luce Luo DJI Developer Support

schlingding commented 3 years ago

As I mentioned in an email:

As a developer of ENTERPRISE Applications, the preference will always be the FIRST party solution.

dji-dev commented 3 years ago

Agent comment from Luce Luo in Zendesk ticket #40069:

Dear Customer,

Thank you for contacting DJI. Sorry that the CocoaPods is an easy way to implement the project for the developer than the SPM. And so sorry that there is no plan to support the SPM for the being time.

Thanks,

Luce Luo DJI Developer Support

gotev commented 3 years ago

@schlingding I totally agree with you and I'm also migrating everything to Swift Package Manager at work. When Apple promotes an official way of doing something, suddenly all the other options die, for good. Recently the same happened with RxSwift being put aside by Combine. Finally package management on iOS has an official name: SPM!

It will be no surprise if Apple decides to do something to discourage or completely deprecate both Carthage and CocoaPods in the upcoming Xcode releases. Both tools allowed us to manage dependencies in the past years, but it's time to move forward.

For the DJI developers and support guys reading, this article may be useful to start thinking about SPM support in the SDK: https://medium.com/@joesusnick/swift-package-manager-with-a-mixed-swift-and-objective-c-project-part-2-2-e71dad234e6

From a company which does such great products, I expect nothing less. You rock guys, and I'm sure you have all the expertise needed to achieve this 🎉

schlingding commented 3 years ago

Any update on SPM support?

nab0y4enko commented 2 years ago

Hello! DJI SDK is the last library in our project without SPM support. (We have 40+ dependencies) Do you plan to add support of native dependency manager?