We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Mark L.45
9 years agoCollaborator | Level 9
SwiftyDropbox was compiled with optimization - stepping may behave oddly
Using Carthage to build and use Swifty DropBox. For the main part it works well, but seem to be running into an issue relating to optimization every now and again as the subject line says.
How ...
Mark L.45
9 years agoCollaborator | Level 9
Stop stop stop
Just crashed with this line ..
source Optional(["test"]) Optional("test") /test/test.004
precondition failed: " must match pattern "\A(?:(/(.|[\r\n])*|id:.*)|(rev:[0-9a-f]{9,})|(ns:[0-9]+(/.*)?))\z": file /Users/localuser/Carthage/Checkouts/SwiftyDropbox/Source/SwiftyDropbox/PlatformNeutral/StoneValidators.swift, line 9
downloading supportedImages /test/test.001.png png
2017-01-04 10:56:10.020443 slideQueue[2116:505402] precondition failed: " must match pattern "\A(?:(/(.|[\r\n])*|id:.*)|(rev:[0-9a-f]{9,})|(ns:[0-9]+(/.*)?))\z": file /Users/localuser/Carthage/Checkouts/SwiftyDropbox/Source/SwiftyDropbox/PlatformNeutral/StoneValidators.swift, line 9
So this was in the downloading file Swifty DropBox call! This one ...
let client = DropboxClientsManager.authorizedClient!
_ = client.files.download(path:sourcePath)
.response { response, error in
if let response = response { etc etc and
Going to open a ticket on this ...
Greg-DB
Dropbox Community Moderator
9 years agoThanks! We'll take a look and respond to your ticket soon.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If 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, Facebook or Instagram.
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!