Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / CodeWarrior / November 2004



Tip: Looking for answers? Try searching our database.

Changing Name of .icns file in Mach-O Project

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dana Cartwright - 22 Nov 2004 17:05 GMT
I have a Mach-O application bundle project with this line in my .plc file:

  key "CFBundleIconFile" value string "app3.icns"

I'd like to change the name of the icon file.  I figured I could just edit
the above line to have the new file name.  Ha!  Stupid idea.

I changed it to app4.icns and renamed my app3.icns file to app4.icns, but CW
now won't link the project.  Says it can't find "app3.icns".

I've thrown away the 'data' folder, the object code, re-searched for files,
cleaned the package folder, and rebooted (and I've done those things
repeatedly, in various sequences).  Nope.  CW has decided that my .icns file
has to be named 'app3', and that's that.

So what magic do I need to know that I'm missing here?  I could simply build
a new project, but that's a few hours of work.

--------------------
My e-mail address doesn't have a 2 in it.
David Phillip Oster - 22 Nov 2004 17:28 GMT
> I have a Mach-O application bundle project with this line in my .plc file:
>
[quoted text clipped - 13 lines]
> So what magic do I need to know that I'm missing here?  I could simply build
> a new project, but that's a few hours of work.

The old name still appears deep inside the outline in the "Package" tab
panel of the .mcp's main window (The multiple button control at the top
of the window labeled: "Files|Link Order|Frameworks|Packages|Targets") .
Delete the reference to the old one and drag the new one in.  

You can also export to XML, edit the XML as a text file, then re-import
it.
Dana Cartwright - 22 Nov 2004 17:55 GMT
> The old name still appears deep inside the outline in the "Package" tab
> panel of the .mcp's main window (The multiple button control at the top
> of the window labeled: "Files|Link Order|Frameworks|Packages|Targets") .
> Delete the reference to the old one and drag the new one in.

Thanks.  That fixed it.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.