Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17420] iOS: build.py created during iOS module project generation is not executable

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2014-08-21T18:54:24.000+0000
Affected Version/sn/a
Fix Version/sRelease 3.4.0
ComponentsTooling
Labelscli, ft, qe-closed-3.4.0, qe-manualtest, qe-testadded
ReporterStephen Feather
AssigneeFeon Sua Xin Miao
Created2014-07-24T05:49:39.000+0000
Updated2014-08-22T11:33:56.000+0000

Description

Based upon module development documentation, build.py should be set to executable so that the user can use use the documented command
./build.py
to build and package their module. Referenced Documentation: http://docs.appcelerator.com/titanium/3.0/#!/guide/iOS_Module_Development_Guide Associated Q&A: http://developer.appcelerator.com/question/176428/permission-denied-when-trying-to-build-my-ios-custom-module-for-my-titanium-mobile-project

Comments

  1. Chris Barber 2014-07-24

    What happens when you run python build.py?
  2. Stephen Feather 2014-07-24

    It runs. However, 1. documentation doesn't require this 2. previous versions of the sdk had build.py as executable, so this is a change in SOP
  3. Feon Sua Xin Miao 2014-08-13

    PR: https://github.com/appcelerator/titanium_mobile/pull/5967 3_3_X: https://github.com/appcelerator/titanium_mobile/pull/5972 Functional Test: Create a module for ios:
       ti create -p ios -t module -d . -n test -u http:// --id com.timob.test
       
    Package the module:
       test/iphone/build.py
       
    Note: all the copied files should have the same permission as the templates.
  4. Chris Barber 2014-08-13

    [~fmiao] Can you also do the 3_3_X backport? If you need help, I'd be happy to lend a hand. Also, once you have submitted a PR, can you please click the "Submit to Review" button on this ticket and assign a reviewer. I should be the reviewer for anything CLI related such as this ticket. Thanks!
  5. Priya Agarwal 2014-08-22

    Verified with: Appcelerator Studio:3.4.0.201408210941 Sdk:3.4.0.v20140821144114 alloy:1.5.0-dev titanium:3.4.0-dev titanium-code-processor:1.1.1 acs:1.0.16 npm:1.3.2 OS:Maverick(10.9.4) xcode: Xcode6Beta5 Was able to build the ios module successfully using the above given steps. "iphone/build.py" Working as expected. Hence closing the issue.

JSON Source