In the documentation on your web site, you have specific instructions how to install backendless into Xcode. I have performed that correctly and the backendless components seem to be working alright. I am following this guide: https://backendless.com/docs/ios/doc.html#quick_start_guide
When I enter the APPID and APIKEY from my backendless website portal, I am receiving several errors in XCode and I cannot compile it or move on. Here are the messages I am receiving:
Exponent has no digits
Use of undeclared identifier
Here is the section of code I from the AppDelegate.m file per your instructions:
[backendless initApp:E109BAFC-D601-4084-FF38-84918EFAE000 apiKey:BD4FA97D-7367-3875-FF0D-6A68FB319300];
// Override point for customization after application launch.
return YES;
}
I have attached a picture of the errors I am receiving.
Please let me know how I can fix this, I am using Objective-C on the latest version of XCode
If you follow the quick start guide, you will not need to copy/paste the Application ID and API Key into the code - they will be included into the generated project automatically. Did you download the project from the Backendless Console as the guide instructs you?
As for the error you are receiving, the app ID and API key values are strings and must be surrounded by double-quotes.
Thank you for your quick response. I did follow the directions in the quick-setup guide, but when I went to edit this file all that was in there was “API_KEY” and “APP_ID”. Which is why I copied and pasted my keys in there.
I did what you said and encllosed both values in double quotes, but now I am recieving a different error. It says:
no visible @interface for “Backendless” declairs the selector initAPP.
Why would I be recieving this? Should I wipe the project off my Mac laptop and delete it from the portal and start over? I worked so hard on it and owuld have to have to do this, but i need to get past these errors.
I suggest to scrap what you have and start over. When you download the project from the console and follow the instructions from the quick start guide, you will get a fully working project which requires no editing whatsoever. It is ready to run and it will show a sample API call which saves an object in the database. Please do that and let us know how far you will get with it.