Project archived. use the official demo here
git clone https://github.com/stewwan/capacitor-fcm-demo
cd capacitor-fcm-demo && npm install
GoogleService-Info.plist
ios/App/App
npm run start