Xcode Error on Simulator: MGIsDeviceOneOfType is not supported on this platform

后端 未结 18 2044
执笔经年
执笔经年 2020-12-02 10:55

I have a very simple application with a single view, containing several UILabels. Upon running in Simulator, the Xcode console returns the error:

libM

18条回答
  •  -上瘾入骨i
    2020-12-02 11:26

    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.

提交回复
热议问题