Hi Backendless
I am getting some odd erros on some backendless calls. This was after I updated a recent project to run on recent Xcode version. All running perfectly before then.
Most backendless calls work fine, but subscribing to real time events and logging users in and out results in a mysterious crash.
‘NSInvalidArgumentException’, reason: ‘-[SocketIO.SocketManager setReconnects:]: unrecognized selector sent to instance 0x280bb7b10’
I guess it is something to do a wrong or misconfigured library. I know, I am still referencing Backendless rather than Backendless Swift in this project, but still it used to work perfectly!!
This code causes an unrecognized selector instance crash, but nothing reported in the catchblock below.
Types.tryblock({ () -> Void in
self.backendless?.userService.logout()
},
catchblock: { (exception) -> Void in
}
)
Here is my podfile
target 'A2' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# Pods for A2
pod 'Backendless'
pod 'SDWebImage', '~> 5.0'
pod 'OneSignal/OneSignal', '>= 5.0.0', '< 6.0'
pod 'OneSignal/OneSignalInAppMessages', '>= 5.0.0', '< 6.0'
pod "PromiseKit", "~> 6.8"
end
Any ideas on what to try?!
Many thanks
Mike