[TIMOB-12069] CLI: Custom Info.plist values not properly overwritten by tiapp.xml values or inheriting from default Info.plist
GitHub Issue | n/a |
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-12-21T01:57:50.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 3.0.0, Release 3.1.0, 2012 Sprint 25, 2012 Sprint 25 JS |
Components | CLI |
Labels | qe-cli, qe-port |
Reporter | Eric Merriman |
Assignee | Chris Barber |
Created | 2012-12-12T22:05:11.000+0000 |
Updated | 2012-12-21T01:57:50.000+0000 |
Description
This is a regression from 2.1.4 GA.
After discovering some issues with KS and its custom info.plist, we did some additional investigation in this area.
It seems that including a custom info.plist file in the root of your Studio project will result in this file being used as the info.plist for iOS application and therefore replacing values found in tiapp.xml.
According to what I know, the keys/values for the final info.plist file are gathered for some values from the tiapp.xml, for others from the plist, and for some there is a merge of the values from the plist and the tiapp.xml.
The result of this behavior is that settings in the tiapp.xml are not being used in the final project.
Steps to reproduce:
1) Unzip and import into studio the attached project
2) Build the project with the build mentioned.
3) Copy the resulting info.plist form the build folder
4) Build again with 2.1.4 GA and grab the info.plist
5) Compare the info.plists
Result:
The 3.0X info.plist will match exactly the custom info.plist included at the project root
The 2.1.4 GA info.plist will not match exactly with the custom info.plist.
Attachments
Master pull request: https://github.com/appcelerator/titanium_mobile/pull/3583 3.0.x pull request: https://github.com/appcelerator/titanium_mobile/pull/3584
2nd 3.0.x pull request: https://github.com/appcelerator/titanium_mobile/pull/3587
Custom info.plist values overwritten by plist values in TiApp.xml Verified on: Titanium Studio: 3.0.0.201212112036 Titanium SDK:3.0.0.v20121212184921 Mac OS X 10.8.2 XCode: 4.5.1 CLI: 3.0.21
Updated fix versions.