Command line name "app-store" is deprecated. Use "app-store-connect" instead.

Hi,

I've noticed a warning during export archive phase (xcrun xcodebuild -exportArchive) in our iOS CI/CD pipelines.

Updating the export options info plist file to use

  <key>method</key>
	<string>app-store-connect</string>

helps, but I am not sure if we should update it or not since I cannot find any references about this change in the docs.

It'd be very helpful to get some guidelines.

Thank you

since I cannot find any references about this change in the docs.

You can find it by running the following command in Terminal:

% xcodebuild -help

Available keys for -exportOptionsPlist:


method : String

Describes how Xcode should export the archive. Available options: app-store-connect, release-testing, enterprise, debugging, developer-id, mac-application, and validation. The list of options varies based on the type of archive. Defaults to debugging. Additional options include app-store (deprecated: use app-store-connect), ad-hoc (deprecated: use release-testing), and development (deprecated: use debugging).

Command line name "app-store" is deprecated. Use "app-store-connect" instead.
 
 
Q