Ionic cordova run ios failure with Erro code 1

I am a newbie of iOS app development. I installed macOs on VMware and use ionic3 framework to development an existed project. It works fine with Android system.

When I run

ionic cordova run ios

get below error:

[17:58:08]  tslint: src/pages/welcome/welcome.ts, line: 28 
            Property 'events' is declared but its value is never read. 

      L27:  private nav: Nav,
      L28:  private events: Events,
      L29:  private auth: AuthService,

[17:58:09]  lint finished in 4.08 s 
FIXME: Implement XCBuild support for macros in overriding parameters with condition sets:

    CODE_SIGN_IDENTITY[sdk=iphoneos*] = iPhone Developer
CordovaError: Promise rejected with non-error: 'Error code 1 for command: xcodebuild with args: -xcconfig,/Users/ang/Sense/mobile-app-full/platforms/ios/cordova/build-debug.xcconfig,-workspace,adar.xcworkspace,-scheme,adar,-configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS Simulator,name=iPhone 12 Pro Max,build,CONFIGURATION_BUILD_DIR=/Users/ang/Sense/mobile-app-full/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/ang/Sense/mobile-app-full/platforms/ios/build/sharedpch'
    at /usr/local/lib/node_modules/cordova/bin/cordova:30:15
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
[ERROR] An error occurred while running cordova run ios (exit code 1).

Could not find the description and solution of Error code 1 on website. Thanks for checking my issue.