We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.
Forum Discussion
Brendan D.
10 years agoExplorer | Level 4
OS X 10.11 bitcode support for Dropbox Sync API?
Hi,
I know that the Dropbox Sync API is deprecated, but would you be able to make a build for OS X 10.11 which has the bitcode flag enabled?
I'm getting the following error (and lots of them) when I compile with Xcode 7 now:
ld: warning: URGENT: all bitcode will be dropped because '/Users/brendan/Projects/tapforms-ios/Pods/Dropbox-Sync-API-SDK/dropbox-ios-sync-sdk-3.1.2/Dropbox.framework/Dropbox(value.o)' was built without bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. Note: This will be an error in the future.
Thanks,
Brendan
- Nuno C.3New member | Level 1
+1 on Dropbox SDK with bitcode enabled
- Harald S.2New member | Level 2
Any update on this item? I use the DropboxSDK.framework and get the same message now that I use Xcode7 (beta). It seems to be clear the Dropbox frameworks need an update soon?
- Harry
- Anthony B.15Explorer | Level 4
Another +1 on Dropbox SDK with bitcode enabled. Needed for iOS 9 and Xcode 7.
- James H.88New member | Level 1
Brendan, as of now, it seems that the Dropbox API does not support Bitcode. You can get rid of the error by removing the API from your Xcode project, but more preferably, you can switch off Bitcode as a Build Setting in the Project Navigator for your iOS app. If you're working with an OS X app, you'll be required to enable Bitcode, which just means that the Dropbox Sync API is currently unavailable to any OS X 10.11 projects, unfortunately. I came across this information from one of the engineers who wrote the Bitcode platform at Apple. I'm currently at WWDC in San Francisco.
- Greg-DBDropbox Staff
I'll check in with the team on this, but I don't have an update right now.
- Brendan D.Explorer | Level 4
Steve, from Apple's docs on App Thinning:
"Note: For iOS apps, bitcode is the default, but optional. If you provide bitcode, all apps and frameworks in the app bundle need to include bitcode. For watchOS apps, bitcode is required."
Yes, it's optional, but all frameworks have to support it if I want to support it in my app and Dropbox Sync is the only framework preventing me from supporting it.
Thanks,
Brendan
- Greg-DBDropbox Staff
Bob, we have a new release of the iOS Core SDK built with bitcode:
- Brendan D.Explorer | Level 4
Oh that's a problem because I have both an iOS and OS X version of my app. So basically I have to rip out Dropbox from my app? Or will Dropbox eventually update to support bitcode? They did say that the Sync API was deprecated but they would still issue bug fixes for it. Hopefully that includes them compiling it for bitcode support.
- Greg-DBDropbox Staff
Thanks for the information! I can't make any promises right now one way or another, but we're taking a look at this.
- Brendan D.Explorer | Level 4
Hi Gregory,
Anymore progress on bitcode support? I'm pretty sure it's just a Build Settings flag you enable to support it.
It's getting closer and closer to iOS 9 and OS X 10.11 being released and I would very much like to have bitcode support for my app.
Thanks,
Brendan
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,875 PostsLatest Activity: 5 hours agoIf you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!