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

Invalid bundle error while upload the app to the app Store

Convert NsNumber, NSDate to String in iOS Swift

Global LocationManager Singleton class iOS Swift