I’m using both a Google Places API and a Facebook iOS SDK API in an iOS project. Both API’s come with JSON files that are causing a conflict. What’s the best way to handle this?
the error is: “duplicate interface definition for class ‘SBJsonParser'”
this is after adding the Facebook api. Could they both use the same JSON files?
thanks for any help.
It sounds like you have two copies of the SBJSON files in your project. These were probably imported for both Google and Facebook.
You will need to remove one copy of the files. Both Google and Facebook should happily use a single set of files, but of course you should test to be sure!