Mobile Gestalt Support Error on iOS app using Swift
up vote
5
down vote
favorite
I am getting the following error on my project and I am not sure what is causing it.
2017-04-04 10:28:39.243789-0500 GBus3[797:148184] libMobileGestalt
MobileGestaltSupport.m:153: pid 797 (GBus3) does not have sandbox access for
frZQaeyWLUvLjeuEK43hmg and IS NOT appropriately entitled
2017-04-04 10:28:39.243948-0500 GBus3[797:148184] libMobileGestalt
MobileGestalt.c:550: no access to InverseDeviceID (see
<rdar://problem/11744455>)
fatal error: unexpectedly found nil while unwrapping an Optional value
2017-04-04 10:28:43.106075-0500 GBus3[797:148184] fatal error: unexpectedly
found nil while unwrapping an Optional value
I believe the error occurs when using a segue to switch between view controllers.
this is the code to execute the segue
func didTapTrackButton () {
performSegue(withIdentifier: "HomeToTrack", sender: self)
}
This is the code for loading the second view controller
override func loadView() {
super.loadView()
// Building a view
let screenFrame = UIScreen.main.bounds
let contentView = UIView(frame: screenFrame)
// Add Map
self.mapView = MKMapView(frame: screenFrame)
self.mapView.delegate = self
contentView.addSubview(self.mapView)
// Set Tracking
self.locationManager.delegate = self
self.locationManager.requestAlwaysAuthorization()
self.mapView.setUserTrackingMode(MKUserTrackingMode.follow, animated: true)
// Set the built view as our view
self.view = contentView
}
ios swift xcode
add a comment |
up vote
5
down vote
favorite
I am getting the following error on my project and I am not sure what is causing it.
2017-04-04 10:28:39.243789-0500 GBus3[797:148184] libMobileGestalt
MobileGestaltSupport.m:153: pid 797 (GBus3) does not have sandbox access for
frZQaeyWLUvLjeuEK43hmg and IS NOT appropriately entitled
2017-04-04 10:28:39.243948-0500 GBus3[797:148184] libMobileGestalt
MobileGestalt.c:550: no access to InverseDeviceID (see
<rdar://problem/11744455>)
fatal error: unexpectedly found nil while unwrapping an Optional value
2017-04-04 10:28:43.106075-0500 GBus3[797:148184] fatal error: unexpectedly
found nil while unwrapping an Optional value
I believe the error occurs when using a segue to switch between view controllers.
this is the code to execute the segue
func didTapTrackButton () {
performSegue(withIdentifier: "HomeToTrack", sender: self)
}
This is the code for loading the second view controller
override func loadView() {
super.loadView()
// Building a view
let screenFrame = UIScreen.main.bounds
let contentView = UIView(frame: screenFrame)
// Add Map
self.mapView = MKMapView(frame: screenFrame)
self.mapView.delegate = self
contentView.addSubview(self.mapView)
// Set Tracking
self.locationManager.delegate = self
self.locationManager.requestAlwaysAuthorization()
self.mapView.setUserTrackingMode(MKUserTrackingMode.follow, animated: true)
// Set the built view as our view
self.view = contentView
}
ios swift xcode
1
Please include the relevant part of your code in the question including a clear indication in what line the error occurs.
– luk2302
Apr 4 '17 at 15:53
The compiler does not say where the error occurs. After using breakpoints I found it is when there is a switch between view controllers, which I have added
– user7770817
Apr 4 '17 at 16:10
Oddly enough this exact same message started showing up in the output for our app - assuming it has something to do with 10.3.1. We're presenting a UIWebView with NSData as the source in a dispatch_async. No idea (yet) which of these are responsible for the log entry
– tg2
Apr 11 '17 at 13:42
I also see this error, (first 2 lines of your log) in a scenekit app on 10.3.1 . Looks like Apple did not update their own libraries, and it's not caused by any user code. The third one, your fatal error, I don't get.
– Jan
Apr 19 '17 at 9:04
Possible duplicate of libMobileGestalt MobileGestaltSupport.m:153 MobileGestalt.c:550 Xcode Console
– Cœur
2 days ago
add a comment |
up vote
5
down vote
favorite
up vote
5
down vote
favorite
I am getting the following error on my project and I am not sure what is causing it.
2017-04-04 10:28:39.243789-0500 GBus3[797:148184] libMobileGestalt
MobileGestaltSupport.m:153: pid 797 (GBus3) does not have sandbox access for
frZQaeyWLUvLjeuEK43hmg and IS NOT appropriately entitled
2017-04-04 10:28:39.243948-0500 GBus3[797:148184] libMobileGestalt
MobileGestalt.c:550: no access to InverseDeviceID (see
<rdar://problem/11744455>)
fatal error: unexpectedly found nil while unwrapping an Optional value
2017-04-04 10:28:43.106075-0500 GBus3[797:148184] fatal error: unexpectedly
found nil while unwrapping an Optional value
I believe the error occurs when using a segue to switch between view controllers.
this is the code to execute the segue
func didTapTrackButton () {
performSegue(withIdentifier: "HomeToTrack", sender: self)
}
This is the code for loading the second view controller
override func loadView() {
super.loadView()
// Building a view
let screenFrame = UIScreen.main.bounds
let contentView = UIView(frame: screenFrame)
// Add Map
self.mapView = MKMapView(frame: screenFrame)
self.mapView.delegate = self
contentView.addSubview(self.mapView)
// Set Tracking
self.locationManager.delegate = self
self.locationManager.requestAlwaysAuthorization()
self.mapView.setUserTrackingMode(MKUserTrackingMode.follow, animated: true)
// Set the built view as our view
self.view = contentView
}
ios swift xcode
I am getting the following error on my project and I am not sure what is causing it.
2017-04-04 10:28:39.243789-0500 GBus3[797:148184] libMobileGestalt
MobileGestaltSupport.m:153: pid 797 (GBus3) does not have sandbox access for
frZQaeyWLUvLjeuEK43hmg and IS NOT appropriately entitled
2017-04-04 10:28:39.243948-0500 GBus3[797:148184] libMobileGestalt
MobileGestalt.c:550: no access to InverseDeviceID (see
<rdar://problem/11744455>)
fatal error: unexpectedly found nil while unwrapping an Optional value
2017-04-04 10:28:43.106075-0500 GBus3[797:148184] fatal error: unexpectedly
found nil while unwrapping an Optional value
I believe the error occurs when using a segue to switch between view controllers.
this is the code to execute the segue
func didTapTrackButton () {
performSegue(withIdentifier: "HomeToTrack", sender: self)
}
This is the code for loading the second view controller
override func loadView() {
super.loadView()
// Building a view
let screenFrame = UIScreen.main.bounds
let contentView = UIView(frame: screenFrame)
// Add Map
self.mapView = MKMapView(frame: screenFrame)
self.mapView.delegate = self
contentView.addSubview(self.mapView)
// Set Tracking
self.locationManager.delegate = self
self.locationManager.requestAlwaysAuthorization()
self.mapView.setUserTrackingMode(MKUserTrackingMode.follow, animated: true)
// Set the built view as our view
self.view = contentView
}
ios swift xcode
ios swift xcode
edited 2 days ago
Cœur
17k9102139
17k9102139
asked Apr 4 '17 at 15:45
user7770817
363
363
1
Please include the relevant part of your code in the question including a clear indication in what line the error occurs.
– luk2302
Apr 4 '17 at 15:53
The compiler does not say where the error occurs. After using breakpoints I found it is when there is a switch between view controllers, which I have added
– user7770817
Apr 4 '17 at 16:10
Oddly enough this exact same message started showing up in the output for our app - assuming it has something to do with 10.3.1. We're presenting a UIWebView with NSData as the source in a dispatch_async. No idea (yet) which of these are responsible for the log entry
– tg2
Apr 11 '17 at 13:42
I also see this error, (first 2 lines of your log) in a scenekit app on 10.3.1 . Looks like Apple did not update their own libraries, and it's not caused by any user code. The third one, your fatal error, I don't get.
– Jan
Apr 19 '17 at 9:04
Possible duplicate of libMobileGestalt MobileGestaltSupport.m:153 MobileGestalt.c:550 Xcode Console
– Cœur
2 days ago
add a comment |
1
Please include the relevant part of your code in the question including a clear indication in what line the error occurs.
– luk2302
Apr 4 '17 at 15:53
The compiler does not say where the error occurs. After using breakpoints I found it is when there is a switch between view controllers, which I have added
– user7770817
Apr 4 '17 at 16:10
Oddly enough this exact same message started showing up in the output for our app - assuming it has something to do with 10.3.1. We're presenting a UIWebView with NSData as the source in a dispatch_async. No idea (yet) which of these are responsible for the log entry
– tg2
Apr 11 '17 at 13:42
I also see this error, (first 2 lines of your log) in a scenekit app on 10.3.1 . Looks like Apple did not update their own libraries, and it's not caused by any user code. The third one, your fatal error, I don't get.
– Jan
Apr 19 '17 at 9:04
Possible duplicate of libMobileGestalt MobileGestaltSupport.m:153 MobileGestalt.c:550 Xcode Console
– Cœur
2 days ago
1
1
Please include the relevant part of your code in the question including a clear indication in what line the error occurs.
– luk2302
Apr 4 '17 at 15:53
Please include the relevant part of your code in the question including a clear indication in what line the error occurs.
– luk2302
Apr 4 '17 at 15:53
The compiler does not say where the error occurs. After using breakpoints I found it is when there is a switch between view controllers, which I have added
– user7770817
Apr 4 '17 at 16:10
The compiler does not say where the error occurs. After using breakpoints I found it is when there is a switch between view controllers, which I have added
– user7770817
Apr 4 '17 at 16:10
Oddly enough this exact same message started showing up in the output for our app - assuming it has something to do with 10.3.1. We're presenting a UIWebView with NSData as the source in a dispatch_async. No idea (yet) which of these are responsible for the log entry
– tg2
Apr 11 '17 at 13:42
Oddly enough this exact same message started showing up in the output for our app - assuming it has something to do with 10.3.1. We're presenting a UIWebView with NSData as the source in a dispatch_async. No idea (yet) which of these are responsible for the log entry
– tg2
Apr 11 '17 at 13:42
I also see this error, (first 2 lines of your log) in a scenekit app on 10.3.1 . Looks like Apple did not update their own libraries, and it's not caused by any user code. The third one, your fatal error, I don't get.
– Jan
Apr 19 '17 at 9:04
I also see this error, (first 2 lines of your log) in a scenekit app on 10.3.1 . Looks like Apple did not update their own libraries, and it's not caused by any user code. The third one, your fatal error, I don't get.
– Jan
Apr 19 '17 at 9:04
Possible duplicate of libMobileGestalt MobileGestaltSupport.m:153 MobileGestalt.c:550 Xcode Console
– Cœur
2 days ago
Possible duplicate of libMobileGestalt MobileGestaltSupport.m:153 MobileGestalt.c:550 Xcode Console
– Cœur
2 days ago
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f43211890%2fmobile-gestalt-support-error-on-ios-app-using-swift%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Please include the relevant part of your code in the question including a clear indication in what line the error occurs.
– luk2302
Apr 4 '17 at 15:53
The compiler does not say where the error occurs. After using breakpoints I found it is when there is a switch between view controllers, which I have added
– user7770817
Apr 4 '17 at 16:10
Oddly enough this exact same message started showing up in the output for our app - assuming it has something to do with 10.3.1. We're presenting a UIWebView with NSData as the source in a dispatch_async. No idea (yet) which of these are responsible for the log entry
– tg2
Apr 11 '17 at 13:42
I also see this error, (first 2 lines of your log) in a scenekit app on 10.3.1 . Looks like Apple did not update their own libraries, and it's not caused by any user code. The third one, your fatal error, I don't get.
– Jan
Apr 19 '17 at 9:04
Possible duplicate of libMobileGestalt MobileGestaltSupport.m:153 MobileGestalt.c:550 Xcode Console
– Cœur
2 days ago