[TIMOB-6905] Tooling: iOS - variables in custom Info.plist not populated during build
GitHub Issue | n/a |
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2016-08-22T22:11:21.000+0000 |
Affected Version/s | Release 1.8.0.1 |
Fix Version/s | n/a |
Components | Tooling |
Labels | n/a |
Reporter | Stephen Feather |
Assignee | Ingo Muschenetz |
Created | 2011-12-27T13:54:49.000+0000 |
Updated | 2017-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
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
Stephen Please would you complete the environment field, and then I can escalate this ticket. Many thanks
iOS and xcode versions please, Stephen. Thank you
I tested with Titanium SDK master (currently 6.1.0) and I couldn't reproduce the issue. The
Info.plist
in thebuild/iphone
directory indeed does have the${PRODUCT_NAME}
and${EXECUTABLE_NAME}
, but the finalInfo.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.Closing ticket as "Cannot Reproduce" with reference to the above comments.