Found the answer on twitter https://twitter.com/rustyshelf/status/775505191160328194
Edit Scheme-> Run -> Arguments, in the Environment Variables Add OS_ACTIVITY_MODE = disable
Found the answer on twitter https://twitter.com/rustyshelf/status/775505191160328194
Edit Scheme-> Run -> Arguments, in the Environment Variables Add OS_ACTIVITY_MODE = disable