Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-1179

Titanium Studio: titanium.py create: iphone project imported into studio does not include ipad as a selected target

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: Titanium Studio 1.0.8, Titanium Studio 1.0.9
    • Component/s: Projects
    • Environment:

      SDK: 1.8.0.1 githash=fbdc96f, 1.8.1 githash=a24502a, 1.9.0.v20120213174634
      Studio: 1.0.9.201202131024, 1.0.8.201201262211
      OS: Lion

    • Story Points:
      8

      Description

      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:

      //
      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
      //
      

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sgibly Shalom Gibly
                Reporter:
                dhyde Dustin Hyde
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: