Add some codes in your main.m file like this:
#import "BLAppDelegate.h"
#import "OneAPM/OneAPM.h"
int main(int argc, char * argv[]) {
@autoreleasepool {
[OneAPM startWithApplicationToken:@"token_string_get_from_oneapm"];
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
}
}
Minimum iOS Target: 6.0
OneAPM is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'OneAPM', '~> 2.2.5.6'
OneAPM is available under the MIT license. See the LICENSE file for more info.