App crashes on ios - related to build errors?


I’m having an issue with an app crashing on ios.

I’m using the following plugins:

cordova-plugin-camera 2.3.0 "Camera"
cordova-plugin-compat 1.0.0 "Compat"
cordova-plugin-console 1.0.4 "Console"
cordova-plugin-device 1.1.3 "Device"
cordova-plugin-email 1.1.1 "EmailComposer"
cordova-plugin-inappbrowser 1.5.0 "InAppBrowser"
cordova-plugin-queries-schemes 0.1.1 "App Queries Strings"
cordova-plugin-splashscreen 4.0.0 "Splashscreen"
cordova-plugin-statusbar 2.2.0 "StatusBar"
cordova-plugin-whitelist 1.3.0 "Whitelist"
cordova-sqlite-storage 1.4.8 "Cordova sqlite storage plugin"
ionic-plugin-keyboard 2.2.1 “Keyboard”

Local Ionic version: 1.3.1

I get the following warnings when I run ionic build ios

Plugins/cordova-plugin-inappbrowser/CDVInAppBrowser.m:631:75: warning: ‘UIBarButtonItemStyleBordered’ is deprecated: first deprecated in iOS 8.0 - Use UIBarButtonItemStylePlain when minimum deployment target is iOS7 or later [-Wdeprecated-declarations]
self.closeButton = [[UIBarButtonItem alloc] initWithTitle:title style:UIBarButtonItemStyleBordered target:self action:@selector(close)];

/Applications/ note: ‘UIBarButtonItemStyleBordered’ has been explicitly marked deprecated here
UIBarButtonItemStyleBordered NS_ENUM_DEPRECATED_IOS(2_0, 8_0, “Use UIBarButtonItemStylePlain when minimum deployment target is iOS7 or later”),

Plugins/cordova-plugin-inappbrowser/CDVInAppBrowser.m:759:19: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
[self.webView loadHTMLString:nil baseURL:nil];

/Plugins/cordova-plugin-inappbrowser/CDVInAppBrowser.m:1055:1: warning: conflicting return type in implementation of ‘supportedInterfaceOrientations’: ‘UIInterfaceOrientationMask’ (aka ‘enum UIInterfaceOrientationMask’) vs ‘NSUInteger’ (aka ‘unsigned int’) [-Wmismatched-return-types]

  • (NSUInteger)supportedInterfaceOrientations

/Applications/ note: previous definition is here
@property(nonatomic, readonly) UIInterfaceOrientationMask supportedInterfaceOrientations NS_AVAILABLE_IOS(6_0) __TVOS_PROHIBITED;

After a period of use on an iphone 6 (can be several days) the app crashes - still appears in the app switcher but can’t be selected

thanks for any help