recover from exception on iOS and macOS using signals and log the stacktrace
This commit is contained in:
18
PanoPainter/main.cpp
Normal file
18
PanoPainter/main.cpp
Normal file
@@ -0,0 +1,18 @@
|
||||
//
|
||||
// main.m
|
||||
// PanoPainter
|
||||
//
|
||||
// Created by Omar Mohamed Ali Mudhir on 07/05/17.
|
||||
// Copyright © 2017 Omar Mohamed Ali Mudhir. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
#import "AppDelegate.h"
|
||||
#include "objc_utils.h"
|
||||
|
||||
int main(int argc, char * argv[]) {
|
||||
install_global_handlers();
|
||||
@autoreleasepool {
|
||||
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user