I did find a couple of very similar or identical threads here but they seemed to end before full resolution.
My app runs fine on my device with no build error. I am trying to submit app for approval and I get the following error, "This bundle is invalid. The executable name, as reported by CFBundleExecutable in the info.plist file may not contain any of these characters ..... +". So I opened my info.plist file and changed the info.plist file executable name from the macro ${EXECUTABLE_NAME} to the name of my app without the +. I did a new archive but then get an error saying the "codesign failed with exit code 1".
In another thread I read to just change targets name removing the + from there and leaving the info.plist file with the macro for the executable name, restarting Xcode and then archiving again. That allowed me to archive but I received the same error in iTunes Connect.
I have been working on this all day and don't find the solution. Can anyone please point me in the right direction? Thank you for any help.
You have to change ${PRODUCT_NAME}
in Build Settings.
And you have to set name for display at Bundle Display Name in Info.plist
.
See here for more details: Bundle Name, Executable Name, Product Name...anything else?
There are a few different ways to make this work but this seems like the easiest/fastest
Clean your simulator and device
I left the Executable name as-is in the Info.plist because the ${EXECUTABLE_NAME} variable it references by default is comprised of the ${PRODUCT_NAME} and a couple of other variables that I did not want to mess with.
thanks to Nathan Welch who's answer was basis for this tutorial
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With