Xcode's dependency tracking regarding Info.plist files.
| Originator: | nikolai.ruhe | ||
| Number: | rdar://14387632 | Date Originated: | 7/9/2013 |
| Status: | Duplicate of 4505141 | Resolved: | 09-Jul-2013 |
| Product: | Developer Tools | Product Version: | Xcode5-DP3 |
| Classification: | Serious Bug | Reproducible: | Always |
Summary:
When changing a build setting Xcode does not update dependent Info.plist files.
Steps to Reproduce:
1. Create a simple Xcode project, for example an iOS single view app.
2. Create a new xcconfig file in the project.
3. Set the project configurations to be based on that xcconfig file.
4. Add a custom setting to that file, like MY_SETTING = foo
5. Add a custom key to the project's Info.plist file, like <key>foo</key><string>${MY_SETTING}</string>
6. Build and check the Info.plist file in the build product. The contained value will be "foo", as expected.
7. Change the xcconfig file to MY_SETTING = bar
8. Build again. The setting will not be updated to "bar"
Expected Results:
The Info.plist file should reflect the current build setting.
Actual Results:
The Info.plist file is not updated.
Notes:
This does not depend on a custom build setting, the same error occurs with built-in build settings.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!