iOS Question Icon-xxx.png allready exists

Discussion in 'iOS Questions' started by pierrem, Jan 26, 2015.

  1. pierrem

    pierrem Member Licensed User

    Hi,

    I designed several icons of several size, as requested and placed them in xxxxxx/Files/Special (as mentionned here)

    But when compiling, I get an error : Le fichier xxxxxx/Objects/src/Icon-60.png' existe déjà.
    (file allready exists)

    If I remove all icons from xxxx/Files/Special (and from xxxxxx/Objects/src) I get the 'blue' icon.

    What is the trick ?

    Thanks in advance.
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Can you post the full text from the compilation window?
     
  3. pierrem

    pierrem Member Licensed User

    Here it is :

    Code:
    Parsing code.                           0.02
    Compiling code.                         
    0.04
    Compiling layouts code.                 
    0.02
    Compiling debugger engine code.         
    1.76
    Building Xcode project                  Error
    Le fichier 
    'C:\Users\utilisateur\Documents\_apps\ios\41-Conv\Objects\src\Icon-60.png' existe déjà.
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    Try to rename it to icon-60.png instead of Icon.png.
     
  5. pierrem

    pierrem Member Licensed User

    Hi Erel,

    I remove all icons from /Object/Src, while having icon.png (renamed from icon-60.png) in /Files/Special
    At compilation time :
    --> icon.png is copyied in /Object/src
    --> in this Dir, several icons a created : icon-60, icon-60@2X, icon-76, icon-76@2X : ALL BLUE
    The app, after install, shows icon-60 (or another blue one)

    I remove all icons from /Object/Src, then copied icon.png (renamed from icon-60.png) from /Files/Special
    --> no error like 'file allready exists', that was the initial problem.
    --> in this Dir, several icons a created : icon-60, icon-60@2X, icon-76, icon-76@2X : ALL BLUE
    The app, after install, shows icon-60 (or another blue one)

    Hope it helps
     
  6. Erel

    Erel Administrator Staff Member Licensed User

    You need to create all the required icon files if you want to use a custom icon.
     
  7. pierrem

    pierrem Member Licensed User

    It works in Debug mode
    When trying to build a release app, I have the same 'file allready exists'
    (even if the /object/src if empty, and the icons only are in /files/special)

    It seems that icons files are copied from /files/special to /object/src,
    and the error (Le fichier 'C:\Users\utilisateur\Documents\_apps\ios\41-Conv\Objects\src\Icon-60.png' existe déjà.) rise after that.
     
    Last edited: Jan 27, 2015
  8. Erel

    Erel Administrator Staff Member Licensed User

    Can you upload your project?
     
  9. pierrem

    pierrem Member Licensed User

    Don't want to uploading the zip/project to a public site.
    How to MP with upload ?

    thks
     
  10. Erel

    Erel Administrator Staff Member Licensed User

  11. pierrem

    pierrem Member Licensed User

    Oupsssss

    Certains des destinataires ou tous les destinataires n'ont pas reçu votre message.


    Objet : TR: BAI - error while icon copying at compile time

    Date : 28/01/2015 09:54


    Impossible de contacter le(s) destinataire(s) suivant(s) :


    'erel@basic4ppc.com.' le 28/01/2015 09:54

    Destinataire non valide
     
  12. Erel

    Erel Administrator Staff Member Licensed User

    What is the project size?
     
  13. pierrem

    pierrem Member Licensed User

    Find it here (I just remove inside URL ...)
    I also remove before zipping the /files/special/GoogleMaps.bundle that was too heavy to pas the 512Kb limit
     

    Attached Files:

  14. Erel

    Erel Administrator Staff Member Licensed User

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice