Andrew
Andrew

Reputation: 16051

How can i change executable name?

On uploading to the appstore, i'm getting

This bundle is invalid. The executable name, as reported by CFBundleExecutable in the Info.plust file, may not contain any of these characters \ [ ] { } ( ) . + *

My app contains a +. How can i change this?

Upvotes: 1

Views: 6080

Answers (3)

Jeff Stone
Jeff Stone

Reputation: 319

set the Bundle Display Name to ${PRODUCT_NAME} and create an InfoPlist.strings file if you don't already have one. Then set that CFBundleDisplayName to the name you want.

"CFBundleDisplayName" = "Whatever";

Then you can make your app with a + sign in the name

Upvotes: 1

Bastian
Bastian

Reputation: 10433

Just open the Info.plist file of your project and put an other name in the value for the CFBundleExecutable. It's probably something like ${EXECUTABLE_NAME} right now and you can put anything there. It's not visible to the end user of your app.

Upvotes: 2

Ahmad Kayyali
Ahmad Kayyali

Reputation: 8243

Since Snow Leopard, Xcode now provides a "Project > Rename…" menu item that will rename all aspects of a project, including the executable name.Reference

Upvotes: 1

Related Questions