Backendless Support
 
Solved

Xcode 9 Beta-2 crashes by Backendless SDK

Hello

I got Xcode9 Beta and it crashes on this code - isValidUserToken()

I did update on SDK but still crashes.

Please try and check ^^;;

if (backendless?.userService.isStayLoggedIn)! {

  1. p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; color: #51c34f; background-color: #292b36}

    let result = backendless?.userService.isValidUserToken()

    print("isValidUserToken: \(String(describing: result?.boolValue))")

    backendless?.userService.setStayLoggedIn((result?.boolValue)!)

    }

Leave a Comment

Comments (6)

photo
1

What version of the SDK do you use?

photo
1

This one - Backendless (3.0.46)

photo
1

Does it crash when you do not use the beta of Xcode?

photo
1

Yeap - it was working on Xcode 8

I just inform you for next official version +_+

photo
1

Thanks, we will look into it. Could be a bug in xcode - their early betas haven't been very stable.

photo
photo
1

Hello KenChoi,

I've checked this issue and it works with Xcode 9 Beta 3. But I highly recommend you to use the stable version of Xcode 8 until Xcode 9 is released out of beta.

Regards, Olga