cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony Homer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-10251) iOS Icons and Splash Screens do NOT copy if project name has a space
Date Thu, 28 Jan 2016 22:46:39 GMT

    [ https://issues.apache.org/jira/browse/CB-10251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15122471#comment-15122471
] 

Tony Homer commented on CB-10251:
---------------------------------

Yes, see my comment above.  For what I think you want to do, you need to be on 5.4.0+.  Actually
on Cordova 5.4.1 + cordova-ios 4.0.1 I think it will just work and you will not need a workaround.

> 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
>          Components: iOS
>         Environment: cordova-ios 4.0.0
>            Reporter: vB Results, LLC.
>            Priority: Minor
>              Labels: cordova-ios-4.1.0, triaged
>
> 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.
> Possible 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:
> {code}
> 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-60@2x.png
> cp: copyFileSync: could not write to dest file (code=ENOENT):/Users/user900330/Desktop/project.cordova/platforms/ios/My
Project/Resources/icons/icon-60@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-76@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-small@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-40@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/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-72.png
> cp: copyFileSync: could not write to dest file (code=ENOENT):/Users/user900330/Desktop/project.cordova/platforms/ios/My
Project/Resources/icons/icon-72@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-50@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
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message