CySmart iOS Source Code Won't Compile, "Duplicate Interface Definition"

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

I downloaded the latest source code for the CySmart iOS app (CySmart_iOS_1.1.1.57_Source_Code.zip found here http://www.cypress.com/documentation/software-and-drivers/cysmart-mobile-app

   

​I try to compile this using the latest version of Xcode (8.1) but get an error:

   

/Users/aaa/Projects/ccc/CySmart/CySmart/Classes/CBManager/CBManager.h:139:1: Duplicate interface definition for class 'CBManager'

   

Perhaps this used to build with older Xcode, but now there seems to be a problem with duplicate interface definitions ...

   

Does anyone know how to work around this?

0 Likes
1 Solution
AnjanaM_61
Moderator
Moderator
Moderator
5 comments on KBA First comment on KBA 5 questions asked

Hi,

   

The one which available in the web will compile in XCodec 6 and will fail in the higher versions.

   

Please find the updated source code which works with XCodec 8 here: https://www.dropbox.com/s/0690mb9el3gzu3u/cysmart-ios_xcode8.zip?dl=0

   

Thanks,
Anjana

View solution in original post

0 Likes
3 Replies
AnjanaM_61
Moderator
Moderator
Moderator
5 comments on KBA First comment on KBA 5 questions asked

Hi,

   

The one which available in the web will compile in XCodec 6 and will fail in the higher versions.

   

Please find the updated source code which works with XCodec 8 here: https://www.dropbox.com/s/0690mb9el3gzu3u/cysmart-ios_xcode8.zip?dl=0

   

Thanks,
Anjana

0 Likes
Anonymous
Not applicable

Anjana, thanks, I'll give it a try and report back.

0 Likes