Bug preprocessing Info.plist files in Xcode 3.2.1
Bug preprocessing Info.plist files in Xcode 3.2.1
- Subject: Bug preprocessing Info.plist files in Xcode 3.2.1
- From: Eric Gorr <email@hidden>
- Date: Wed, 2 Dec 2009 18:30:03 -0500
Unless I have missed something, this appears to be a bug in Xcode 3.2.1.
I've got a simple test project which reproduces this problem.
http://ericgorr.net/cocoadev/plisttest.zip
The steps to reproduce are:
1. Take a look at the value of MAJOR_REVISION_NUMBER in VersionInfo.h
2. Build the project
3. Verify the Info.plist contains the value of MAJOR_REVISION_NUMBER in the CFBundleShortVersionString
4. Change the value of MAJOR_REVISION_NUMBER
5. Build the project again, without cleaning anything
The Info.plist will not contain the updated value for MAJOR_REVISION_NUMBER.
There are three ways to get a rebuilt Info.plist that I am aware of:
• Edit (just ‘touch’ing won’t work) the plisttest-Info.plst file by adding & deleting a line
• Trashing plisttest/build/plisttest.build/Debug/plisttest.build/Preprocessed-Info.plist
• Clean and rebuild (definitely not recommended)
I have filed a bug report: rdar://7438711
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden