Forum Discussion

Clifton L.'s avatar
Clifton L.
Helpful | Level 5
10 years ago

SwiftyDropbox "Missing file" Errors in Xcode 8

I just installed Xcode 8 and upgraded the SwiftyDropbox CocoaPod to version 3.2.0. I'm getting a few mysterious "Missing file" errors:

The first states that Auth.swift is missing from working copy, but when I browse the path it references, I see the file there:

I've tried removing and reinstalling the SwiftyDropbox CocoaPod to no avail. Any idea what I can try next?

5 Replies

  • @Clifton L.: These issues can be tricky to debug. Often they're transient – would you mind confirming that you've done a clean build on your project (cmd+shift+k) and reset your pods (`rm -rf Pods/; rm Podfile.lock; pod install`)?

  • @Clifton L.: Ok, let's try a few things. I think it might be related to XCode's source control integration. Please try the following:

    Navigate to the SoureControl menu item > Refresh status and see if the missing file error continues.

    In one of our updates, we renamed the Auth.swift file to OAuth.swift, so that might have the source control integration confused.

    Let me know if this works – if it doesn't, we can look at trying other approaches as well.

  • Joe Z.1's avatar
    Joe Z.1
    Explorer | Level 3
    10 years ago

    I have the same problem, a refresh did not help. The issue is that in the Source folder, I have two more folders, Source and SwiftyDropbox, that's why it can't find it - any idea how to fix this?

  • Joe Z.1's avatar
    Joe Z.1
    Explorer | Level 3
    10 years ago

    found the solution - you have to commit all the files with unknown status

About Dropbox API Support & Feedback

Node avatar for 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!