I'm using the open source Titanium CLI for updating an app that's currently in the Apple app store. It builds and runs in the simulator without any problems using the command
ti build -p ios
When I try to build for the app store I use the command
ti build -p ios -T dist-appstore -R <company> -P <distribution certificate>
and get an error message
[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 the Appcelerator Platform, but it hasn't corrected the problem. I'm using Titanium Command-Line Interface, CLI version 5.0.6, Titanium SDK version 6.0.0.v20160131225447 and Node version 0.12.7. Any help resolving this would be greatly appreciated.
appc neworti create? - Victor Casétiapp.xmlif has a propertyappc-app-id, if yes, remove it, clean the project and build it again withti create. I think that will work. - Victor Caséti create. At some point, I built the app viaappca few times, then decided to stick with the open source Titanium SDK. I could build withtiagain after deleting the app on the Appcelerator Platform, removing theappc-app-idproperty AND changing theguidintiapp.xmland then doing a clean build. I generated a new guid at guidgenerator.com/online-guid-generator.aspx. Depending on your project, changing the guid may have side effects, but I'm not sure about that. - Philippe