dropbox-sdk-obj-c icon indicating copy to clipboard operation
dropbox-sdk-obj-c copied to clipboard

Please redistribute the sdk as a simple framework

Open attilaz opened this issue 7 years ago • 2 comments

v1 sdk was distributed as a framework.

Installation was (https://www.dropbox.com/developers-v1/core/sdks/ios)

Open your project in Xcode.

  1. Navigate to where you uncompressed the SDK and drag the DropboxSDK.framework folder into your project in Xcode.
  2. Make sure Copy items ... is selected.
  3. Press Finish button.
  4. Ensure that you have Security.framework and QuartzCore.framework added to your project. To do this, select your project file in the file explorer, select your target, and select the Build Phases sub-tab. Under Link Binary with Libraries, press the + button, select Security.framework, and press Add. Repeat for QuartzCore.framework.

Now it has 3 methods but I found each of them harder then the previous. Maybe cocoapods is simpler but why depend on it? Also I find it kind of scary that it modifies project file, I would like to control changes to the project.

attilaz avatar May 09 '17 09:05 attilaz

Thanks for the request and feedback! I can't make any promises, but I'll send this along to the team.

greg-db avatar May 09 '17 18:05 greg-db

@attilaz: Thanks for the feedback. Although using a package manager can be a little bit harder than just dragging and dropping a .framework file, it is a more reliable and robust way of integrating with our SDK.

Here are two of our reasons for doing this:

  • .framework files are less transparent to the developer (there isn't always an easy way to tell which version of the SDK is being used).
  • Package managers like CocoaPods and Carthage tie distribution to specially tagged versions (e.g. "3.0.3"), rather than whatever is on master in the GitHub repo. master tends to be a little more unstable than releases, which are more periodically pushed out, and are more robustly tested.

scobbe avatar May 17 '17 03:05 scobbe