Follow the following steps to generate a P8 file to enable One signal notification:
Go to 'Keys' under the header 'Certificates, IDs & Profiles'
Go to 'Keys', and click on '+' to generate a new Key
Write a relevant 'Key Name' and select 'Apple Push Notifications service (APNs) and click on 'Register'
Now download the generated key by clicking on 'Download'
You have successfully created the P8 file that is needed to enable One Signal notifications on iOS
โ
โ