Page 1 of 1
Building fails
Posted: 26 Dec 2011, 21:48
by janheuninck
Hey everybody,
I tried importing the SFS iPhone API in my new project, and I followed all the steps in the client-api-setup (
http://docs2x.smartfoxserver.com/Gettin ... etup#objc4). But when I try to build my project, building always fails:
I'm using Xcode Version 4.2.1 and the API that comes with the smartfox 2x RC3 installation. The iOS development target is 5.0.
Am I the only one with this problem?
Posted: 26 Dec 2011, 21:54
by janheuninck
Ok, it works if I disable the ARC (automatic reference counting) in the project settings, but I get lots of warnings...
Posted: 05 Jan 2012, 04:10
by A51Integrated
Thanks for reporting. We'll update the docs for iOS 5 as soon as we have run a complete set of tests.
Can you post which warnings you are getting?
Posted: 06 Jan 2012, 06:03
by janheuninck
These are the warnings I'm getting
Code: Select all
LoggerEvent.m (r35) - Incompatible pointer types sending 'NSDictionary *' to parameter of type 'NSMutableDictionary *'
BitSwarmClient.m (r441 and r442) - Sending 'BitSwarmClient *' to parameter of incompatible type 'id<NSStreamDelegate>'
Data.m (r21) - Incompatible pointer types assigning to 'NSMutableData *' from 'NSData *'
SFSBuddyManager.m (r237) - Incompatible pointer types assigning to 'NSMutableArray *' from 'NSArray *'
SystemController.m (r1058) - Incompatible pointer types sending 'SFSEvent *' to parameter of type 'SFSBuddyEvent *'
SystemController.m (r1066) - Incompatible pointer types sending 'SFSEvent *' to parameter of type 'SFSBuddyEvent *'
SystemController.m (r1084) - Incompatible pointer types sending 'SFSEvent *' to parameter of type 'SFSBuddyEvent *'
SystemController.m (r1092) - Incompatible pointer types sending 'SFSEvent *' to parameter of type 'SFSBuddyEvent *'
SystemController.m (r1110) - Incompatible pointer types sending 'SFSEvent *' to parameter of type 'SFSBuddyEvent *'
SystemController.m (r1124) - Incompatible pointer types sending 'SFSEvent *' to parameter of type 'SFSBuddyEvent *'
SystemController.m (r1144) - Incompatible pointer types sending 'SFSEvent *' to parameter of type 'SFSBuddyEvent *'
SystemController.m (r1158) - Incompatible pointer types sending 'SFSEvent *' to parameter of type 'SFSBuddyEvent *'
SystemController.m (r1203) - Incompatible pointer types sending 'SFSEvent *' to parameter of type 'SFSBuddyEvent *'
SystemController.m (r1215) - Incompatible pointer types sending 'SFSEvent *' to parameter of type 'SFSBuddyEvent *'
SystemController.m (r1265) - Incompatible pointer types sending 'SFSEvent *' to parameter of type 'SFSBuddyEvent *'
SystemController.m (r1275) - Incompatible pointer types sending 'SFSEvent *' to parameter of type 'SFSBuddyEvent *'
CXMLNode.m (r79) - Implicit conversion from enumeration type 'xmlElementType' to different enumeration type 'CXMLNodeKind'
DefaultSFSDataSerializer (r15) - Extra tokens at end of #import directive
Posted: 06 Jan 2012, 11:54
by A51Integrated
Thank you. We'll have a look as soon as we can.
Re: Building fails
Posted: 16 Feb 2012, 04:17
by A51Integrated
All of these errors/warnings are have been fixed in the new release. Please let us know if anything else comes up.
Re: Building fails
Posted: 03 Mar 2012, 04:06
by mystarnee
Sound like it is a ARC problem