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

后端 未结 18 2072
执笔经年
执笔经年 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条回答
  •  情话喂你
    2020-12-02 11:22

    I've successfully dropped it with the disabling of the project garbage.

    Go to <Name of your Project>->Scheme->Edit Scheme Then go to Run (menu to the left side) and add the following environment variable:

    Name:OS_ACTIVITY_MODE, Value: disable

提交回复
热议问题