FCM production APN not working
<p>I'm using Firebase and FCM, APN was working perfectly in development mode.</p>

<p>After i upload the app to the app store successfully, APN was not working anymore. (<strong>Unable to receive any push notification on iOS devices</strong>)</p>

<p>Then I uploaded the production certificate to the firebase console accordingly as below: -</p>

<p><strong>APN Certificates on firebase console:</strong>
<a href="https://i.stack.imgur.com/YaU7j.png" rel="nofollow"><img src="https://i.stack.imgur.com/YaU7j.png" alt="enter image description here"></a></p>

<p>I researched and found out my iOS app build settings is incorrect as below:-</p>

<p><strong>Initial Build Settings :-</strong>
<a href="https://i.stack.imgur.com/9wl3u.png" rel="nofollow"><img src="https://i.stack.imgur.com/9wl3u.png" alt="enter image description here"></a></p>

<p>Then i configure my settings to screenshot below :-</p>

<p><strong>Current Build Settings :-</strong>
<a href="https://i.stack.imgur.com/T02bb.png" rel="nofollow"><img src="https://i.stack.imgur.com/T02bb.png" alt="enter image description here"></a></p>

<p>and i encounter the error during archive the project, but no error during build the project.</p>

<p><strong>Error during archive the project :-</strong>
<a href="https://i.stack.imgur.com/ppW3N.png" rel="nofollow"><img src="https://i.stack.imgur.com/ppW3N.png" alt="enter image description here"></a>
Can someone point me the right way to setup the apn <strong>on production mode</strong>?</p>

<p>Would be appreciated if any suggestion provided.</p>