首次使用后无后端应用程序崩溃
backendless app crash after its first use
我尝试使用 backendless 作为我的后端,我阅读了文档我使用了他们的示例代码,当我 运行 我的应用程序崩溃并出现以下错误
backendlessTest[9984:8668361] *** Terminating app due to uncaught
exception of class 'Fault' libc++abi.dylib: terminating with uncaught
exception of type Fault
(lldb)
我的密码是
#import "ViewController.h"
#import "Backendless.h"
@interface ViewController ()
@end
@implementation ViewController
- (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after loading the view, typically from a nib.
BackendlessUser *user = [BackendlessUser new];
user.email = @"rawandahmad698@gmail.com";
user.password = @"mypassisHidden";
[backendless.userService registering:user];
}
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}
@end
查看文档的错误处理页面:
https://backendless.com/documentation/users/ios/users_error_handling.htm
专门添加一个try/catch块,确保在抛出错误时处理场景。该错误将包含出错的详细信息。
我尝试使用 backendless 作为我的后端,我阅读了文档我使用了他们的示例代码,当我 运行 我的应用程序崩溃并出现以下错误
backendlessTest[9984:8668361] *** Terminating app due to uncaught exception of class 'Fault' libc++abi.dylib: terminating with uncaught exception of type Fault (lldb)
我的密码是
#import "ViewController.h"
#import "Backendless.h"
@interface ViewController ()
@end
@implementation ViewController
- (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after loading the view, typically from a nib.
BackendlessUser *user = [BackendlessUser new];
user.email = @"rawandahmad698@gmail.com";
user.password = @"mypassisHidden";
[backendless.userService registering:user];
}
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}
@end
查看文档的错误处理页面: https://backendless.com/documentation/users/ios/users_error_handling.htm
专门添加一个try/catch块,确保在抛出错误时处理场景。该错误将包含出错的详细信息。