[TIMOB-17420] iOS: build.py created during iOS module project generation is not executable
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-08-21T18:54:24.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 3.4.0 |
Components | Tooling |
Labels | cli, ft, qe-closed-3.4.0, qe-manualtest, qe-testadded |
Reporter | Stephen Feather |
Assignee | Feon Sua Xin Miao |
Created | 2014-07-24T05:49:39.000+0000 |
Updated | 2014-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
What happens when you run
python build.py
?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
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:
Package the module:
Note: all the copied files should have the same permission as the templates.
[~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!
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.