Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-6905] Tooling: iOS - variables in custom Info.plist not populated during build

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionCannot Reproduce
Resolution Date2016-08-22T22:11:21.000+0000
Affected Version/sRelease 1.8.0.1
Fix Version/sn/a
ComponentsTooling
Labelsn/a
ReporterStephen Feather
AssigneeIngo Muschenetz
Created2011-12-27T13:54:49.000+0000
Updated2017-03-23T20:24:40.000+0000

Description

Problem

Under 1.8.0.1, in a custom Info.plist (required for proper background modes), variable placeholders are not populated on build Screenshots show generated Info.plist from App package. Note: 1.7.5 works as expected.

Steps to reproduce

1. Create a new default mobile project. 2. Build for iOS simulator. 3. Copy the Info.plist from the build/iphone directory to \{project\}/platform/iphone Note Placeholders for Product Name and Executable Name: {noformat} CFBundleDisplayName ${PRODUCT_NAME} CFBundleExecutable ${EXECUTABLE_NAME} {noformat} 4. Clean project. 5. Edit \{project\}/platform/iphone to customize (add a background requirement or something) 6. Rebuild for iOS. 7. Name of app in Springboard will be $(Prog...) 8. If you browse the app Package under the simulator directory, you will find that in the packaged Info.plist, those variable/placeholders have not been populated.

Attachments

FileDateSize
pacakged-info.plist.sdk.1.7.5.png2011-12-27T13:54:49.000+000032494
pacakged-info.plist.sdk.1.8.0.1.png2011-12-27T13:54:49.000+000030936

Comments

  1. Paul Dowsett 2011-12-27

    Thanks for raising this ticket. In order for me to escalate it to the core team, all the fields must be complete. Please check it against the [JIRA Ticket Checklist](https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-JIRATicketChecklist), and add any missing information. I will mark this resolved for now. Please reopen it once it is complete, and I will move it to the main project. Cheers
  2. Paul Dowsett 2011-12-27

    Stephen Please would you complete the environment field, and then I can escalate this ticket. Many thanks
  3. Paul Dowsett 2011-12-28

    iOS and xcode versions please, Stephen. Thank you
  4. Chris Barber 2016-08-22

    I tested with Titanium SDK master (currently 6.1.0) and I couldn't reproduce the issue. The Info.plist in the build/iphone directory indeed does have the ${PRODUCT_NAME} and ${EXECUTABLE_NAME}, but the final Info.plist in the built .app directory has the properties filled in correctly. I was unable to see the issue with the app name being $(Prog...) on the Springboard.
  5. Lee Morris 2017-03-23

    Closing ticket as "Cannot Reproduce" with reference to the above comments.

JSON Source