Titanium Mobile
  1. Titanium Mobile
  2. TIMOB-11678

CLI: iOS: iPad Simulator launches as iPhone Simulator

    Details

      Description

      This is regression issue. With 2.1.2 Studio and latest SDK, iPAD Simulator launches.
      Steps To Reproduce:
      1. Install Studio 3.0 latest version with latest SDK and plugins.
      2. Create a default app.
      3. Run same app using iPAD Simulator

      Actual: App launches in iPhone Simulator.
      Expected: App must launch in iPAD Simulator.

        Issue Links

          Activity

          Hide
          Shyam Bhadauria added a comment -

          Eric, I was using the command "titanium build -F ipad".
          But now I also tried with "titanium build -Y ipad" and the results are the same.
          Switching between iphone and ipad simulator is good till titanium sdk remains same as with which the project was created. When the titanium sdk is changed from its origin, ipad simulator stops launching.
          Steps to reproduce:
          1) In terminal with CLI installed, create a titanium project, target platform = iOS
          2) Build the created project "titanium build -F ipad"
          3) Now build it with command "titanium build -F iphone"
          4) Now build it with command ""titanium build -F ipad -s 3.0.0.GA"
          (it should be different from what the project was created with)

          Expected result:
          ipad simulator should be launched.

          Actual result:
          iphone simulator is launched.

          Show
          Shyam Bhadauria added a comment - Eric, I was using the command "titanium build -F ipad". But now I also tried with "titanium build -Y ipad" and the results are the same. Switching between iphone and ipad simulator is good till titanium sdk remains same as with which the project was created. When the titanium sdk is changed from its origin, ipad simulator stops launching. Steps to reproduce: 1) In terminal with CLI installed, create a titanium project, target platform = iOS 2) Build the created project "titanium build -F ipad" 3) Now build it with command "titanium build -F iphone" 4) Now build it with command ""titanium build -F ipad -s 3.0.0.GA" (it should be different from what the project was created with) Expected result: ipad simulator should be launched. Actual result: iphone simulator is launched.
          Hide
          Eric Merriman added a comment -

          I understand now. One thing to note:
          -F is device family. This is used for determining what iOS device the app will run on:
          -F ipad - iPad only app
          -F iPhone - iPhone/iPod, will run on iPad but in iPhone idiom
          -F universal - works on all devices, on iPad should be in iPad idiom

          Show
          Eric Merriman added a comment - I understand now. One thing to note: -F is device family. This is used for determining what iOS device the app will run on: -F ipad - iPad only app -F iPhone - iPhone/iPod, will run on iPad but in iPhone idiom -F universal - works on all devices, on iPad should be in iPad idiom
          Hide
          Ingo Muschenetz added a comment -

          Chris indicates this may be fixed as a result of addressing TIMOB-5992.

          Show
          Ingo Muschenetz added a comment - Chris indicates this may be fixed as a result of addressing TIMOB-5992 .
          Hide
          Sabil Rahim added a comment -

          Should have been fixed as a result of TIMOB-5992 - PR 3945

          Show
          Sabil Rahim added a comment - Should have been fixed as a result of TIMOB-5992 - PR 3945
          Hide
          Olga Romero added a comment - - edited

          Looks like it is fixed as a result of TIMOB-5992.

          Tested with:
          Titanium Studio, build: 3.1.0.201303182358
          Titanium SDK, build: 3.1.0.v20130320123256
          CLI 3.0.25
          XCode 4.6
          iOS Mountain Lion 10.8.2

          and confirmed that iPad Simulator launches properly.

          Show
          Olga Romero added a comment - - edited Looks like it is fixed as a result of TIMOB-5992 . Tested with: Titanium Studio, build: 3.1.0.201303182358 Titanium SDK, build: 3.1.0.v20130320123256 CLI 3.0.25 XCode 4.6 iOS Mountain Lion 10.8.2 and confirmed that iPad Simulator launches properly.

            People

            • Assignee:
              Sabil Rahim
              Reporter:
              Pragya Rastogi
            • Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development