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?
Building fails
- janheuninck
- Posts: 68
- Joined: 23 Nov 2011, 01:35
- Location: Vancouver BC, Canada
- janheuninck
- Posts: 68
- Joined: 23 Nov 2011, 01:35
- Location: Vancouver BC, Canada
- A51Integrated
- Posts: 240
- Joined: 03 Jan 2012, 19:55
- Location: Toronto, Canada
- Contact:
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?
Can you post which warnings you are getting?
A51 Integrated
http://a51integrated.com / +1 416-703-2300
http://a51integrated.com / +1 416-703-2300
- janheuninck
- Posts: 68
- Joined: 23 Nov 2011, 01:35
- Location: Vancouver BC, Canada
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
- A51Integrated
- Posts: 240
- Joined: 03 Jan 2012, 19:55
- Location: Toronto, Canada
- Contact:
- A51Integrated
- Posts: 240
- Joined: 03 Jan 2012, 19:55
- Location: Toronto, Canada
- Contact:
Re: Building fails
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
Sound like it is a ARC problem
Return to “SFS2X iPhone / iPad / OSX API”
Who is online
Users browsing this forum: No registered users and 35 guests