[ https://issues.apache.org/jira/browse/CB-10251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
vB Results, LLC. updated CB-10251: ---------------------------------- Summary: iOS Icons and Splash Screens do NOT copy if project name has a space (was: [cordova-ios all versions] Icons and Splash Screens do NOT copy if project name has a space) > iOS Icons and Splash Screens do NOT copy if project name has a space > -------------------------------------------------------------------- > > Key: CB-10251 > URL: https://issues.apache.org/jira/browse/CB-10251 > Project: Apache Cordova > Issue Type: Bug > Environment: cordova-ios 4.0.0 > Reporter: vB Results, LLC. > Priority: Critical > > For the longest time I've always thought that I'd never be able to get the > icons and splash screens working by following the official documentation. I > always got errors like the ones below after adding the ios platform. > Turns out that if I change my project name from "My Project" to "MyProject", > the lack of a space allows the icon/splash copying to work. > Culprits: > https://github.com/apache/cordova-ios/blob/58885067ffea1546c51da2d95f2dc6ac30b40bef/bin/templates/scripts/cordova/lib/prepare.js#L301 > https://github.com/apache/cordova-ios/blob/58885067ffea1546c51da2d95f2dc6ac30b40bef/bin/templates/scripts/cordova/lib/prepare.js#L339 > Errors: > Adding ios project... > iOS project created with cordova-ios@4.0.0 > cp: copyFileSync: could not write to dest file > (code=ENOENT):/Users/user900330/Desktop/project.cordova/platforms/ios/My > Project/Resources/icons/icon-60.png > cp: copyFileSync: could not write to dest file > (code=ENOENT):/Users/user900330/Desktop/project.cordova/platforms/ios/My > Project/Resources/icons/icon...@2x.png > cp: copyFileSync: could not write to dest file > (code=ENOENT):/Users/user900330/Desktop/project.cordova/platforms/ios/My > Project/Resources/icons/icon...@3x.png > cp: copyFileSync: could not write to dest file > (code=ENOENT):/Users/user900330/Desktop/project.cordova/platforms/ios/My > Project/Resources/icons/icon-76.png > cp: copyFileSync: could not write to dest file > (code=ENOENT):/Users/user900330/Desktop/project.cordova/platforms/ios/My > Project/Resources/icons/icon...@2x.png > cp: copyFileSync: could not write to dest file > (code=ENOENT):/Users/user900330/Desktop/project.cordova/platforms/ios/My > Project/Resources/icons/icon-small.png > cp: copyFileSync: could not write to dest file > (code=ENOENT):/Users/user900330/Desktop/project.cordova/platforms/ios/My > Project/Resources/icons/icon-sm...@2x.png > cp: copyFileSync: could not write to dest file > (code=ENOENT):/Users/user900330/Desktop/project.cordova/platforms/ios/My > Project/Resources/icons/icon-40.png > cp: copyFileSync: could not write to dest file > (code=ENOENT):/Users/user900330/Desktop/project.cordova/platforms/ios/My > Project/Resources/icons/icon...@2x.png > cp: copyFileSync: could not write to dest file > (code=ENOENT):/Users/user900330/Desktop/project.cordova/platforms/ios/My > Project/Resources/icons/icon.png > cp: copyFileSync: could not write to dest file > (code=ENOENT):/Users/user900330/Desktop/project.cordova/platforms/ios/My > Project/Resources/icons/i...@2x.png > cp: copyFileSync: could not write to dest file > (code=ENOENT):/Users/user900330/Desktop/project.cordova/platforms/ios/My > Project/Resources/icons/icon-72.png > cp: copyFileSync: could not write to dest file > (code=ENOENT):/Users/user900330/Desktop/project.cordova/platforms/ios/My > Project/Resources/icons/icon...@2x.png > cp: copyFileSync: could not write to dest file > (code=ENOENT):/Users/user900330/Desktop/project.cordova/platforms/ios/My > Project/Resources/icons/icon-50.png > cp: copyFileSync: could not write to dest file > (code=ENOENT):/Users/user900330/Desktop/project.cordova/platforms/ios/My > Project/Resources/icons/icon...@2x.png > cp: copyFileSync: could not write to dest file > (code=ENOENT):/Users/user900330/Desktop/project.cordova/platforms/ios/My > Project/Resources/splash/Default~iphone.png > cp: copyFileSync: could not write to dest file > (code=ENOENT):/Users/user900330/Desktop/project.cordova/platforms/ios/My > Project/Resources/splash/Default@2x~iphone.png > cp: copyFileSync: could not write to dest file > (code=ENOENT):/Users/user900330/Desktop/project.cordova/platforms/ios/My > Project/Resources/splash/Default-Portrait~ipad.png > cp: copyFileSync: could not write to dest file > (code=ENOENT):/Users/user900330/Desktop/project.cordova/platforms/ios/My > Project/Resources/splash/Default-Portrait@2x~ipad.png > cp: copyFileSync: could not write to dest file > (code=ENOENT):/Users/user900330/Desktop/project.cordova/platforms/ios/My > Project/Resources/splash/Default-Landscape~ipad.png > cp: copyFileSync: could not write to dest file > (code=ENOENT):/Users/user900330/Desktop/project.cordova/platforms/ios/My > Project/Resources/splash/Default-Landscape@2x~ipad.png > cp: copyFileSync: could not write to dest file > (code=ENOENT):/Users/user900330/Desktop/project.cordova/platforms/ios/My > Project/Resources/splash/Default-568h@2x~iphone.png > cp: copyFileSync: could not write to dest file > (code=ENOENT):/Users/user900330/Desktop/project.cordova/platforms/ios/My > Project/Resources/splash/Default-667h.png > cp: copyFileSync: could not write to dest file > (code=ENOENT):/Users/user900330/Desktop/project.cordova/platforms/ios/My > Project/Resources/splash/Default-736h.png > cp: copyFileSync: could not write to dest file > (code=ENOENT):/Users/user900330/Desktop/project.cordova/platforms/ios/My > Project/Resources/splash/Default-Landscape-736h.png -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org