In Your Xcode Project Go to the Top of the screen you see Product Click on the Product and you see Bottom third option Scheme click on the Scheme you see Bottom third option Edit Scheme click on the Edit Scheme then First option is Arguments Passed On Launch and and you see + and - button here click on the + button and Write OS_ACTIVITY_MODE and check this and write bottom option close click on close your error will Remove Enjoy. :p