Build fails with 'Command line "app-store" is deprecated'

We have installed CapacitorJS v6 on an new Angular (v18) app we are starting. Following the docs this has been set up and configured, with the app is running locally, via Xcode and the iOS simulator and the archive is building within Xcode.

We would like to integrate the IPA build/validation and distribution to be part of the CI process, but we are seeing an error running the build via the terminal, shown below:

> npx cap build ios

✔ Building xArchive in 27.11s
✖ Building IPA - failed!
[error] 2024-08-22 15:00:48.749 xcodebuild[67491:5632754] [MT] IDEDistribution: -[IDEDistributionLogging
        _createLoggingBundleAtPath:]: Created bundle at path "/var/folders/rt/24tdz11j2pz60hc02rsd7w3w9900gn/T/App_2024-08-22_15-00-48.732.xcdistributionlogs".
        2024-08-22 15:00:48.851 xcodebuild[67491:5632754] [MT] IDEDistribution: Command line name "app-store" is
        deprecated. Use "app-store-connect" instead.

In the logs folder, there doesn’t appear any other error, only the single line (shown above) for the app-store in the IDEDistribution.critical.log.

We cannot see anything in the docs, but may have overlooked something and would appreciate any help on resolving this.

Cheers,
Paul

looks like a bug, can you report it on Issues · ionic-team/capacitor · GitHub ?

Sure, will do. Thanks