Getting these multiple errors in xcode after building project with cocos

Getting these multiple errors in xcode.
Steps followed :-

  1. I made a hello world project with Cocos Creator 2.4.12 and build it using cocos.
  2. When I opened the project in xcode 14.1 and build it then I got the error regarding arm64
  3. Then I added arm64 in excluded architecture in build settings of project.
  4. After cleaning and build again i got these following errors.

XCode version - 14.1
Cocos Creator version - 2.4.12

Whether it could compile properly before you add arm64?