When creating an app containing constansts declared with const, the app works untill you try to distribute to the store. In that case, the following error is shown:
ERROR - Parse error. Unsupported syntax: CONST
1. Create a simple app with a constant:
const test = "Hello World!";
var win = Ti.UI.createWindow(
2. Test the app on the device or simulator: everything works.
3. Distribute the app: the app fails with the error above