Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-12069] CLI: Custom Info.plist values not properly overwritten by tiapp.xml values or inheriting from default Info.plist

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2012-12-21T01:57:50.000+0000
Affected Version/sn/a
Fix Version/sRelease 3.0.0, Release 3.1.0, 2012 Sprint 25, 2012 Sprint 25 JS
ComponentsCLI
Labelsqe-cli, qe-port
ReporterEric Merriman
AssigneeChris Barber
Created2012-12-12T22:05:11.000+0000
Updated2012-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

FileDateSize
Info.plist2012-12-13T00:43:30.000+00001970
infoplisttest.zip2012-12-12T22:05:59.000+00002154488
plist.png2012-12-12T22:10:02.000+0000180116
testapp6.zip2012-12-13T01:59:35.000+00006353637

Comments

  1. Ingo Muschenetz 2012-12-12

  2. Chris Barber 2012-12-13

    Master pull request: https://github.com/appcelerator/titanium_mobile/pull/3583 3.0.x pull request: https://github.com/appcelerator/titanium_mobile/pull/3584
  3. Chris Barber 2012-12-13

    2nd 3.0.x pull request: https://github.com/appcelerator/titanium_mobile/pull/3587
  4. Satyam Sekhri 2012-12-13

    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
  5. Ingo Muschenetz 2012-12-21

    Updated fix versions.

JSON Source