How do I stop B4i from trying to generate the generic icons for the app?
I have placed my five icon *.png files in Files\Special but when I compile it gets a Building Xcode project Error.
"The file '...\Objects\src\Icon-60.png' already exists."
When I look in \Objects\src\ I see my five icon images. So I am guessing it is still trying to generate the generic ones and does not like seeing my custom ones there. If I remove Icon-60.png file from Special then it fails on the next custom *.png file and Icon-60.png is the generic one. This is what makes me thing it is still trying to create the generic icons.
I have downloaded the Coordinates example code which has custom icons which does compile but I can see no difference between what I am doing and what Coordinates does which works.
What am I missing?
-----------------------
I just moved all the icons from Special up to just Files and it now works.
-----------------------
That only worked for Debug. When I tried to Build Release app I get the same error back again.
------------------------
This is very strange. When I have my icons in Files not Files/Special I get warning #15 "File '*.png' is not used' when I compile with Debug which is not really true because I see the icons used on the device in place of the generic Blue one.
------------------------
Not sure if this is the problem but my code is just the generic Code module default when you open "New" with the addition of one line (Page1.RootPanel.LoadLayout("Summary")) to load the layout just after "Page1.RootPanel.Color = Colors.White".
The other two subs are empty (Page1_Resize and Application_Background).
Is there some Sub that needs to have code that is causing my app Icon problems?
=================
Got it working but some thing is very wrong here.
I copied over the icons from Coordinates example into my app's Special folder and now I have an app icon in both debug and release compiles. As expected the icon is the Coordinates' icon.
So something is wrong with one or more of my icons, right? I then replace each Coordinate icons in my app Special folder with my original icon. One by one and do a Release. Each time it works until I have replaced all five icons with my original ones.
What is going on here? Now B4i likes my icons just because it saw the Coordinate ones first? Yes that is what appears to happen.
Boastrike. I didn't have any issues. All of my icon name are lowercase, I did notice that Turbo3 has changed capitalization from the coordinates app, so not sure if that is an issue. I also duplicated my icons into the Files folder as well, as it was mentioned in another thread as a suggestion.
How do I stop B4i from trying to generate the generic icons for the app?
I have placed my five icon *.png files in Files\Special but when I compile it gets a Building Xcode project Error.
"The file '...\Objects\src\Icon-60.png' already exists."
When I look in \Objects\src\ I see my five icon images. So I am guessing it is still trying to generate the generic ones and does not like seeing my custom ones there. If I remove Icon-60.png file from Special then it fails on the next custom *.png file and Icon-60.png is the generic one. This is what makes me thing it is still trying to create the generic icons.
I have downloaded the Coordinates example code which has custom icons which does compile but I can see no difference between what I am doing and what Coordinates does which works.
What am I missing?
-----------------------
I just moved all the icons from Special up to just Files and it now works.
-----------------------
That only worked for Debug. When I tried to Build Release app I get the same error back again.
------------------------
This is very strange. When I have my icons in Files not Files/Special I get warning #15 "File '*.png' is not used' when I compile with Debug which is not really true because I see the icons used on the device in place of the generic Blue one.
------------------------
Not sure if this is the problem but my code is just the generic Code module default when you open "New" with the addition of one line (Page1.RootPanel.LoadLayout("Summary")) to load the layout just after "Page1.RootPanel.Color = Colors.White".
The other two subs are empty (Page1_Resize and Application_Background).
Is there some Sub that needs to have code that is causing my app Icon problems?
=================
Got it working but some thing is very wrong here.
I copied over the icons from Coordinates example into my app's Special folder and now I have an app icon in both debug and release compiles. As expected the icon is the Coordinates' icon.
So something is wrong with one or more of my icons, right? I then replace each Coordinate icons in my app Special folder with my original icon. One by one and do a Release. Each time it works until I have replaced all five icons with my original ones.
What is going on here? Now B4i likes my icons just because it saw the Coordinate ones first? Yes that is what appears to happen.