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.
The simple fix is to remove the submodules attribute and use the files from the Dropbox cocoapods project.
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.
The simple fix is to remove the submodules attribute and use the files from the Dropbox cocoapods project.