Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

Rob N.3's avatar
Rob N.3
New member | Level 1
10 years ago

troubles with SwiftyDropbox pod install => Missing required attribute `source`

I am trying to setup pod  SwiftyDropbox but getting error

Missing required attribute `source`

any ideas where to go from here?

btw Using OSX  Mac El Capitain

 

3 Replies

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    10 years ago

    Hi Rob, can you share your Podfile and version number of CocoaPods? Thanks in advance! 

  • rsimsek's avatar
    rsimsek
    New member | Level 2
    10 years ago
    Hi Greg,
    I have the same problem when i try to install and update dropbox with pod.

    Here is my pod file content.

    platform :ios, '8.0'
    use_frameworks!
    target “SurveyForm” do

    pod 'SwiftyDropbox’, :git =>‘git@github.com:dropbox/SwiftyDropbox.git’, :tag=>’0.2’

    end

    When i try to run pod install
    I get the following error message.

    The `SwiftyDropbox` pod failed to validate due to 1 error.
    [!] The validator for Swift projects uses Swift 3.0 by default, if you are using a different version of swift you can use a `.swift-version` file to set the version for your Pod. For example to use Swift 2.3, run:
    `echo "2.3" > .swift-version`:
    - ERROR | attributes: Missing required attribute `source`.

    Any help would be appreciated.

    Thanks

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!