I've just uploaded an app to iTunes Connect and got the "Missing Push Notification Entitlement" warning from Apple. My app does not use any API related to push notifications. The warning also included that I do not have the aps-environment entitlement. How do I get rid of this warning? I tried disabling push notifications in the member center and in Xcode (I created a preprocessor macro DISABLE\_PUSH\_NOTIFICATIONS=1) and still no luck. 

EDIT:
I used grep in my project directory to search for couple of strings that could cause this issue. Grep matched the string 

> 
> "registerForRemoteNotificationTypes"
> 
> 
> 

in 

> 
> ./myProject.xcodeproj/project.xcworkspace/xcuserdata/myUser.xcuserdatad/UserInterfaceState.xcuserstate
> 
> 
> 

I have no idea whether removing the string from this file will change anything because I am unable to upload the app to TestFlight at the moment. I will be thankful if someone has the same issue and tries to fix it by removing the string found by grep (if it's a good idea to edit .xcuserstate files...)