dropbox / dropbox-sdk-obj-c

Official Objective-C SDK for the Dropbox API v2.
MIT License
183 stars 117 forks source link

Please redistribute the sdk as a simple framework #147

Open attilaz opened 7 years ago

attilaz commented 7 years ago

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.

greg-db commented 7 years ago

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

scobbe commented 7 years ago

@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: