Mobile Gestalt Support Error on iOS app using Swift











up vote
5
down vote

favorite
1












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
}









share|improve this question




















  • 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















up vote
5
down vote

favorite
1












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
}









share|improve this question




















  • 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













up vote
5
down vote

favorite
1









up vote
5
down vote

favorite
1






1





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
}









share|improve this question















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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














  • 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

















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















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






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















 

draft saved


draft discarded



















































 


draft saved


draft discarded














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





















































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







Popular posts from this blog

android studio warns about leanback feature tag usage required on manifest while using Unity exported app?

SQL update select statement

WPF add header to Image with URL pettitions [duplicate]