Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
I'm migrating the dropbox dependency for an objective C iOS project to v2 by compiling the newest Objective C Dropbox SDK using Carthage. My intention is to add it as a subproject, since it's an older project.
But like the title says, running the following:
carthage update --platform iOS
is failing. Same thing happens if I try to compile the dependency itself on Xcode. According to Xcode and the xcodebuild log, it seems like it can't locate the following header files: DBFILESCreateFolderResult.h and DBSHARINGAudienceExceptionContentInfo.h
The xcodebuild log file has this at the end:
The following build commands failed: CompileC /Users/ckanis/Library/Caches/org.carthage.CarthageKit/DerivedData/dropbox-sdk-obj-c/3.2.0/Build/Intermediates/ObjectiveDropboxOfficial.build/Release-iphoneos/ObjectiveDropboxOfficial\ iOS.build/Objects-normal/armv7/DBFILESRouteObjects.o Shared/Generated/Routes/RouteObjects/DBFILESRouteObjects.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
Can someone help me understand what's going on? Thanks in advance for the help.
Here's the entire xcodebuild log file:
https://gist.github.com/carolinaerickson/d7e2206ed1a8622e0a90b2251e1a370e
So I figured out why exactly this solution doesn't work for me. I am compiling it before my intention of adding it as a subproject. My goal is to add the .xcodeproj file resulting from compiling dropbox's dependency.
I'm not getting any more header file not found errors, but I am getting
ld: 2203 duplicate symbols for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
And before that a lot of `duplicate symbol` errors on .o files like this
/Users/ckanis/Desktop/dropbox-sdk-obj-c-master 2/Source/ObjectiveDropboxOfficial/build/ObjectiveDropboxOfficial.build/Release-iphoneos/ObjectiveDropboxOfficial iOS.build/Objects-normal/arm64/DBTeamLogObjects-1BEB3F267DD85A59.o
Any update on this? I get the same problem when trying to update from May's build to the current one.
Hi there!
If you need more help you can view your support options (expected response time for a 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!