Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-9623

Tooling: add post-project-creation ipad support to projects

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 2.1.0
    • Component/s: Tooling
    • Environment:

      SDK: 2.1.0.v20120618140357
      Studio: 2.1.0.201206172244
      OS: Snow Leopard
      Devices Tested: iPad Simulator 5.0

      Description

      If a project is created without iOS as a deployment target, then iPad (without iPhone) is added as a target via the TiApp Overview, the project will not build to iPad.

      Console Log:

      [INFO] One moment, building ...
      [INFO] Titanium SDK version: 2.1.0 (06/18/12 14:03 2e4dfb6)
      [INFO] iPhone Device family: ipad
      [INFO] iPhone SDK version: 5.0
      [INFO] iPhone simulated device: ipad
      [INFO] Performing full rebuild. This will take a little bit. Hold tight...
      [ERROR] Error: Traceback (most recent call last):
        File "/Library/Application Support/Titanium/mobilesdk/osx/2.1.0.v20120618140357/iphone/builder.py", line 1061, in main
          applogo = ti.generate_infoplist(infoplist,appid,devicefamily,project_dir,iphone_version)
        File "/Library/Application Support/Titanium/mobilesdk/osx/2.1.0.v20120618140357/iphone/../tiapp.py", line 503, in generate_infoplist
          tempiconslist = sorted(os.listdir(iconsdir1))
      OSError: [Errno 2] No such file or directory: '/Users/dhyde/Desktop/Titanium_Studio_Workspace/MyProject/Resources/ipho
      

      Studio Debug Log:

      !ENTRY com.appcelerator.titanium.core 1 0 2012-06-18 16:07:33.985
      !MESSAGE (Build 2.1.0.201206172244) [INFO] com.appcelerator.titanium.core/debug Updating project MyProject deploy-targets to include [mobileweb, ipad]
       
      !ENTRY com.aptana.core 1 0 2012-06-18 16:07:33.988
      !MESSAGE (Build 2.1.0.201206172244) [INFO] com.aptana.core/debug/shell Running process:
      Process: "/usr/bin/python" "/Library/Application Support/Titanium/mobilesdk/osx/2.1.0.v20120618140357/project.py" "MyProject" "com.appcelerator.myproject" "/Users/dhyde/Desktop/Titanium_Studio_Workspace" "mobileweb" "ipad" "-u"
      Working directory: null
      Environment: {DEVELOPER_DIR=/Developer}
      

      Steps to Reproduce:

      1. Create a Titanium Mobile project with only MobileWeb support.
      2. Select iPad in the TiApp Editor Overview and save tiapp.xml.
      3. Deploy to iPad Simulator.

      Result:

      iPad project fails to build.

      Expected Result:

      iPad project should build.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ngupta Neeraj Gupta
                Reporter:
                dhyde Dustin Hyde
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-13769
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Integration