xcode 8.0 "add the Push Notif(..) to your App ID" warning, while already added
<ul>
<li>I have Xcode managing provisioning profiles (recommended
'automatic' setting)</li>
<li><strong>My app id already contains the Push</strong></li>
<li>When I launch Xcode it shows the Push capabilities with checkmarks,
as if everything was fine</li>
<li>When I register device token and push a message, I get<br>
notRegistered response from GCM. But when I update the profiles<br>
Settings>Profile>View Details>Download all profiles the above<br>
mentioned checkbox turns into red warning sign.</li>
</ul>

<p>This seems to be an Xcode bug. Anybody has a workaround?</p>

<p><a href="https://i.stack.imgur.com/g8HAS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/g8HAS.png" alt="enter image description here"></a></p>