[TIMOB-11486] iOS: Transport - Cannot build the app using transport.py
GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-12-09T22:41:34.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | Release 3.0.0, Release 3.1.0, 2012 Sprint 25, 2012 Sprint 25 Core |
Components | iOS |
Labels | 3.0.0.rc2, core, qe-ios100112, qe-testadded, regression |
Reporter | Anshu Mittal |
Assignee | Max Stepanov |
Created | 2012-10-15T11:44:04.000+0000 |
Updated | 2013-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
Need to see if there is a better way of handling this situation so that it does not appear broken to the end user.
Okay, it only occurs with projects that do not specify iOS minimum version in tiapp.xml
PR submitted https://github.com/appcelerator/titanium_mobile/pull/3234
3_0_X PR https://github.com/appcelerator/titanium_mobile/pull/3235
Pulls merged.
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
PR https://github.com/appcelerator/titanium_mobile/pull/3543 3_0_X PR https://github.com/appcelerator/titanium_mobile/pull/3544
Pull merged
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)
Reopening to edit labels and fix versions
Closing