summaryrefslogtreecommitdiff
path: root/platform/ios/src/MGLSDKUpdateChecker.mm
diff options
context:
space:
mode:
authorFabian Guerra Soto <fabian.guerra@mapbox.com>2019-04-10 13:01:59 -0700
committerGitHub <noreply@github.com>2019-04-10 13:01:59 -0700
commit2f0af0e8f4e1f0fc0dbc4a6b13ab2f098adad0af (patch)
tree69c01c248136ba2c9a80cc8900e2a697acffb3d7 /platform/ios/src/MGLSDKUpdateChecker.mm
parent7bfb9c9658f00b5745fb8aea44b1224278b3190e (diff)
downloadqtlocation-mapboxgl-2f0af0e8f4e1f0fc0dbc4a6b13ab2f098adad0af.tar.gz
[ios] Deactivate MGLMapView IBDesignable (#14379)
Removed MGLMapView's IBDesignable attribute. The map's view render attributes uses GL, making changes through the inspectables were not reflected in the storyboard and were causing IB crashes. * [ios] Deactivate MGLMapView IBDesignable. * [ios] Remove IBDesignable agent code. * [ios, macos] Remove NSProcessInfo category from iOS.
Diffstat (limited to 'platform/ios/src/MGLSDKUpdateChecker.mm')
-rw-r--r--platform/ios/src/MGLSDKUpdateChecker.mm4
1 files changed, 1 insertions, 3 deletions
diff --git a/platform/ios/src/MGLSDKUpdateChecker.mm b/platform/ios/src/MGLSDKUpdateChecker.mm
index c41fc51ac5..cfea139bdb 100644
--- a/platform/ios/src/MGLSDKUpdateChecker.mm
+++ b/platform/ios/src/MGLSDKUpdateChecker.mm
@@ -1,14 +1,12 @@
#import "MGLSDKUpdateChecker.h"
#import "NSBundle+MGLAdditions.h"
-#import "NSProcessInfo+MGLAdditions.h"
@implementation MGLSDKUpdateChecker
+ (void)checkForUpdates {
#if TARGET_IPHONE_SIMULATOR
// Abort if running in a playground.
- if ([[NSBundle mainBundle].bundleIdentifier hasPrefix:@"com.apple.dt.playground."] ||
- NSProcessInfo.processInfo.mgl_isInterfaceBuilderDesignablesAgent) {
+ if ([[NSBundle mainBundle].bundleIdentifier hasPrefix:@"com.apple.dt.playground."]) {
return;
}