I was trying to create a new project by using Titanium CLI, and I forgot to set the --id parameter. Here is the following error:
$ titanium create --platforms ios, android --name Fuu-CLI --workspace-dir ~/Projects/ --id com.rafaelks.fuu Titanium Command-Line Interface, version 3.0.9 Copyright (c) 2012, Appcelerator, Inc. All Rights Reserved. Please report bugs to http://jira.appcelerator.org/ [ERROR] Invalid platform: Available platforms for SDK version undefined: android iphone mobileweb
It happens because I used a blank space after comma in --platforms parameter. But if you look at the message error, the SDK verison is undefined.