Build Crash When Apostrophe in App Name

If I have an apostrophe in my iOS app name, the Corona Simulator crashes when I try to build for device on my Mac. I get a “Corona Simulator quit unexpectedly” dialog. I see these entries in my Console:

[0x0-0x44044].com.anscamobile.Corona_Simulator: ?:0: attempt to index a nil value

com.apple.launchd.peruser.501: ([0x0-0x44044].com.anscamobile.Corona_Simulator[1079]) Job appears to have crashed: Bus error: 10

The app runs fine in the Corona Simulator, I am just unable to do a Build.

What can I do so I can have an apostrophe in my iOS app name?

Thank you for your help. [import]uid: 27976 topic_id: 16863 reply_id: 316863[/import]

I figured it out. You use a fake app name without an apostrophe, and override the fake app name with a “CFBundleDisplayName” setting with the real app name in your “build.settings” file.

Like this:

CFBundleDisplayName = “Dad’s Games”,

When Corona does the build it makes a package with the fake app name, but when you pull the package into Xcode it shows the real app name, and when you put it on the device it shows the real app name. [import]uid: 27976 topic_id: 16863 reply_id: 63365[/import]

Thanks for sharing. [import]uid: 89165 topic_id: 16863 reply_id: 63388[/import]

Yes adding CFBundleDisplayName = "name" is a good solutions for getting around problems with non-supported characters in the app file name. It can also be used when the file name contains foreign characters. Use a valid app name and then set the Bundle Name to the real name of the app.

With that said we did role in a fix today for the Mac simulator that allows app names to contain valid ASCII characters (including apostrophe). This fix will be in the next daily build. [import]uid: 7559 topic_id: 16863 reply_id: 63464[/import]

Then even better it will be Tom.

Thanks. [import]uid: 89165 topic_id: 16863 reply_id: 63467[/import]

Thanks for the fix! [import]uid: 27976 topic_id: 16863 reply_id: 63566[/import]

This just saved me. Thanks!

This just saved me. Thanks!