Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11486] iOS: Transport - Cannot build the app using transport.py

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-12-09T22:41:34.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sRelease 3.0.0, Release 3.1.0, 2012 Sprint 25, 2012 Sprint 25 Core
ComponentsiOS
Labels3.0.0.rc2, core, qe-ios100112, qe-testadded, regression
ReporterAnshu Mittal
AssigneeMax Stepanov
Created2012-10-15T11:44:04.000+0000
Updated2013-10-04T09:36:21.000+0000

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//Library/Application\ Support/Titanium/mobilesdk/osx/1.8.0.1/iphone/transport.py /Users//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 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.

Attachments

FileDateSize
Transport.zip2012-10-15T11:44:04.000+00003479879

Comments

  1. Ingo Muschenetz 2012-10-15

    Need to see if there is a better way of handling this situation so that it does not appear broken to the end user.
  2. Max Stepanov 2012-10-15

    Okay, it only occurs with projects that do not specify iOS minimum version in tiapp.xml
  3. Max Stepanov 2012-10-15

    PR submitted https://github.com/appcelerator/titanium_mobile/pull/3234
  4. Max Stepanov 2012-10-15

    3_0_X PR https://github.com/appcelerator/titanium_mobile/pull/3235
  5. Blain Hamon 2012-10-17

    Pulls merged.
  6. Satyam Sekhri 2012-12-06

    Still cannot build the attached project using transport.py. The following error is shown: Traceback (most recent call last): File "transport.py", line 247, in main(sys.argv) File "transport.py", line 129, in main force_xcode = write_debugger_plist(None, None, None, template_dir, debug_plist) TypeError: write_debugger_plist() takes exactly 6 arguments (5 given) Tested On: SDK: 3.0.0.v20121204181658, 3.1.0.v20121205174335 OSX: 10.8.2 XCode: 4.5.1 The issue does not occur on SDK 2.1.4
  7. Max Stepanov 2012-12-06

    PR https://github.com/appcelerator/titanium_mobile/pull/3543 3_0_X PR https://github.com/appcelerator/titanium_mobile/pull/3544
  8. Blain Hamon 2012-12-07

    Pull merged
  9. Eric Merriman 2012-12-08

    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)
  10. Vishal Duggal 2012-12-09

    Reopening to edit labels and fix versions
  11. Vishal Duggal 2012-12-09

    Closing

JSON Source