title: no valid “aps-environment” entitlement string found for application error when implementing FCM
body: <p>When attempting to implement Firebase Cloud Messaging into my application, I am receiving the following error at runtime:</p>
  
  <p><img src="https://i.imgur.com/k5Ga0jw.png" alt="[Firebase/Messaging][I-FCM012002] Error in application:didFailToRegisterForRemoteNotificationsWithError: no valid &quot;aps-environment&quot; entitlement string found for application"></p>
  
  <p>I am receiving an FCM token, so it appears to be establishing a connection with firebase. I have read many suggestions on what the problem could be, many seem to indicate that there is a problem with my provisioning profile not allowing push notifications. I have checked these settings under "Signing &amp; Capabilities" and it appears that the profile allows for push notifications, and has the aps-environment value in the entitlements section:</p>
  
  <p><img src="https://i.imgur.com/9lOp4ib.png" alt="Text"></p>
  
  <p>Is there something else I'm missing?</p>
  
  <p>Here is my development environment:</p>
  
  <ul>
  <li>macOS 10.15 (Catalina)</li>
  <li>Xcode 11.5</li>
  <li>iPad Air 2 (test deployment device)</li>
  </ul>