XCode error on simulator MGIsDeviceOneOfType is not supported on this platform

Solution:

1. Goto your target select edit scheme.

2. In left menu select Run

3.In Top menu select arguments.

4. Select + then OS_ACTIVITY_MODE set the value to be disable.

5.Clean the project and run.It will works good...

Comments

Popular posts from this blog

How to blink a button iOS swift?

Convert NsNumber, NSDate to String in iOS Swift

Parse the value from string value iOS swift