It seems agvtool was not upgraded to work with Xcode. If you try to use it on an xcode project, it will not recognize it. I edited the agvtool so it does see .xcode projects, but there is still one problem. It upgrades CURRENT_PROJECT_VERSION but no longer upgrades CFBundleVersion. If I understand this correctly, ProjectBuilder projects stored its Info.plist file in the project file. Xcode projects keep a separate Info.plist file. Anyone know how to fix this so it updates Info.plist? To get agvtool to see xcode projects, just change all the .pbproj extensions to .xcode. Be sure you make a copy of agvtool first though. This is where it upgrades CFBundleVersion:
if [ z"${UPDATEALL}" = z"YES" ] ; then
echo "Also setting CFBundleVersion key (assuming it exists)"
echo
sed "/^[ ]*<key>CFBundleVersion.*$/,/.*$/s/\(^[ ]*<string>\)\(.*\)\(<\/string>.*$\)/\1${NEW_VERSION_NUM}\3/" "${PROJECT}.new2"
If anyone knows a solution let me know.