App crashes every time when calling initApp(appId: secret: version:). Previously, this call worked with no problems, and the code generation (objective-c) works with the same App id, secret key, and version. The exception called is
-[Types setSwiftClassPrefix:]: unrecognized selector sent to instance 0x7faca0c27820
2016-04-18 20:57:27.681 AsunderU[1915:36531] *** Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘-[Types setSwiftClassPrefix:]: unrecognized selector sent to instance 0x7faca0c27820’
*** First throw call stack:
(
0 CoreFoundation 0x000000010fd55d85 __exceptionPreprocess + 165
1 libobjc.A.dylib 0x000000011265adeb objc_exception_throw + 48
2 CoreFoundation 0x000000010fd5ed3d -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
3 CoreFoundation 0x000000010fca4cfa ___forwarding___ + 970
4 CoreFoundation 0x000000010fca48a8 _CF_forwarding_prep_0 + 120
5 AsunderU 0x000000010e7767dc -[Backendless initApp:secret:version:] + 548
when calling:
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
backendless.hostURL = “https://api.backendless.com”;
backendless.initApp(APP_ID, secret:SECRET_KEY, version:VERSION_NUM);
What am I doing wrong?