Project: appceleratorstudio
Issue TISTUD-1179: Titanium Studio: titanium.py create: iphone project imported into studio does not include ipad as a selected target
When an iphone project is created using 'titanium.py create', and imported into studio, ipad is not selected as a deployment target. This is relevant because projects imported into studio after being created by 'titanium.py create' do not initially contain tiapp.xml deployment target tags. The tags are created on import based on the presence of a respective platform folder (i.e., NewProject/iphone). Because iPad and iPhone use the same folder, they should both be selected as targets when imported to studio for the first time. Steps to Reproduce: 1. Generate a new iphone project using titanium.py create, such as: {code:title=} // dhydeMBPLion:~ dhyde$ /Users/dhyde/Library/Application\ Support/Titanium/mobilesdk/osx/1.8.1/titanium.py create --platform=iphone --type=project --dir=/Users/dhyde/Downloads --name=NewProject --id=com.appcelerator.project // {code} 2. Import the project into studio. 3. Open tiapp.xml and observe the deployment targets. Expected Result: iPhone and iPad should be selected as targets. Actual Result: Only iPhone is selected.
Story points: 8