Skip to main content

Changing Name of Xcode Project Doesn’t Change Name in Menu Bar

·1 min

I recently changed the name of an Xcode SDL project. The change worked except for one problem. The menu bar showed the old project name as the application name. What was strange was the menus in the application menu (About App, Hide App, Quit App) showed the new project name. What was causing the menu bar to show the old project name?

The culprit was the project’s InfoPlist.strings file. I noticed the keys CFBundleName, CFBundleShortVersionString, and CFBundleGetInfoString had the old project name. Changing these keys to the new project name, cleaning the project, and rebuilding the project fixed the problem. The menu bar now shows the new project name.