Titanium JIRA Archive
Appcelerator Community (AC)

[AC-4518] transport.py not working with sdk 5.4.0

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionWon't Fix
Resolution Date2016-09-28T14:52:10.000+0000
Affected Version/sAppcelerator Studio 4.5.0
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsios
ReporterAshish Sebastian
AssigneeShak Hossain
Created2016-09-28T10:33:02.000+0000
Updated2016-09-28T16:16:04.000+0000

Description

first of all i am using sdk 5.4.0 and after clean the project, The transport.py is a Python script located in my ~/Library/Application Support/Titanium/mobilesdk/osx/<5.4.0>/iphone directory.

To run this script on terminal i follow the below steps.

Open terminal and navigate to my ~/Library/Application Support/Titanium/mobilesdk/osx//iphone directory

Issue the following command ./transport.py in my case that is ./transport.py /Users/ashishsebastian/Documents/Appcelerator_Studio_Workspace/MachineTransport(project name).

Transport.py has now generated a stand alone XCode project for my in Titanium Project’s build/iphone directory.

After run this xcode i found error in ApplicationRouting.m file ,this file are auto generated after run the project.

whole above process find from the link: https://bencoding.com/2012/04/11/using-titaniums-transport-py/.

create xcode with transport.py script but after run this xcode i found error in applicationRouting.m file,this file are auto generated.

Attachments

FileDateSize
Screen Shot 2016-09-28 at 4.03.25 pm.png2016-09-28T10:22:00.000+0000313973

Comments

  1. Chris Barber 2016-09-28

    transport.py has been deprecated and is no longer supported. It will be removed from Titanium in a future release.
  2. Ashish Sebastian 2016-09-28

    Thanks Chris, But what is the new process to transport the Titanium to xCode.?
  3. Chris Barber 2016-09-28

    [~ashishseb] Just open the generated Xcode project in the <project-dir>/build/iphone directory.
  4. Ashish Sebastian 2016-09-28

    But I think that will not work, if we move the xCode to other system, as it does not copies the 'Resource' of the app into the project, we need to manually do that. So could you please let know if appcelerator has updated that feature also and we could use the build folder directly in xCode.
  5. Chris Barber 2016-09-28

    It will probably not work well. The resources are in the built product directory. If you clean the Xcode project, you lose all of the resources. If we were to detach Titanium from the generated Xcode project, like what transport.py did, then that would undermine our business model and we can't have that. Sorry.

JSON Source