Page 1 of 1

Connect got crash on actual device. plz help!

Posted: 31 Oct 2018, 13:19
by wadapav
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]];
}

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

Posted: 31 Oct 2018, 14:55
by Lapo
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