tidev / titanium-cli

The Titanium Command Line (CLI) project
https://titaniumsdk.com/
Other
221 stars 95 forks source link

Building for submission to app store fails #238

Closed southworthk closed 8 years ago

southworthk commented 8 years ago

Running the command to package the application for app store submission results in an error.

ti build -p ios -T dist-appstore -R "<Company Name>" -P "<Distribution Certificate>"

[ERROR] :  titanium_prep failed to run (10)
[ERROR] :  This application cannot be built with the Titanium open source SDK because it is an Appcelerator Platform registered application. Please use the Appcelerator Platform CLI tools or Appcelerator Studio to build this application.

I've unregistered the application with Appcelerator and have tried using the SDK's greater than 4.X.X, all with the same result.

cb1kenobi commented 8 years ago

You need to use appc run, not ti build. The rest of the command line arguments are the same.