Connect got crash on actual device. plz help!

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

Moderators: Lapo, Bax

wadapav
Posts: 14
Joined: 29 Oct 2018, 11:00

Connect got crash on actual device. plz help!

Postby wadapav » 31 Oct 2018, 13:19

Hi all,
I'm using SFSClient2X API for iOS. Everything's ok in Simulator 5.0. But when i run in actual device (Ipad 2, iOS 5.0.1), it got crash everytime when i do connect to server. Any suggestion? Thank so much!

Code: Select all

if(![client1 isConnected]){
client1 = [[SmartFox2XClient alloc] initSmartFoxWithDebugMode:YES delegate:self];
[client1 connect:txtIP.text port:[txtPort.text intValue]];
}
Last edited by wadapav on 31 Oct 2018, 18:50, edited 1 time in total.
User avatar
Lapo
Site Admin
Posts: 22999
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Connect got crash on actual device. plz help!

Postby Lapo » 31 Oct 2018, 14:55

Hi,
iOS5 is too old and not supported anymore.
As per the documentation here:
http://docs2x.smartfoxserver.com/Gettin ... t-api-objc

the minimum supported IOS version is 7.

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 7 guests