nomad-cli / shenzhen

CLI for Building & Distributing iOS Apps (.ipa Files)
MIT License
4.65k stars 492 forks source link

Space in app name crashes build #76

Closed Rayfleck closed 10 years ago

Rayfleck commented 10 years ago

My ios app name is "SolarPower". In Xcode, in target/Build Settings/Packaging/Product Name, I use "SolarPower". This builds fine. If I add a space to the product name, e.g. "Solar Power", and leave everything else the same, the build fails, saying there was a failure in "Check dependencies". I am using "ipa build" and "ipa build -c Debug", both of which fail identically. Running ipa 0.5.0 on OSX 10.8.5 (Other than this, ipa is a dream come true) Thanks.

Update: if I leave the ProductName as "SolarPower", but change the BundleDisplayName (in info.plist) to "Solar Power", it displays the name I want (with a space), and does not crash.

mattt commented 10 years ago

Spaces are not allowed in product names, since they are used to generate the bundle identifier, com.mycompany.${PRODUCT_NAME:rfc1034identifier}. BundleDisplayName was actually what you wanted to change there.