Closed dragon64 closed 10 years ago
It appears your project already had the Dropbox SDK files. If so, I suspect you can just delete the Dropbox SDK reference that you put in originally since you will still have the one CocoaPods gave you.
That's what I initially thought... but I started with a version of my app prior to any sync mods and without using cocoa pods. In the snapshot of the pods that I originally posted, the pods in the project navigator were inserted by the pod file (so both the Dropbox-IOS-SDK and Ensembles/Dropbox folders were not present prior). Here is a before and after using cocaopods of project nav screenshot. I must be doing something wrong but it seems that cocoa pods is added two versions of DropboxSDK. Thanks of for the help!
Before: After:
I'll test this myself and get back to you.
Ok. Thanks!
Sent from my iPhone
On May 28, 2014, at 12:15 PM, Drew McCormack notifications@github.com wrote:
I'll test this myself and get back to you.
— Reply to this email directly or view it on GitHub.
I don't fully understand what the issue is, but I got the same errors as you did, and got rid of them simply by not having
#import <DropboxSDK/DropboxSDK.h>
in my code. Just use
#import <Ensembles/Ensembles.h>
#import "CDEDropboxCloudFileSystem.h"
This will automatically include the dropbox files that you need. I think using DropboxSDK mixes in Mac headers, causing the issue.
I also just got it too work by deleting all but 2 files in /Ensembles/Dropbox. The 2 files I kept are: CDEDropboxCloudFileSystem.h CDEDropboxCloudFileSystem.m
I believe all the files I deleted were duplicates... is this a viable option or should I go with what you suggested?
Thanks for the help...
If it compiles, you are probably OK.
On 28 May 2014, at 19:24, dragon64 notifications@github.com wrote:
I also just got it too work by deleting all but 2 files in /Ensembles/Dropbox. The 2 files I kept are: CDEDropboxCloudFileSystem.h CDEDropboxCloudFileSystem.m
I believe all the files I deleted were duplicates... is this a viable option or should I go with what you suggested?
Thanks for the help...
— Reply to this email directly or view it on GitHub.
Trying out Ensembles (looks good so far BTW) but when trying to import into my app I get build errors. I imported using following pod file:
platform :ios, "7.0" target "NextTime" do pod "Ensembles/Dropbox", "~>1.0" end target "NextTimeTests" do end
Here are some screenshots of: 1) errors
2)Pods in Project navigator showing Dropbox-IOS-SDK and Ensembles/Dropbox folders
3 & 4) paths for duplicate file
Appreciate any help that you can provide. Thanks