Titanium Mobile
  1. Titanium Mobile
  2. TIMOB-11486

iOS: Transport - Cannot build the app using transport.py

    Details

      Description

      Cannot build the app using transport.py. The xcode used is 4.5.1
      This is regression since the issue does not occur for 2.1.3 GA.

      Steps to reproduce:
      1. Download the attached app and paste it on desktop.
      2. Run the following command:
      /Users/<YOUR_USER_NAME_HERE>/Library/Application\ Support/Titanium/mobilesdk/osx/1.8.0.1/iphone/transport.py /Users/<YOUR_USER_NAME_HERE>/Desktop/Titanium Studio Workspace/Transport

      Actual:
      The following error occurs:

      Traceback (most recent call last):
      File "/Users/anshumittal/Library/Application Support/Titanium/mobilesdk/osx/3.0.0.v20121014181609/iphone/transport.py", line 246, in <module>
      main(sys.argv)
      File "/Users/anshumittal/Library/Application Support/Titanium/mobilesdk/osx/3.0.0.v20121014181609/iphone/transport.py", line 122, in main
      project = Projector(app_name,version,template_dir,project_dir,app_id, min_ver)
      UnboundLocalError: local variable 'min_ver' referenced before assignment

      Expected:
      The app should build successfully.

        Activity

        Show
        Max Stepanov added a comment - PR https://github.com/appcelerator/titanium_mobile/pull/3543 3_0_X PR https://github.com/appcelerator/titanium_mobile/pull/3544
        Hide
        Blain Hamon (Inactive) added a comment -

        Pull merged

        Show
        Blain Hamon (Inactive) added a comment - Pull merged
        Hide
        Eric Merriman added a comment -

        Verified fixed with:

        SDK: 3.0.0.v20121207120202
        Titanium Studio, build: 3.0.0.201212061921
        Mac OS X 10.8.2
        Xcode 4.5.2
        CLI: 3.0.20

        The transport.py script modified the attached project with no issue. Also launched the final project (from project folder/build/iphone)

        Show
        Eric Merriman added a comment - Verified fixed with: SDK: 3.0.0.v20121207120202 Titanium Studio, build: 3.0.0.201212061921 Mac OS X 10.8.2 Xcode 4.5.2 CLI: 3.0.20 The transport.py script modified the attached project with no issue. Also launched the final project (from project folder/build/iphone)
        Hide
        Vishal Duggal added a comment -

        Reopening to edit labels and fix versions

        Show
        Vishal Duggal added a comment - Reopening to edit labels and fix versions
        Hide
        Vishal Duggal added a comment -

        Closing

        Show
        Vishal Duggal added a comment - Closing

          People

          • Assignee:
            Max Stepanov
            Reporter:
            Anshu Mittal
          • Watchers:
            7 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development