The :submodules attribute causes the Dropbox SDK to be downloaded and the source_files references the header files. Meanwhile, the cocoapods dependency already downloads and includes the same header files (in a different location). The result is a duplicate symbol error.