Re: Why isn't this info.plist file being read??
Re: Why isn't this info.plist file being read??
- Subject: Re: Why isn't this info.plist file being read??
- From: Greg Guerin <email@hidden>
- Date: Thu, 19 Oct 2006 18:54:33 -0700
Laurence Harris wrote:
>- I don't see either of the normal version info strings
>CFBundleGetInfoString or CFBundleShortVersionString.
I have several existing bundled apps I wrote that only have a
CFBundleVersion value. When I do Get Info on any of them, there is no
version info and no Version line. I tried it under 10.4.7, 10.3.5, 10.2.8,
10.1, and 10.0 (4K78). Although 10.0 feels primitive by comparison, the
Finder's Version line is consistent.
I have another existing app with a CFBundleVersion string of 2.0 and a
CFBundleGetInfoString of "Checksummer". When I do Get Info on it, under
10.0-10.4.7, the Finder shows:
Version: Checksummer
Some of these apps have executable names that don't match the ".app" name,
and some do. For example, "Checksummer.app" does, but others don't. All
of them do have the correct executable name in the Info.plist, otherwise
they won't launch (tried it).
Without knowing exactly what the original Info.plist file was, the one
where the Version worked, I don't know that we can diagnose why that one
worked. It may be there was a CFBundleGetInfoString somehow getting added
automagically. If there's a backup, I recommend looking there.
I also recommend looking at the Info.plist in the actual build-product, to
confirm that it has what one is expecting, or at least what one should
expect given the source files. It's not clear from the original post
whether the example is from the source tree or the build outputs.
To the original question:
"I must be missing something, right?"
the short answer seems to be:
Yes, CFBundleGetInfoString.
Why it worked before, I can't explain, because I haven't seen the
Info.plist from that built app.
-- GG
_______________________________________________
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