Xcode archive error after Successful build of App

#1

Currently I’m using Ionic Framework and trying to build iOS mobile App. In order do that I Did following steps.

  1. To add the platform,

$ ionic cordova platform add android

2.To building the app

ionic cordova build ios -- --buildFlag="-UseModernBuildSystem=0"

  1. After sucessful it generated .xcodeproject file. And I import the file into Xcode.
  2. After importing the project, cleaned the project folder in the xcode itself

5.Then I added the Apple ID account to my Xcode.
6. After Adding the account I’m trying to archive the project, to do that I follwing URL’s

Official Documentation to generate the IOS app

Stackoverflow answer to .ipa file.

  1. In the Archiving process I’m getting following errors

error: Your development team, does not support the Push Notifications capability. (in target ‘folder’)

I tried to rectify by following way

DISABLE_PUSH_NOTIFICATIONS=1 

in the preprocessor macros. Unfortunately it didn’t solve my problem.

I don’t have any Apple developer ID

How to solve this problem, in order archive the project. Could any one help me in this regard.

I tried all the solution’s which are available solutions but didn’t solve any answer. I stuck from past 2 days.