[TIMOB-7368] Tooling: titanium.py create does not add platform tiapp.xml tags as expected
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-08-22T23:57:12.000+0000 |
Affected Version/s | Release 1.8.0.1, Release 1.8.1 |
Fix Version/s | Release 3.0.0 |
Components | Tooling |
Labels | n/a |
Reporter | Dustin Hyde |
Assignee | Ingo Muschenetz |
Created | 2012-01-24T16:48:47.000+0000 |
Updated | 2017-03-16T21:39:06.000+0000 |
Description
When 'titanium.py create' is run from the command line, the created project does not contain platform tag information in tiapp.xml file, as would be expected.
Note: When the new project is imported into studio, the tags are added based on the presence of the platform-specific Resources sub-folder (i.e., Project/Resources/android). This seems unexpected, but this is how it works as of now.
Steps to Reproduce:
1. Run 'titanium.py create' from the terminal using the following arguments:
dhydeMBPLion:~ dhyde$ /Users/dhyde/Library/Application\ Support/Titanium/mobilesdk/osx/1.8.1.v20120123161633/titanium.py create --platform=iphone --type=project --dir=/Users/dhyde/Downloads --name=TagTest --id=com.appcelerator.tagtest
2. Inspect tiapp.xml in the new project folder.
Expected Result:
Deployment target tags would be present.
<deployment-targets>
<target device="mobileweb">true</target>
<target device="iphone">true</target>
<target device="ipad">true</target>
<target device="android">true</target>
<target device="blackberry">false</target>
</deployment-targets>
Actual Result:
No deployment targets exist.
titanium.py create
was replaced by the Titanium CLI'sti create
command which does add the platforms as expected. This was fixed in Titanium SDK 3.0.0.Closing ticket as fixed.