You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

ShiminCai's avatar
ShiminCai
Helpful | Level 6
8 years ago

SwiftyDropbox Import Error

Hi there,

 

I'm using Xcode 8.3.3 and CocoaPods. I successfully installed the SwiftyDropbox and its dependency Alamorefire. Then I opened the generated workspace file and tried to import SwiftyDropbox but got the error "No such module 'SwiftyDropbox'". I tried to remove the derived data and shift-alt-command-k, but did not help. Any ideas please?

 

Many thanks,

 

Shimin

 

The error:

 

 

My Podfile:

 

 

  • Hi Greg-DB,

     

    I created a fresh Xcode project and installed the pods I need (SwiftyDropbox and others). The generated workspace compiled fine without that SwiftyDropbox import error. Then I copied and pasted the Framework Search Paths settings in this new project to replace the same settings in my original project. This removed the SwiftyDropbox import error. Maybe the pod install did not update the Framework Search paths settings in my original project because there were already some settngs there!!!

     

    Thank you very much for your help.

     

    Shimin

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff
    Can you confirm you opened the .xcworkspace and not the .xcodeproj?

    Also, can you share the output you got from `pod install`?
    • ShiminCai's avatar
      ShiminCai
      Helpful | Level 6

      Hi Greg-DB,

       

      Thanks for your reply. I can confirm that I surely opened the .xcworkspace.

       

      pod install output:

       

      Thanks,

       

      Shimin

      • ShiminCai's avatar
        ShiminCai
        Helpful | Level 6

        Hi Greg-DB,

         

        I created a fresh Xcode project and installed the pods I need (SwiftyDropbox and others). The generated workspace compiled fine without that SwiftyDropbox import error. Then I copied and pasted the Framework Search Paths settings in this new project to replace the same settings in my original project. This removed the SwiftyDropbox import error. Maybe the pod install did not update the Framework Search paths settings in my original project because there were already some settngs there!!!

         

        Thank you very much for your help.

         

        Shimin

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,915 PostsLatest Activity: 2 days ago
333 Following

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 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!