Xcode Error on Simulation: MGIsDeviceOneOfType is not supported on this platform
I have a very simple application with a single view, containing several UILabels. Upon running a simulation, the Xcode console returns the error:
"libMobileGestalt MobileGestalt.c:875: MGIsDeviceOneOfType is not supported on this platform."
The simulator itself just shows a white screen. I've also tried running it on a developer device with the same white screen. I've searched documentation but can't find any reference to 'MGIsDeviceOneOfType'.
The application is written in Swift in Xcode 10 beta on macOS 10.14. I am attempting to run it on the iPhone 7-X simulators, as well as a development iPhone 7, all running the target software (12.0).
ios swift xcode
|
show 3 more comments
I have a very simple application with a single view, containing several UILabels. Upon running a simulation, the Xcode console returns the error:
"libMobileGestalt MobileGestalt.c:875: MGIsDeviceOneOfType is not supported on this platform."
The simulator itself just shows a white screen. I've also tried running it on a developer device with the same white screen. I've searched documentation but can't find any reference to 'MGIsDeviceOneOfType'.
The application is written in Swift in Xcode 10 beta on macOS 10.14. I am attempting to run it on the iPhone 7-X simulators, as well as a development iPhone 7, all running the target software (12.0).
ios swift xcode
1
You should've mentioned that you are using XCode 10 Beta. btw having the same issue
– kironet
Jun 8 '18 at 12:11
Are you trying to use AWS MobileHub?
– Victor 'Chris' Cabral
Jul 4 '18 at 18:58
I am having the exact same problem. As of the current, there is no obvious way of fixing this problem, after all, the simulator worked fine in the last version. Chances are, Apple are already working on a fix for this, so expect it to work in the next beta. It couldn't hurt to leave a bug report through the feedback app, however, in case Apple are not currently aware of the problem. Sorry I can not give you an actual answer, but I hope it was useful anyways. Thanks for your time, -Jack
– jackwellertk
Jul 21 '18 at 12:53
2
Ran into this error in the debug console when running an instructor's key MVC design app. I am running Xcode 10 (not beta). Didn't get the error when running on actual device.
– Steve Robertson
Sep 18 '18 at 21:37
4
Having this issue after Xcode 10 update (not beta)
– MUH Mobile Inc.
Sep 19 '18 at 18:47
|
show 3 more comments
I have a very simple application with a single view, containing several UILabels. Upon running a simulation, the Xcode console returns the error:
"libMobileGestalt MobileGestalt.c:875: MGIsDeviceOneOfType is not supported on this platform."
The simulator itself just shows a white screen. I've also tried running it on a developer device with the same white screen. I've searched documentation but can't find any reference to 'MGIsDeviceOneOfType'.
The application is written in Swift in Xcode 10 beta on macOS 10.14. I am attempting to run it on the iPhone 7-X simulators, as well as a development iPhone 7, all running the target software (12.0).
ios swift xcode
I have a very simple application with a single view, containing several UILabels. Upon running a simulation, the Xcode console returns the error:
"libMobileGestalt MobileGestalt.c:875: MGIsDeviceOneOfType is not supported on this platform."
The simulator itself just shows a white screen. I've also tried running it on a developer device with the same white screen. I've searched documentation but can't find any reference to 'MGIsDeviceOneOfType'.
The application is written in Swift in Xcode 10 beta on macOS 10.14. I am attempting to run it on the iPhone 7-X simulators, as well as a development iPhone 7, all running the target software (12.0).
ios swift xcode
ios swift xcode
edited Nov 19 '18 at 11:11
Cœur
19.1k9114155
19.1k9114155
asked Jun 5 '18 at 13:27
WoodmanWoodman
4881612
4881612
1
You should've mentioned that you are using XCode 10 Beta. btw having the same issue
– kironet
Jun 8 '18 at 12:11
Are you trying to use AWS MobileHub?
– Victor 'Chris' Cabral
Jul 4 '18 at 18:58
I am having the exact same problem. As of the current, there is no obvious way of fixing this problem, after all, the simulator worked fine in the last version. Chances are, Apple are already working on a fix for this, so expect it to work in the next beta. It couldn't hurt to leave a bug report through the feedback app, however, in case Apple are not currently aware of the problem. Sorry I can not give you an actual answer, but I hope it was useful anyways. Thanks for your time, -Jack
– jackwellertk
Jul 21 '18 at 12:53
2
Ran into this error in the debug console when running an instructor's key MVC design app. I am running Xcode 10 (not beta). Didn't get the error when running on actual device.
– Steve Robertson
Sep 18 '18 at 21:37
4
Having this issue after Xcode 10 update (not beta)
– MUH Mobile Inc.
Sep 19 '18 at 18:47
|
show 3 more comments
1
You should've mentioned that you are using XCode 10 Beta. btw having the same issue
– kironet
Jun 8 '18 at 12:11
Are you trying to use AWS MobileHub?
– Victor 'Chris' Cabral
Jul 4 '18 at 18:58
I am having the exact same problem. As of the current, there is no obvious way of fixing this problem, after all, the simulator worked fine in the last version. Chances are, Apple are already working on a fix for this, so expect it to work in the next beta. It couldn't hurt to leave a bug report through the feedback app, however, in case Apple are not currently aware of the problem. Sorry I can not give you an actual answer, but I hope it was useful anyways. Thanks for your time, -Jack
– jackwellertk
Jul 21 '18 at 12:53
2
Ran into this error in the debug console when running an instructor's key MVC design app. I am running Xcode 10 (not beta). Didn't get the error when running on actual device.
– Steve Robertson
Sep 18 '18 at 21:37
4
Having this issue after Xcode 10 update (not beta)
– MUH Mobile Inc.
Sep 19 '18 at 18:47
1
1
You should've mentioned that you are using XCode 10 Beta. btw having the same issue
– kironet
Jun 8 '18 at 12:11
You should've mentioned that you are using XCode 10 Beta. btw having the same issue
– kironet
Jun 8 '18 at 12:11
Are you trying to use AWS MobileHub?
– Victor 'Chris' Cabral
Jul 4 '18 at 18:58
Are you trying to use AWS MobileHub?
– Victor 'Chris' Cabral
Jul 4 '18 at 18:58
I am having the exact same problem. As of the current, there is no obvious way of fixing this problem, after all, the simulator worked fine in the last version. Chances are, Apple are already working on a fix for this, so expect it to work in the next beta. It couldn't hurt to leave a bug report through the feedback app, however, in case Apple are not currently aware of the problem. Sorry I can not give you an actual answer, but I hope it was useful anyways. Thanks for your time, -Jack
– jackwellertk
Jul 21 '18 at 12:53
I am having the exact same problem. As of the current, there is no obvious way of fixing this problem, after all, the simulator worked fine in the last version. Chances are, Apple are already working on a fix for this, so expect it to work in the next beta. It couldn't hurt to leave a bug report through the feedback app, however, in case Apple are not currently aware of the problem. Sorry I can not give you an actual answer, but I hope it was useful anyways. Thanks for your time, -Jack
– jackwellertk
Jul 21 '18 at 12:53
2
2
Ran into this error in the debug console when running an instructor's key MVC design app. I am running Xcode 10 (not beta). Didn't get the error when running on actual device.
– Steve Robertson
Sep 18 '18 at 21:37
Ran into this error in the debug console when running an instructor's key MVC design app. I am running Xcode 10 (not beta). Didn't get the error when running on actual device.
– Steve Robertson
Sep 18 '18 at 21:37
4
4
Having this issue after Xcode 10 update (not beta)
– MUH Mobile Inc.
Sep 19 '18 at 18:47
Having this issue after Xcode 10 update (not beta)
– MUH Mobile Inc.
Sep 19 '18 at 18:47
|
show 3 more comments
15 Answers
15
active
oldest
votes
MobileGestalt
The libMobileGestalt.dylib provides a central repository for all of the iOS's properties. It can be analogous to OS X's Gestalt, which is part of CoreServices
. OS X's Gestalt is documented for example Gestalt Manager and has been deprecated as of 10.8. MobileGestalt is entirely undocumented by Apple as it is a private library.
MobileGestalt allows for the testing of system properties that may or may not be compatible on different simulators.
Quite a few system processes and apps in iOS rely on MobileGestalt, which is located at /usr/lib/libMobileGestalt.dylib. It's more of a basic library, but its exposed APIs follow the Apple framework conventions and uses the MG
API prefix for example MGIsDeviceOneOfType
.
If you look for MobileGestalt on the iOS filesystem you won't find it - like all private frameworks and libraries, it has been prelinked into the /System/Library/Caches/...etc. If you like hacking and pen-testing then you can use tools to extract it.
MobileGestalt provides plenty of information - around 200 or so queries - on various aspects of the system. Here are a few.
libMobileGestalt.dylib
//Answers to MG queries
MGCopyAnswer(@"5MSZn7w3nnJp22VbpqaxLQ");
MGCopyAnswer(@"7mV26K/1a+wTtqiunvHMUQ");
MGCopyAnswer(@"BasebandAPTimeSync");
MGCopyAnswer(@"BasebandPostponementStatus");
MGCopyAnswer(@"BasebandPostponementStatusBlob");
MGCopyAnswer(@"BasebandSecurityInfoBlob");
MGCopyAnswer(@"BasebandStatus");
MGCopyAnswer(@"BuildVersion");
MGCopyAnswer(@"CoreRoutineCapability");
MGCopyAnswer(@"DeviceClass");
MGCopyAnswer(@"DeviceClassNumber");
MGCopyAnswer(@"DeviceName");
MGCopyAnswer(@"DeviceSupports1080p");
MGCopyAnswer(@"DeviceSupports720p");
MGCopyAnswer(@"DiskUsage");
MGCopyAnswer(@"GSDeviceName");
MGCopyAnswer(@"HWModelStr");
MGCopyAnswer(@"HasBaseband");
MGCopyAnswer(@"InternalBuild");
MGCopyAnswer(@"InverseDeviceID");
MGCopyAnswer(@"IsSimulator");
MGCopyAnswer(@"MLBSerialNumber");
MGCopyAnswer(@"MaxH264PlaybackLevel");
MGCopyAnswer(@"MinimumSupportediTunesVersion");
MGCopyAnswer(@"PasswordConfigured");
MGCopyAnswer(@"PasswordProtected");
MGCopyAnswer(@"ProductType");
MGCopyAnswer(@"ProductVersion");
MGCopyAnswer(@"RegionCode");
MGCopyAnswer(@"RegionalBehaviorNTSC");
MGCopyAnswer(@"RegionalBehaviorNoPasscodeLocationTiles");
MGCopyAnswer(@"ReleaseType");
MGCopyAnswer(@"SIMStatus");
There are hundreds more e.g. AirplaneMode
, MobileEquipmentIdentifier
, etc.
MobileGestalt maintains a table of OSType selector codes.
for example c:890 in the message: libMobileGestalt MobileGestalt.c:890: MGIsDeviceOneOfType is not supported on this platform. In this case MGIsDeviceOneOfType
is a method of the MobileGestalt library.
Instead of checking the simulator version there is a separate selector for directly querying the capabilities of the simulator. The messages most likely indicate incompatibilities between simulator versions and Xcode versions and/or unsupported APIs on the simulator.
2
This seems like a logical reason for the problem. What did you end up doing to fix the issue?
– Brian Sachetta
Oct 31 '18 at 16:05
1
As the very last sentence suggests. Make sure sim versions & Xcode versions are compatible or just use a real device.
– tymac
Nov 3 '18 at 7:13
You wrote 200 or so queries, but apparently there are 673 known obfuscated keys. [edit: oh well, your name is "tymac" and the blog is from "timac" ... probably not a coincidence]
– Cœur
Nov 19 '18 at 11:16
add a comment |
I just installed Xcode 10 Beta and had the same problem. Ran Xcode 9.4.1 and the problem went away.
24
But I want to keep using Xcode 10....
– ScottyBlades
Sep 25 '18 at 4:37
8
This is not a viable answer IMO, especially now that xcode 10 is in the wild and still has this issue. The problem didn't "go away" on xcode 9.4.1 - it never existed to begin with. It's one thing to say "unfortunately this is an xcode 10 issue and we might have to be patient." It's another to ignore it altogether.
– Brian Sachetta
Oct 31 '18 at 15:15
add a comment |
in my case: check your app delegate for method - didFinishLaunching. I had private and get the error. After remove "private" everything works fine
4
Mine was not private.
– ScottyBlades
Sep 25 '18 at 4:37
That was my issue. Thanks!
– Felipe Peña
Oct 25 '18 at 0:00
add a comment |
This error will only occur when testing/debugging on simulators.
The newer the simulator the better.
Case: I run simulator iPhone 8 plus I got this message in the debugger.
Solution: I changed to a newer simulator no error message in the debugger.
add a comment |
If you have fonts provided by the app, you need to add to Info.plist
And check if the file have the Target Membership selected
add a comment |
Ran into this when opening some project from GitHub on Xcode 10.0.
The pragmatic solution was: just hit 'Continue program execution' multiple times and probably disable your exception breakpoint. Apparently the exception was recoverable.
It's not a real solution but it was good enough for me at that point.
add a comment |
In my case, the Target's Deployment Target was at iOS 8. When I pushed it up to iOS 10.3, it ran fine, both on the Simulator and the device.
add a comment |
Am seeing this problem. Using Xcode 10.1. Created a brand new project - doesn't do anything except show a white screen. Discovered it was showing up on simulator for older devices. For example, iPad Pro (12.9 inch) and iPad Pro (12.9 inch) (2nd generation) show the problem, but problem is gone for iPad Pro (12.9 inch) (3rd generation). Does not show up for iPhone XR simulator.
Basically seems annoying.
add a comment |
I had the same issue, but with MapKit, where a MapView did not show up, just the white screen and the same error, MGIsDeviceOneOfType is not supported on this platform.
Solved it by fixing "Ambiguous layout" warnings tied to the MapView object. Now it's working perfectly fine, and the errors went away.
add a comment |
The regular way when strange errors happens helped:
1) Clean project;
2) Shut down simulator;
3) Reinstall pods.
Xcode 10.
add a comment |
What worked for me was to change within general > Deployment Info > Main Interface
to CDVLaunchScreen and do the same within general > App Icons and Launch Images > Launch Screen File
to CDVLaunchScreen as well.
I come from Ionic, so this might not be a problem for those who develop in Swift / Objective-C.
1
How did you fixed it? I was also having the same problem. But this only happens when running it on production in ionic and after that I got stuck in the splash screen loader
– KnowledgeSeeker
Jan 17 at 10:14
add a comment |
For me, with the simulator in question in focus, I selected Hardware->Erase all content and settings.
After the simulator restarted, launching my app worked again, as expected.
add a comment |
I went to XCode -> Preferences -> Components
Ticked all the simulators and the check box to install updates automatically, and then "check and Install now" and went away for a few hours while they all updated.
Now the problem is gone - so in fact, it's as mentioned. New XCode with Old - non-updated simulators.
add a comment |
I have recently updated to Xcode 10.2
and when I tried to run a project created in earlier version, Same error occurred.
The problem was that simulator was running before updating Xcode.
Solution was very simple for me to quit Simulator and restart so that it can get the new changes. I don't think the model of the simulator (iPhone SE or iPhone X) matters. You just need to restart your simulator for it to take effect of new update.
I would recommend to quit both Xcode and simulator and restart your Mac.
add a comment |
Pragmatic answer: try an other simulator. The newer the iPhone model the better.
add a comment |
protected by Community♦ Oct 14 '18 at 5:09
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
15 Answers
15
active
oldest
votes
15 Answers
15
active
oldest
votes
active
oldest
votes
active
oldest
votes
MobileGestalt
The libMobileGestalt.dylib provides a central repository for all of the iOS's properties. It can be analogous to OS X's Gestalt, which is part of CoreServices
. OS X's Gestalt is documented for example Gestalt Manager and has been deprecated as of 10.8. MobileGestalt is entirely undocumented by Apple as it is a private library.
MobileGestalt allows for the testing of system properties that may or may not be compatible on different simulators.
Quite a few system processes and apps in iOS rely on MobileGestalt, which is located at /usr/lib/libMobileGestalt.dylib. It's more of a basic library, but its exposed APIs follow the Apple framework conventions and uses the MG
API prefix for example MGIsDeviceOneOfType
.
If you look for MobileGestalt on the iOS filesystem you won't find it - like all private frameworks and libraries, it has been prelinked into the /System/Library/Caches/...etc. If you like hacking and pen-testing then you can use tools to extract it.
MobileGestalt provides plenty of information - around 200 or so queries - on various aspects of the system. Here are a few.
libMobileGestalt.dylib
//Answers to MG queries
MGCopyAnswer(@"5MSZn7w3nnJp22VbpqaxLQ");
MGCopyAnswer(@"7mV26K/1a+wTtqiunvHMUQ");
MGCopyAnswer(@"BasebandAPTimeSync");
MGCopyAnswer(@"BasebandPostponementStatus");
MGCopyAnswer(@"BasebandPostponementStatusBlob");
MGCopyAnswer(@"BasebandSecurityInfoBlob");
MGCopyAnswer(@"BasebandStatus");
MGCopyAnswer(@"BuildVersion");
MGCopyAnswer(@"CoreRoutineCapability");
MGCopyAnswer(@"DeviceClass");
MGCopyAnswer(@"DeviceClassNumber");
MGCopyAnswer(@"DeviceName");
MGCopyAnswer(@"DeviceSupports1080p");
MGCopyAnswer(@"DeviceSupports720p");
MGCopyAnswer(@"DiskUsage");
MGCopyAnswer(@"GSDeviceName");
MGCopyAnswer(@"HWModelStr");
MGCopyAnswer(@"HasBaseband");
MGCopyAnswer(@"InternalBuild");
MGCopyAnswer(@"InverseDeviceID");
MGCopyAnswer(@"IsSimulator");
MGCopyAnswer(@"MLBSerialNumber");
MGCopyAnswer(@"MaxH264PlaybackLevel");
MGCopyAnswer(@"MinimumSupportediTunesVersion");
MGCopyAnswer(@"PasswordConfigured");
MGCopyAnswer(@"PasswordProtected");
MGCopyAnswer(@"ProductType");
MGCopyAnswer(@"ProductVersion");
MGCopyAnswer(@"RegionCode");
MGCopyAnswer(@"RegionalBehaviorNTSC");
MGCopyAnswer(@"RegionalBehaviorNoPasscodeLocationTiles");
MGCopyAnswer(@"ReleaseType");
MGCopyAnswer(@"SIMStatus");
There are hundreds more e.g. AirplaneMode
, MobileEquipmentIdentifier
, etc.
MobileGestalt maintains a table of OSType selector codes.
for example c:890 in the message: libMobileGestalt MobileGestalt.c:890: MGIsDeviceOneOfType is not supported on this platform. In this case MGIsDeviceOneOfType
is a method of the MobileGestalt library.
Instead of checking the simulator version there is a separate selector for directly querying the capabilities of the simulator. The messages most likely indicate incompatibilities between simulator versions and Xcode versions and/or unsupported APIs on the simulator.
2
This seems like a logical reason for the problem. What did you end up doing to fix the issue?
– Brian Sachetta
Oct 31 '18 at 16:05
1
As the very last sentence suggests. Make sure sim versions & Xcode versions are compatible or just use a real device.
– tymac
Nov 3 '18 at 7:13
You wrote 200 or so queries, but apparently there are 673 known obfuscated keys. [edit: oh well, your name is "tymac" and the blog is from "timac" ... probably not a coincidence]
– Cœur
Nov 19 '18 at 11:16
add a comment |
MobileGestalt
The libMobileGestalt.dylib provides a central repository for all of the iOS's properties. It can be analogous to OS X's Gestalt, which is part of CoreServices
. OS X's Gestalt is documented for example Gestalt Manager and has been deprecated as of 10.8. MobileGestalt is entirely undocumented by Apple as it is a private library.
MobileGestalt allows for the testing of system properties that may or may not be compatible on different simulators.
Quite a few system processes and apps in iOS rely on MobileGestalt, which is located at /usr/lib/libMobileGestalt.dylib. It's more of a basic library, but its exposed APIs follow the Apple framework conventions and uses the MG
API prefix for example MGIsDeviceOneOfType
.
If you look for MobileGestalt on the iOS filesystem you won't find it - like all private frameworks and libraries, it has been prelinked into the /System/Library/Caches/...etc. If you like hacking and pen-testing then you can use tools to extract it.
MobileGestalt provides plenty of information - around 200 or so queries - on various aspects of the system. Here are a few.
libMobileGestalt.dylib
//Answers to MG queries
MGCopyAnswer(@"5MSZn7w3nnJp22VbpqaxLQ");
MGCopyAnswer(@"7mV26K/1a+wTtqiunvHMUQ");
MGCopyAnswer(@"BasebandAPTimeSync");
MGCopyAnswer(@"BasebandPostponementStatus");
MGCopyAnswer(@"BasebandPostponementStatusBlob");
MGCopyAnswer(@"BasebandSecurityInfoBlob");
MGCopyAnswer(@"BasebandStatus");
MGCopyAnswer(@"BuildVersion");
MGCopyAnswer(@"CoreRoutineCapability");
MGCopyAnswer(@"DeviceClass");
MGCopyAnswer(@"DeviceClassNumber");
MGCopyAnswer(@"DeviceName");
MGCopyAnswer(@"DeviceSupports1080p");
MGCopyAnswer(@"DeviceSupports720p");
MGCopyAnswer(@"DiskUsage");
MGCopyAnswer(@"GSDeviceName");
MGCopyAnswer(@"HWModelStr");
MGCopyAnswer(@"HasBaseband");
MGCopyAnswer(@"InternalBuild");
MGCopyAnswer(@"InverseDeviceID");
MGCopyAnswer(@"IsSimulator");
MGCopyAnswer(@"MLBSerialNumber");
MGCopyAnswer(@"MaxH264PlaybackLevel");
MGCopyAnswer(@"MinimumSupportediTunesVersion");
MGCopyAnswer(@"PasswordConfigured");
MGCopyAnswer(@"PasswordProtected");
MGCopyAnswer(@"ProductType");
MGCopyAnswer(@"ProductVersion");
MGCopyAnswer(@"RegionCode");
MGCopyAnswer(@"RegionalBehaviorNTSC");
MGCopyAnswer(@"RegionalBehaviorNoPasscodeLocationTiles");
MGCopyAnswer(@"ReleaseType");
MGCopyAnswer(@"SIMStatus");
There are hundreds more e.g. AirplaneMode
, MobileEquipmentIdentifier
, etc.
MobileGestalt maintains a table of OSType selector codes.
for example c:890 in the message: libMobileGestalt MobileGestalt.c:890: MGIsDeviceOneOfType is not supported on this platform. In this case MGIsDeviceOneOfType
is a method of the MobileGestalt library.
Instead of checking the simulator version there is a separate selector for directly querying the capabilities of the simulator. The messages most likely indicate incompatibilities between simulator versions and Xcode versions and/or unsupported APIs on the simulator.
2
This seems like a logical reason for the problem. What did you end up doing to fix the issue?
– Brian Sachetta
Oct 31 '18 at 16:05
1
As the very last sentence suggests. Make sure sim versions & Xcode versions are compatible or just use a real device.
– tymac
Nov 3 '18 at 7:13
You wrote 200 or so queries, but apparently there are 673 known obfuscated keys. [edit: oh well, your name is "tymac" and the blog is from "timac" ... probably not a coincidence]
– Cœur
Nov 19 '18 at 11:16
add a comment |
MobileGestalt
The libMobileGestalt.dylib provides a central repository for all of the iOS's properties. It can be analogous to OS X's Gestalt, which is part of CoreServices
. OS X's Gestalt is documented for example Gestalt Manager and has been deprecated as of 10.8. MobileGestalt is entirely undocumented by Apple as it is a private library.
MobileGestalt allows for the testing of system properties that may or may not be compatible on different simulators.
Quite a few system processes and apps in iOS rely on MobileGestalt, which is located at /usr/lib/libMobileGestalt.dylib. It's more of a basic library, but its exposed APIs follow the Apple framework conventions and uses the MG
API prefix for example MGIsDeviceOneOfType
.
If you look for MobileGestalt on the iOS filesystem you won't find it - like all private frameworks and libraries, it has been prelinked into the /System/Library/Caches/...etc. If you like hacking and pen-testing then you can use tools to extract it.
MobileGestalt provides plenty of information - around 200 or so queries - on various aspects of the system. Here are a few.
libMobileGestalt.dylib
//Answers to MG queries
MGCopyAnswer(@"5MSZn7w3nnJp22VbpqaxLQ");
MGCopyAnswer(@"7mV26K/1a+wTtqiunvHMUQ");
MGCopyAnswer(@"BasebandAPTimeSync");
MGCopyAnswer(@"BasebandPostponementStatus");
MGCopyAnswer(@"BasebandPostponementStatusBlob");
MGCopyAnswer(@"BasebandSecurityInfoBlob");
MGCopyAnswer(@"BasebandStatus");
MGCopyAnswer(@"BuildVersion");
MGCopyAnswer(@"CoreRoutineCapability");
MGCopyAnswer(@"DeviceClass");
MGCopyAnswer(@"DeviceClassNumber");
MGCopyAnswer(@"DeviceName");
MGCopyAnswer(@"DeviceSupports1080p");
MGCopyAnswer(@"DeviceSupports720p");
MGCopyAnswer(@"DiskUsage");
MGCopyAnswer(@"GSDeviceName");
MGCopyAnswer(@"HWModelStr");
MGCopyAnswer(@"HasBaseband");
MGCopyAnswer(@"InternalBuild");
MGCopyAnswer(@"InverseDeviceID");
MGCopyAnswer(@"IsSimulator");
MGCopyAnswer(@"MLBSerialNumber");
MGCopyAnswer(@"MaxH264PlaybackLevel");
MGCopyAnswer(@"MinimumSupportediTunesVersion");
MGCopyAnswer(@"PasswordConfigured");
MGCopyAnswer(@"PasswordProtected");
MGCopyAnswer(@"ProductType");
MGCopyAnswer(@"ProductVersion");
MGCopyAnswer(@"RegionCode");
MGCopyAnswer(@"RegionalBehaviorNTSC");
MGCopyAnswer(@"RegionalBehaviorNoPasscodeLocationTiles");
MGCopyAnswer(@"ReleaseType");
MGCopyAnswer(@"SIMStatus");
There are hundreds more e.g. AirplaneMode
, MobileEquipmentIdentifier
, etc.
MobileGestalt maintains a table of OSType selector codes.
for example c:890 in the message: libMobileGestalt MobileGestalt.c:890: MGIsDeviceOneOfType is not supported on this platform. In this case MGIsDeviceOneOfType
is a method of the MobileGestalt library.
Instead of checking the simulator version there is a separate selector for directly querying the capabilities of the simulator. The messages most likely indicate incompatibilities between simulator versions and Xcode versions and/or unsupported APIs on the simulator.
MobileGestalt
The libMobileGestalt.dylib provides a central repository for all of the iOS's properties. It can be analogous to OS X's Gestalt, which is part of CoreServices
. OS X's Gestalt is documented for example Gestalt Manager and has been deprecated as of 10.8. MobileGestalt is entirely undocumented by Apple as it is a private library.
MobileGestalt allows for the testing of system properties that may or may not be compatible on different simulators.
Quite a few system processes and apps in iOS rely on MobileGestalt, which is located at /usr/lib/libMobileGestalt.dylib. It's more of a basic library, but its exposed APIs follow the Apple framework conventions and uses the MG
API prefix for example MGIsDeviceOneOfType
.
If you look for MobileGestalt on the iOS filesystem you won't find it - like all private frameworks and libraries, it has been prelinked into the /System/Library/Caches/...etc. If you like hacking and pen-testing then you can use tools to extract it.
MobileGestalt provides plenty of information - around 200 or so queries - on various aspects of the system. Here are a few.
libMobileGestalt.dylib
//Answers to MG queries
MGCopyAnswer(@"5MSZn7w3nnJp22VbpqaxLQ");
MGCopyAnswer(@"7mV26K/1a+wTtqiunvHMUQ");
MGCopyAnswer(@"BasebandAPTimeSync");
MGCopyAnswer(@"BasebandPostponementStatus");
MGCopyAnswer(@"BasebandPostponementStatusBlob");
MGCopyAnswer(@"BasebandSecurityInfoBlob");
MGCopyAnswer(@"BasebandStatus");
MGCopyAnswer(@"BuildVersion");
MGCopyAnswer(@"CoreRoutineCapability");
MGCopyAnswer(@"DeviceClass");
MGCopyAnswer(@"DeviceClassNumber");
MGCopyAnswer(@"DeviceName");
MGCopyAnswer(@"DeviceSupports1080p");
MGCopyAnswer(@"DeviceSupports720p");
MGCopyAnswer(@"DiskUsage");
MGCopyAnswer(@"GSDeviceName");
MGCopyAnswer(@"HWModelStr");
MGCopyAnswer(@"HasBaseband");
MGCopyAnswer(@"InternalBuild");
MGCopyAnswer(@"InverseDeviceID");
MGCopyAnswer(@"IsSimulator");
MGCopyAnswer(@"MLBSerialNumber");
MGCopyAnswer(@"MaxH264PlaybackLevel");
MGCopyAnswer(@"MinimumSupportediTunesVersion");
MGCopyAnswer(@"PasswordConfigured");
MGCopyAnswer(@"PasswordProtected");
MGCopyAnswer(@"ProductType");
MGCopyAnswer(@"ProductVersion");
MGCopyAnswer(@"RegionCode");
MGCopyAnswer(@"RegionalBehaviorNTSC");
MGCopyAnswer(@"RegionalBehaviorNoPasscodeLocationTiles");
MGCopyAnswer(@"ReleaseType");
MGCopyAnswer(@"SIMStatus");
There are hundreds more e.g. AirplaneMode
, MobileEquipmentIdentifier
, etc.
MobileGestalt maintains a table of OSType selector codes.
for example c:890 in the message: libMobileGestalt MobileGestalt.c:890: MGIsDeviceOneOfType is not supported on this platform. In this case MGIsDeviceOneOfType
is a method of the MobileGestalt library.
Instead of checking the simulator version there is a separate selector for directly querying the capabilities of the simulator. The messages most likely indicate incompatibilities between simulator versions and Xcode versions and/or unsupported APIs on the simulator.
edited Feb 26 at 8:38
answered Oct 18 '18 at 12:35
tymactymac
8,37632337
8,37632337
2
This seems like a logical reason for the problem. What did you end up doing to fix the issue?
– Brian Sachetta
Oct 31 '18 at 16:05
1
As the very last sentence suggests. Make sure sim versions & Xcode versions are compatible or just use a real device.
– tymac
Nov 3 '18 at 7:13
You wrote 200 or so queries, but apparently there are 673 known obfuscated keys. [edit: oh well, your name is "tymac" and the blog is from "timac" ... probably not a coincidence]
– Cœur
Nov 19 '18 at 11:16
add a comment |
2
This seems like a logical reason for the problem. What did you end up doing to fix the issue?
– Brian Sachetta
Oct 31 '18 at 16:05
1
As the very last sentence suggests. Make sure sim versions & Xcode versions are compatible or just use a real device.
– tymac
Nov 3 '18 at 7:13
You wrote 200 or so queries, but apparently there are 673 known obfuscated keys. [edit: oh well, your name is "tymac" and the blog is from "timac" ... probably not a coincidence]
– Cœur
Nov 19 '18 at 11:16
2
2
This seems like a logical reason for the problem. What did you end up doing to fix the issue?
– Brian Sachetta
Oct 31 '18 at 16:05
This seems like a logical reason for the problem. What did you end up doing to fix the issue?
– Brian Sachetta
Oct 31 '18 at 16:05
1
1
As the very last sentence suggests. Make sure sim versions & Xcode versions are compatible or just use a real device.
– tymac
Nov 3 '18 at 7:13
As the very last sentence suggests. Make sure sim versions & Xcode versions are compatible or just use a real device.
– tymac
Nov 3 '18 at 7:13
You wrote 200 or so queries, but apparently there are 673 known obfuscated keys. [edit: oh well, your name is "tymac" and the blog is from "timac" ... probably not a coincidence]
– Cœur
Nov 19 '18 at 11:16
You wrote 200 or so queries, but apparently there are 673 known obfuscated keys. [edit: oh well, your name is "tymac" and the blog is from "timac" ... probably not a coincidence]
– Cœur
Nov 19 '18 at 11:16
add a comment |
I just installed Xcode 10 Beta and had the same problem. Ran Xcode 9.4.1 and the problem went away.
24
But I want to keep using Xcode 10....
– ScottyBlades
Sep 25 '18 at 4:37
8
This is not a viable answer IMO, especially now that xcode 10 is in the wild and still has this issue. The problem didn't "go away" on xcode 9.4.1 - it never existed to begin with. It's one thing to say "unfortunately this is an xcode 10 issue and we might have to be patient." It's another to ignore it altogether.
– Brian Sachetta
Oct 31 '18 at 15:15
add a comment |
I just installed Xcode 10 Beta and had the same problem. Ran Xcode 9.4.1 and the problem went away.
24
But I want to keep using Xcode 10....
– ScottyBlades
Sep 25 '18 at 4:37
8
This is not a viable answer IMO, especially now that xcode 10 is in the wild and still has this issue. The problem didn't "go away" on xcode 9.4.1 - it never existed to begin with. It's one thing to say "unfortunately this is an xcode 10 issue and we might have to be patient." It's another to ignore it altogether.
– Brian Sachetta
Oct 31 '18 at 15:15
add a comment |
I just installed Xcode 10 Beta and had the same problem. Ran Xcode 9.4.1 and the problem went away.
I just installed Xcode 10 Beta and had the same problem. Ran Xcode 9.4.1 and the problem went away.
edited Sep 21 '18 at 1:55
mokagio
8,68723243
8,68723243
answered Jun 20 '18 at 21:45
tjmistertjmister
1152
1152
24
But I want to keep using Xcode 10....
– ScottyBlades
Sep 25 '18 at 4:37
8
This is not a viable answer IMO, especially now that xcode 10 is in the wild and still has this issue. The problem didn't "go away" on xcode 9.4.1 - it never existed to begin with. It's one thing to say "unfortunately this is an xcode 10 issue and we might have to be patient." It's another to ignore it altogether.
– Brian Sachetta
Oct 31 '18 at 15:15
add a comment |
24
But I want to keep using Xcode 10....
– ScottyBlades
Sep 25 '18 at 4:37
8
This is not a viable answer IMO, especially now that xcode 10 is in the wild and still has this issue. The problem didn't "go away" on xcode 9.4.1 - it never existed to begin with. It's one thing to say "unfortunately this is an xcode 10 issue and we might have to be patient." It's another to ignore it altogether.
– Brian Sachetta
Oct 31 '18 at 15:15
24
24
But I want to keep using Xcode 10....
– ScottyBlades
Sep 25 '18 at 4:37
But I want to keep using Xcode 10....
– ScottyBlades
Sep 25 '18 at 4:37
8
8
This is not a viable answer IMO, especially now that xcode 10 is in the wild and still has this issue. The problem didn't "go away" on xcode 9.4.1 - it never existed to begin with. It's one thing to say "unfortunately this is an xcode 10 issue and we might have to be patient." It's another to ignore it altogether.
– Brian Sachetta
Oct 31 '18 at 15:15
This is not a viable answer IMO, especially now that xcode 10 is in the wild and still has this issue. The problem didn't "go away" on xcode 9.4.1 - it never existed to begin with. It's one thing to say "unfortunately this is an xcode 10 issue and we might have to be patient." It's another to ignore it altogether.
– Brian Sachetta
Oct 31 '18 at 15:15
add a comment |
in my case: check your app delegate for method - didFinishLaunching. I had private and get the error. After remove "private" everything works fine
4
Mine was not private.
– ScottyBlades
Sep 25 '18 at 4:37
That was my issue. Thanks!
– Felipe Peña
Oct 25 '18 at 0:00
add a comment |
in my case: check your app delegate for method - didFinishLaunching. I had private and get the error. After remove "private" everything works fine
4
Mine was not private.
– ScottyBlades
Sep 25 '18 at 4:37
That was my issue. Thanks!
– Felipe Peña
Oct 25 '18 at 0:00
add a comment |
in my case: check your app delegate for method - didFinishLaunching. I had private and get the error. After remove "private" everything works fine
in my case: check your app delegate for method - didFinishLaunching. I had private and get the error. After remove "private" everything works fine
answered Sep 13 '18 at 18:17
ankmaraankmara
132211
132211
4
Mine was not private.
– ScottyBlades
Sep 25 '18 at 4:37
That was my issue. Thanks!
– Felipe Peña
Oct 25 '18 at 0:00
add a comment |
4
Mine was not private.
– ScottyBlades
Sep 25 '18 at 4:37
That was my issue. Thanks!
– Felipe Peña
Oct 25 '18 at 0:00
4
4
Mine was not private.
– ScottyBlades
Sep 25 '18 at 4:37
Mine was not private.
– ScottyBlades
Sep 25 '18 at 4:37
That was my issue. Thanks!
– Felipe Peña
Oct 25 '18 at 0:00
That was my issue. Thanks!
– Felipe Peña
Oct 25 '18 at 0:00
add a comment |
This error will only occur when testing/debugging on simulators.
The newer the simulator the better.
Case: I run simulator iPhone 8 plus I got this message in the debugger.
Solution: I changed to a newer simulator no error message in the debugger.
add a comment |
This error will only occur when testing/debugging on simulators.
The newer the simulator the better.
Case: I run simulator iPhone 8 plus I got this message in the debugger.
Solution: I changed to a newer simulator no error message in the debugger.
add a comment |
This error will only occur when testing/debugging on simulators.
The newer the simulator the better.
Case: I run simulator iPhone 8 plus I got this message in the debugger.
Solution: I changed to a newer simulator no error message in the debugger.
This error will only occur when testing/debugging on simulators.
The newer the simulator the better.
Case: I run simulator iPhone 8 plus I got this message in the debugger.
Solution: I changed to a newer simulator no error message in the debugger.
answered Nov 23 '18 at 8:19
JhonnyTawkJhonnyTawk
10917
10917
add a comment |
add a comment |
If you have fonts provided by the app, you need to add to Info.plist
And check if the file have the Target Membership selected
add a comment |
If you have fonts provided by the app, you need to add to Info.plist
And check if the file have the Target Membership selected
add a comment |
If you have fonts provided by the app, you need to add to Info.plist
And check if the file have the Target Membership selected
If you have fonts provided by the app, you need to add to Info.plist
And check if the file have the Target Membership selected
edited Oct 1 '18 at 20:36
answered Oct 1 '18 at 20:30
Nuno FerroNuno Ferro
1,004109
1,004109
add a comment |
add a comment |
Ran into this when opening some project from GitHub on Xcode 10.0.
The pragmatic solution was: just hit 'Continue program execution' multiple times and probably disable your exception breakpoint. Apparently the exception was recoverable.
It's not a real solution but it was good enough for me at that point.
add a comment |
Ran into this when opening some project from GitHub on Xcode 10.0.
The pragmatic solution was: just hit 'Continue program execution' multiple times and probably disable your exception breakpoint. Apparently the exception was recoverable.
It's not a real solution but it was good enough for me at that point.
add a comment |
Ran into this when opening some project from GitHub on Xcode 10.0.
The pragmatic solution was: just hit 'Continue program execution' multiple times and probably disable your exception breakpoint. Apparently the exception was recoverable.
It's not a real solution but it was good enough for me at that point.
Ran into this when opening some project from GitHub on Xcode 10.0.
The pragmatic solution was: just hit 'Continue program execution' multiple times and probably disable your exception breakpoint. Apparently the exception was recoverable.
It's not a real solution but it was good enough for me at that point.
answered Oct 11 '18 at 8:17
de.de.
1,0491222
1,0491222
add a comment |
add a comment |
In my case, the Target's Deployment Target was at iOS 8. When I pushed it up to iOS 10.3, it ran fine, both on the Simulator and the device.
add a comment |
In my case, the Target's Deployment Target was at iOS 8. When I pushed it up to iOS 10.3, it ran fine, both on the Simulator and the device.
add a comment |
In my case, the Target's Deployment Target was at iOS 8. When I pushed it up to iOS 10.3, it ran fine, both on the Simulator and the device.
In my case, the Target's Deployment Target was at iOS 8. When I pushed it up to iOS 10.3, it ran fine, both on the Simulator and the device.
answered Oct 17 '18 at 12:51
Bharathram CBharathram C
10136
10136
add a comment |
add a comment |
Am seeing this problem. Using Xcode 10.1. Created a brand new project - doesn't do anything except show a white screen. Discovered it was showing up on simulator for older devices. For example, iPad Pro (12.9 inch) and iPad Pro (12.9 inch) (2nd generation) show the problem, but problem is gone for iPad Pro (12.9 inch) (3rd generation). Does not show up for iPhone XR simulator.
Basically seems annoying.
add a comment |
Am seeing this problem. Using Xcode 10.1. Created a brand new project - doesn't do anything except show a white screen. Discovered it was showing up on simulator for older devices. For example, iPad Pro (12.9 inch) and iPad Pro (12.9 inch) (2nd generation) show the problem, but problem is gone for iPad Pro (12.9 inch) (3rd generation). Does not show up for iPhone XR simulator.
Basically seems annoying.
add a comment |
Am seeing this problem. Using Xcode 10.1. Created a brand new project - doesn't do anything except show a white screen. Discovered it was showing up on simulator for older devices. For example, iPad Pro (12.9 inch) and iPad Pro (12.9 inch) (2nd generation) show the problem, but problem is gone for iPad Pro (12.9 inch) (3rd generation). Does not show up for iPhone XR simulator.
Basically seems annoying.
Am seeing this problem. Using Xcode 10.1. Created a brand new project - doesn't do anything except show a white screen. Discovered it was showing up on simulator for older devices. For example, iPad Pro (12.9 inch) and iPad Pro (12.9 inch) (2nd generation) show the problem, but problem is gone for iPad Pro (12.9 inch) (3rd generation). Does not show up for iPhone XR simulator.
Basically seems annoying.
answered Dec 15 '18 at 22:48
anorskdevanorskdev
1,1641813
1,1641813
add a comment |
add a comment |
I had the same issue, but with MapKit, where a MapView did not show up, just the white screen and the same error, MGIsDeviceOneOfType is not supported on this platform.
Solved it by fixing "Ambiguous layout" warnings tied to the MapView object. Now it's working perfectly fine, and the errors went away.
add a comment |
I had the same issue, but with MapKit, where a MapView did not show up, just the white screen and the same error, MGIsDeviceOneOfType is not supported on this platform.
Solved it by fixing "Ambiguous layout" warnings tied to the MapView object. Now it's working perfectly fine, and the errors went away.
add a comment |
I had the same issue, but with MapKit, where a MapView did not show up, just the white screen and the same error, MGIsDeviceOneOfType is not supported on this platform.
Solved it by fixing "Ambiguous layout" warnings tied to the MapView object. Now it's working perfectly fine, and the errors went away.
I had the same issue, but with MapKit, where a MapView did not show up, just the white screen and the same error, MGIsDeviceOneOfType is not supported on this platform.
Solved it by fixing "Ambiguous layout" warnings tied to the MapView object. Now it's working perfectly fine, and the errors went away.
answered Sep 27 '18 at 16:39
StrudelStrudel
11
11
add a comment |
add a comment |
The regular way when strange errors happens helped:
1) Clean project;
2) Shut down simulator;
3) Reinstall pods.
Xcode 10.
add a comment |
The regular way when strange errors happens helped:
1) Clean project;
2) Shut down simulator;
3) Reinstall pods.
Xcode 10.
add a comment |
The regular way when strange errors happens helped:
1) Clean project;
2) Shut down simulator;
3) Reinstall pods.
Xcode 10.
The regular way when strange errors happens helped:
1) Clean project;
2) Shut down simulator;
3) Reinstall pods.
Xcode 10.
answered Dec 14 '18 at 19:44
Nik KovNik Kov
3,6002955
3,6002955
add a comment |
add a comment |
What worked for me was to change within general > Deployment Info > Main Interface
to CDVLaunchScreen and do the same within general > App Icons and Launch Images > Launch Screen File
to CDVLaunchScreen as well.
I come from Ionic, so this might not be a problem for those who develop in Swift / Objective-C.
1
How did you fixed it? I was also having the same problem. But this only happens when running it on production in ionic and after that I got stuck in the splash screen loader
– KnowledgeSeeker
Jan 17 at 10:14
add a comment |
What worked for me was to change within general > Deployment Info > Main Interface
to CDVLaunchScreen and do the same within general > App Icons and Launch Images > Launch Screen File
to CDVLaunchScreen as well.
I come from Ionic, so this might not be a problem for those who develop in Swift / Objective-C.
1
How did you fixed it? I was also having the same problem. But this only happens when running it on production in ionic and after that I got stuck in the splash screen loader
– KnowledgeSeeker
Jan 17 at 10:14
add a comment |
What worked for me was to change within general > Deployment Info > Main Interface
to CDVLaunchScreen and do the same within general > App Icons and Launch Images > Launch Screen File
to CDVLaunchScreen as well.
I come from Ionic, so this might not be a problem for those who develop in Swift / Objective-C.
What worked for me was to change within general > Deployment Info > Main Interface
to CDVLaunchScreen and do the same within general > App Icons and Launch Images > Launch Screen File
to CDVLaunchScreen as well.
I come from Ionic, so this might not be a problem for those who develop in Swift / Objective-C.
answered Jan 16 at 17:27
RaulGMRaulGM
187416
187416
1
How did you fixed it? I was also having the same problem. But this only happens when running it on production in ionic and after that I got stuck in the splash screen loader
– KnowledgeSeeker
Jan 17 at 10:14
add a comment |
1
How did you fixed it? I was also having the same problem. But this only happens when running it on production in ionic and after that I got stuck in the splash screen loader
– KnowledgeSeeker
Jan 17 at 10:14
1
1
How did you fixed it? I was also having the same problem. But this only happens when running it on production in ionic and after that I got stuck in the splash screen loader
– KnowledgeSeeker
Jan 17 at 10:14
How did you fixed it? I was also having the same problem. But this only happens when running it on production in ionic and after that I got stuck in the splash screen loader
– KnowledgeSeeker
Jan 17 at 10:14
add a comment |
For me, with the simulator in question in focus, I selected Hardware->Erase all content and settings.
After the simulator restarted, launching my app worked again, as expected.
add a comment |
For me, with the simulator in question in focus, I selected Hardware->Erase all content and settings.
After the simulator restarted, launching my app worked again, as expected.
add a comment |
For me, with the simulator in question in focus, I selected Hardware->Erase all content and settings.
After the simulator restarted, launching my app worked again, as expected.
For me, with the simulator in question in focus, I selected Hardware->Erase all content and settings.
After the simulator restarted, launching my app worked again, as expected.
answered Jan 30 at 1:42
PKCLsoftPKCLsoft
1,17422129
1,17422129
add a comment |
add a comment |
I went to XCode -> Preferences -> Components
Ticked all the simulators and the check box to install updates automatically, and then "check and Install now" and went away for a few hours while they all updated.
Now the problem is gone - so in fact, it's as mentioned. New XCode with Old - non-updated simulators.
add a comment |
I went to XCode -> Preferences -> Components
Ticked all the simulators and the check box to install updates automatically, and then "check and Install now" and went away for a few hours while they all updated.
Now the problem is gone - so in fact, it's as mentioned. New XCode with Old - non-updated simulators.
add a comment |
I went to XCode -> Preferences -> Components
Ticked all the simulators and the check box to install updates automatically, and then "check and Install now" and went away for a few hours while they all updated.
Now the problem is gone - so in fact, it's as mentioned. New XCode with Old - non-updated simulators.
I went to XCode -> Preferences -> Components
Ticked all the simulators and the check box to install updates automatically, and then "check and Install now" and went away for a few hours while they all updated.
Now the problem is gone - so in fact, it's as mentioned. New XCode with Old - non-updated simulators.
answered Mar 21 at 15:55
Harry McGovernHarry McGovern
14511
14511
add a comment |
add a comment |
I have recently updated to Xcode 10.2
and when I tried to run a project created in earlier version, Same error occurred.
The problem was that simulator was running before updating Xcode.
Solution was very simple for me to quit Simulator and restart so that it can get the new changes. I don't think the model of the simulator (iPhone SE or iPhone X) matters. You just need to restart your simulator for it to take effect of new update.
I would recommend to quit both Xcode and simulator and restart your Mac.
add a comment |
I have recently updated to Xcode 10.2
and when I tried to run a project created in earlier version, Same error occurred.
The problem was that simulator was running before updating Xcode.
Solution was very simple for me to quit Simulator and restart so that it can get the new changes. I don't think the model of the simulator (iPhone SE or iPhone X) matters. You just need to restart your simulator for it to take effect of new update.
I would recommend to quit both Xcode and simulator and restart your Mac.
add a comment |
I have recently updated to Xcode 10.2
and when I tried to run a project created in earlier version, Same error occurred.
The problem was that simulator was running before updating Xcode.
Solution was very simple for me to quit Simulator and restart so that it can get the new changes. I don't think the model of the simulator (iPhone SE or iPhone X) matters. You just need to restart your simulator for it to take effect of new update.
I would recommend to quit both Xcode and simulator and restart your Mac.
I have recently updated to Xcode 10.2
and when I tried to run a project created in earlier version, Same error occurred.
The problem was that simulator was running before updating Xcode.
Solution was very simple for me to quit Simulator and restart so that it can get the new changes. I don't think the model of the simulator (iPhone SE or iPhone X) matters. You just need to restart your simulator for it to take effect of new update.
I would recommend to quit both Xcode and simulator and restart your Mac.
answered 2 days ago
Gulfam KhanGulfam Khan
1059
1059
add a comment |
add a comment |
Pragmatic answer: try an other simulator. The newer the iPhone model the better.
add a comment |
Pragmatic answer: try an other simulator. The newer the iPhone model the better.
add a comment |
Pragmatic answer: try an other simulator. The newer the iPhone model the better.
Pragmatic answer: try an other simulator. The newer the iPhone model the better.
answered Oct 31 '18 at 22:52
brainraybrainray
7,403852102
7,403852102
add a comment |
add a comment |
protected by Community♦ Oct 14 '18 at 5:09
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
1
You should've mentioned that you are using XCode 10 Beta. btw having the same issue
– kironet
Jun 8 '18 at 12:11
Are you trying to use AWS MobileHub?
– Victor 'Chris' Cabral
Jul 4 '18 at 18:58
I am having the exact same problem. As of the current, there is no obvious way of fixing this problem, after all, the simulator worked fine in the last version. Chances are, Apple are already working on a fix for this, so expect it to work in the next beta. It couldn't hurt to leave a bug report through the feedback app, however, in case Apple are not currently aware of the problem. Sorry I can not give you an actual answer, but I hope it was useful anyways. Thanks for your time, -Jack
– jackwellertk
Jul 21 '18 at 12:53
2
Ran into this error in the debug console when running an instructor's key MVC design app. I am running Xcode 10 (not beta). Didn't get the error when running on actual device.
– Steve Robertson
Sep 18 '18 at 21:37
4
Having this issue after Xcode 10 update (not beta)
– MUH Mobile Inc.
Sep 19 '18 at 18:47