I was using Backendless a few months ago and had everything working the way I wanted. I took a break but have started back up.
Now, for some reason, a line of code under “fun registerUserAsync()”
var user = BackendlessUser() for some reason crashes my app. I haven’t made any changes and it was working before I left. Has something changed in my account or is there another problem?
It rather seems to be the problem in your Swift code, than with our service. Please look for the error message in log or somewhere and try to find a solution on some Swift resources. If you find that something doesn’t work on our side - please feel free to report, but describe the issue thoroughly.
I’m kind of new to this so please let me know what other information I can provide.
Using breakpoints I found that it is this one line of code:
var user = BackendlessUser()
This line and the entire function is setup exactly as it states in the Backendless tutorial and, again, it was working before and I have made no changes.
The only warning or errors I get are:
warning: could not load any Objective-C class information. This will significantly reduce the quality of type information available.
I’m not sure what to do here. I’m out of options and getting very frustrated. My code worked fine before. I tried to upgrade the SDK and now I have nothing but problems. There must be something with where my files are placed or with the links etc (I’ve checked and the paths point to the necessary files).
Is there anyway you can offer remote support to help me sort through this? I’m at the point where if I can’t get it working I need to find a new Backend.
Download this project and try it. This is a simple app making user registration, login & logout. Try it with your appID & secretKey, and let me know how it goes.