20 Replies
      Latest reply on Sep 13, 2019 7:25 AM by KMT
      Claude31 Level 8 Level 8 (6,485 points)

        Just installed XCode 10.

         

        I receive the following warning:

         

        2018-06-05 13:25:47.686865+0200 simpleTest[14581:1428592] libMobileGestalt MobileGestalt.c:875: MGIsDeviceOneOfType is not supported on this platform.

         

        Cannot find what MGIsDeviceOneOfType is about.

         

        Edited : is it related to Mapping and Geographical Information System (“MGIS”) ?

        • Re: What is MGIsDeviceOneOfType
          jm2001 Level 1 Level 1 (0 points)

          I'm currently also getting this issue after upgrading to XCode 10. Never had any display issues either before upgrading but now Tab Views do not display their labels correctly and I'm getting streams of warnings related to this.

           

          Wonder if it is to do with Tab View Controllers?

           

          Edit: I've just found after running the app on a development device, that error no longer exists. iOS Simulator Bug?

          • Re: What is MGIsDeviceOneOfType
            KMT Level 9 Level 9 (14,635 points)

                 >Mapping and Geographical Information System (“MGIS”) ?

             

            I think: MG _Is_ Device One Of Type - MG being mobile gestalt - is device one (of type), vs. device two, etc.

            • Re: What is MGIsDeviceOneOfType
              mv.albuquerque Level 1 Level 1 (0 points)

              Me too

               

              whats is fixed the problem?  please?

               

              libMobileGestalt MobileGestalt.c:875: MGIsDeviceOneOfType is not supported on this platform.

              • Re: What is MGIsDeviceOneOfType
                mv.albuquerque Level 1 Level 1 (0 points)

                HELP

                 

                 

                objc[2421]: Class CLConnectionCachedMessage is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreLocation.framework/CoreLocation (0x11ef25c40) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreMotion.framework/CoreMotion (0x12ab15860). One of the two will be used. Which one is undefined.

                objc[2421]: Class CLLocationInternalClient is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreLocation.framework/CoreLocation (0x11ef25a60) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreMotion.framework/CoreMotion (0x12ab15cc0). One of the two will be used. Which one is undefined.

                objc[2421]: Class VCWeakObjectHolder is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/AVConference.framework/Frameworks/ViceroyTrace.framework/ViceroyTrace (0x12c940c10) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/AVConference.framework/AVConference (0x12b919c80). One of the two will be used. Which one is undefined.

                objc[2421]: Class AXAccessQueue is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/AccessibilityUtilities.framework/AccessibilityUtilities (0x12933fce0) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/Accessibility.framework/Frameworks/AXHearingSupport.framework/AXHearingSupport (0x12b06c6d8). One of the two will be used. Which one is undefined.

                objc[2421]: Class AXAccessQueueTimer is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/AccessibilityUtilities.framework/AccessibilityUtilities (0x12933d260) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/Accessibility.framework/Frameworks/AXHearingSupport.framework/AXHearingSupport (0x12b06c728). One of the two will be used. Which one is undefined.

                2018-06-15 20:10:41.779917-0300 teste[2421:77908] [AXMediaCommon] Unable to look up screen scale

                2018-06-15 20:10:41.780052-0300 teste[2421:77908] [AXMediaCommon] Unexpected physical screen orientation

                2018-06-15 20:10:41.822274-0300 teste[2421:77908] [AXMediaCommon] Unable to look up screen scale

                2018-06-15 20:10:41.843449-0300 teste[2421:77908] [AXMediaCommon] Unable to look up screen scale

                2018-06-15 20:10:41.843591-0300 teste[2421:77908] [AXMediaCommon] Unexpected physical screen orientation

                  • Re: What is MGIsDeviceOneOfType
                    TimeDelta Level 1 Level 1 (0 points)

                    I am getting a similar issue:

                     

                    2018-07-29 18:17:41.909088-0400 DataIntegration[27316:5602701] libMobileGestalt MobileGestalt.c:890: MGIsDeviceOneOfType is not supported on this platform.
                    objc[27316]: Class AXAccessQueue is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/AccessibilityUtilities.framework/AccessibilityUtilities (0x12bba1db0) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/Accessibility.framework/Frameworks/AXHearingSupport.framework/AXHearingSupport (0x12c691428). One of the two will be used. Which one is undefined.
                    objc[27316]: Class AXAccessQueueTimer is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/AccessibilityUtilities.framework/AccessibilityUtilities (0x12bb9f3d0) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/Accessibility.framework/Frameworks/AXHearingSupport.framework/AXHearingSupport (0x12c691478). One of the two will be used. Which one is undefined.
                    2018-07-29 18:17:42.202658-0400 DataIntegration[27316:5602701] [AXMediaCommon] Unable to look up screen scale
                    2018-07-29 18:17:42.202772-0400 DataIntegration[27316:5602701] [AXMediaCommon] Unexpected physical screen orientation
                    2018-07-29 18:17:42.247410-0400 DataIntegration[27316:5602701] [AXMediaCommon] Unable to look up screen scale
                    2018-07-29 18:17:42.269614-0400 DataIntegration[27316:5602701] [AXMediaCommon] Unable to look up screen scale
                    2018-07-29 18:17:42.269720-0400 DataIntegration[27316:5602701] [AXMediaCommon] Unexpected physical screen orientation
                    
                  • Re: What is MGIsDeviceOneOfType
                    espri Level 1 Level 1 (0 points)

                    I see the message too when I compile a simple project to the iPhone SE simulator (with Xcode 10.0) but it doesn't appear when compiling to the iPhone XR simulator. So it seems to refer to some device-dependent property. I have no idea what the emssage means, though.

                    • Re: What is MGIsDeviceOneOfType
                      valri7 Level 1 Level 1 (0 points)

                      On Xcode 10.0/iOS12 : I have the same message when I compile for simulator iPhone 6S but no message on real iPhone 6S (and no error message on simulator for Iphone XR). See no impact on running.

                        • Re: What is MGIsDeviceOneOfType
                          aeschinder Level 1 Level 1 (0 points)

                          I was getting this simulating iPhone 10+ on XCode 10.   Switched to XS Max and the error went away for me, too.

                            • Re: What is MGIsDeviceOneOfType
                              sprawlMaven Level 1 Level 1 (0 points)

                              Noting in case it is helpful for Apple.  Just starting to work with XCode 10, OS 10.13.6

                              I've never, ever seen this error before.

                              I was building to Simulator for iPhone 8, and nothing seemed to remove the message.

                              Building to XS Max in the Simulator and the error disappears.

                               

                              Error message:  "2018-10-03 14:42:43.790592-0700 ToDo3b[13422:3011659] libMobileGestalt MobileGestalt.c:890: MGIsDeviceOneOfType is not supported on this platform."


                          • Re: What is MGIsDeviceOneOfType
                            elmasrysoftware Level 1 Level 1 (0 points)

                            From his book print (<# T ## items: Any ... ## Any #>) to test the software on the device

                            • Re: What is MGIsDeviceOneOfType
                              Patmac Level 1 Level 1 (0 points)

                              As far as I know Gestalt refers to the "Machine" ID (e.g iPhone 7, Imac 4.1) and simular hardware components... Could be wrong but I'm just gonna ignore it. Test it on a real device and see if you still get the problem (I just started a new project, so I would be suprised if it would really have anything to do with me and or code)

                              • Re: What is MGIsDeviceOneOfType
                                crapio99 Level 1 Level 1 (0 points)

                                just make sure the website is https://!

                                • Re: What is MGIsDeviceOneOfType
                                  BalajiKs Level 1 Level 1 (0 points)

                                  Hi,

                                  I'm using XCode while running simulator to test my code in iPhone Xr, it works great but when I test in iPhone 6s, this error is coming its annoying.

                                   

                                  The Error is :

                                   

                                  libMobileGestalt MobileGestalt.c:890: MGIsDeviceOneOfType is not supported on this platform.