Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
I am having problems getting the SDK building using carthage. A fresh build using the Cartfile ...
# ObjectiveDropboxOfficial
github "https://github.com/dropbox/dropbox-sdk-obj-c" == 3.4.0
fails with the error ...
Grahams-iMac:tmp ghaley$ carthage update --platform iOS
*** Fetching dropbox-sdk-obj-c
*** Checking out dropbox-sdk-obj-c at "3.4.0"
*** xcodebuild output can be found in /var/folders/p_/zmcpyv616v952vdf9t8qcrrw0000gn/T/carthage-xcodebuild.H6g5dB.log
*** Building scheme "ObjectiveDropboxOfficial iOS" in ObjectiveDropboxOfficial.xcodeproj
Failed to write to /Users/ghaley/tmp/Carthage/Checkouts/dropbox-sdk-obj-c/Carthage/Build/iOS/ObjectiveDropboxOfficial.framework: Error Domain=NSCocoaErrorDomain Code=260 "The file “ObjectiveDropboxOfficial.framework” couldn’t be opened because there is no such file." UserInfo={NSURL=file:///Users/ghaley/tmp/Carthage/Checkouts/dropbox-sdk-obj-c/Source/ObjectiveDropboxOfficial/build/ArchiveIntermediates/ObjectiveDropboxOfficial%20iOS/BuildProductsPath/Release-iphoneos/ObjectiveDropboxOfficial.framework, NSFilePath=/Users/ghaley/tmp/Carthage/Checkouts/dropbox-sdk-obj-c/Source/ObjectiveDropboxOfficial/build/ArchiveIntermediates/ObjectiveDropboxOfficial iOS/BuildProductsPath/Release-iphoneos/ObjectiveDropboxOfficial.framework, NSUnderlyingError=0x7fcf2e43aa00 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
The log file shows no errors and ends with ...
Signing Identity: "-"
/usr/bin/codesign --force --sign - --timestamp=none /Users/ghaley/tmp/Carthage/Checkouts/dropbox-sdk-obj-c/Source/ObjectiveDropboxOfficial/build/Release-iphonesimulator/ObjectiveDropboxOfficial.framework
** BUILD SUCCEEDED **
I have tried this inside my project, and also separately into a empty directory. Could you please give me any pointers?
Thanks!
Thanks Greg. If you need the log file, let me know.
$ carthage version
0.28.0
$ xcodebuild -version
Xcode 9.2
Build version 9C40b
$
Thanks Greg, downgrading Carthage to version 0.24 seems to have fixed it.
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!