API version 1.1.7 Released

Post here your questions about the Objective-C API for SFS2X

Moderators: Lapo, Bax

User avatar
Lapo
Site Admin
Posts: 23025
Joined: 21 Mar 2005, 09:50
Location: Italy

API version 1.1.7 Released

Postby Lapo » 09 Aug 2013, 15:13

A new update is available for iOS and MacOSX, version 1.1.7
Check the Client API page for the release notes and download:
http://www.smartfoxserver.com/download/sfs2x#p=client

Cheers
Lapo
--
gotoAndPlay()
...addicted to flash games
jianchic
Posts: 25
Joined: 08 Apr 2012, 16:38

Re: API version 1.1.7 Released

Postby jianchic » 11 Aug 2013, 13:33

未命名.jpg
(221.67 KiB) Not downloaded yet
User avatar
Lapo
Site Admin
Posts: 23025
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: API version 1.1.7 Released

Postby Lapo » 11 Aug 2013, 16:24

In order to obtain help on a specific issue you will have to describe the error(s),and give us the necessary context.

Thanks
Lapo

--

gotoAndPlay()

...addicted to flash games
davidps
Posts: 11
Joined: 02 Aug 2012, 13:48

Re: API version 1.1.7 Released

Postby davidps » 16 Aug 2013, 08:24

It seems this version, unlike previous versions, is not properly built for armv7s. I'm getting the following error when linking:

Code: Select all

ld: file is universal (2 slices) but does not contain a(n) armv7s slice: /.../Libraries/SFS2XAPIIOS.framework/SFS2XAPIIOS for architecture armv7s
User avatar
Lapo
Site Admin
Posts: 23025
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: API version 1.1.7 Released

Postby Lapo » 16 Aug 2013, 09:20

Thanks for the report.
Could you give us more context about this problem? I am not sure how this error can be reproduced. I've created a couple of test projects under XCode 4.6.2 before the release and everything went smooth.

My tests are targeted at iOS 6.1, armv7, armv7s

Thnx
Lapo

--

gotoAndPlay()

...addicted to flash games
davidps
Posts: 11
Joined: 02 Aug 2012, 13:48

Re: API version 1.1.7 Released

Postby davidps » 16 Aug 2013, 09:49

The settings for our games are basically the same (Xcode 4.6.3, iOS 6.1, universal app targeting armv7 and armv7s). If you run lipo -info over the static library inside the framework, the output is:

Code: Select all

Architectures in the fat file: SFS2XAPIIOS are: i386 armv7


And it should be:

Code: Select all

Architectures in the fat file: SFS2XAPIIOS are: armv7 (cputype (12) cpusubtype (11)) i386


The last one is the output from previous versions of the SDK. So something has changed build-wise, but I'm not sure what to suggest without looking at the project.
User avatar
Lapo
Site Admin
Posts: 23025
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: API version 1.1.7 Released

Postby Lapo » 16 Aug 2013, 11:25

Thanks, we'll take a look and see what happened.
Lapo

--

gotoAndPlay()

...addicted to flash games
balder
Posts: 13
Joined: 10 Nov 2012, 03:36

Re: API version 1.1.7 Released

Postby balder » 17 Aug 2013, 07:31

Yes ,i have the same problem, when i build my program for the iphone5 or the ipad4. There is not problem when build for iphone4s
joha
Posts: 8
Joined: 22 May 2013, 04:56

Re: API version 1.1.7 Released

Postby joha » 20 Aug 2013, 16:51

Hi guys
I'm having the same issue. Could you solve it?
User avatar
Lapo
Site Admin
Posts: 23025
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: API version 1.1.7 Released

Postby Lapo » 20 Aug 2013, 18:42

Working on it :)
Lapo

--

gotoAndPlay()

...addicted to flash games
User avatar
Lapo
Site Admin
Posts: 23025
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: API version 1.1.7 Released

Postby Lapo » 30 Aug 2013, 09:57

There's a new update, version 1.1.8 that has been released today with the fixes discussed here:
http://www.smartfoxserver.com/download/sfs2x#p=client

Cheers
Lapo

--

gotoAndPlay()

...addicted to flash games

Return to “SFS2X iPhone / iPad / OSX API”

Who is online

Users browsing this forum: No registered users and 9 guests