Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Sep 16, 2008, 10:26 AM   #1
kristiaand
macrumors member
 
Join Date: Dec 2007
Xcode 2.5 / 3 changing application icon

hi lads,
again just a quick question, i am at a little bit of a loss changing my applications icon from the standard Xcode project icon.

I can change the icon by using get info and dragging the icon i want into the old icons space in get info, but when i transfer it to other Macs or network shares the original xcode icon re-appears.

what am i doing wrong? i have poked around inside the application in xcode and i cannot see any obvious signs of the icon its using.



also am i correct in assuming an application that is built and compiled on a 10.4 G4 mac will not run on an intel based mac using 10.5?

i did try and the app just seemed to bomb out with an error, saying that the application unexpectedly terminated.


thanks everyone.
kristiaand is offline   0 Reply With Quote
Old Sep 16, 2008, 11:09 AM   #2
kainjow
Moderator emeritus
 
kainjow's Avatar
 
Join Date: Jun 2000
Get Info on the target, then go to Properties and put the name of the icon file (.icns) into the Icon File field. I wouldn't drag in an icon, because who knows where that icon is located. The icon must be a resource that gets copied into the .app's Resources folder.

If you're building on 10.4, make sure you link against the 10.4 SDK and build as a universal binary. If it's still crashing, there's something else going on.
kainjow is offline   0 Reply With Quote
Old Sep 16, 2008, 05:41 PM   #3
kristiaand
Thread Starter
macrumors member
 
Join Date: Dec 2007
Quote:
Originally Posted by kainjow View Post
Get Info on the target, then go to Properties and put the name of the icon file (.icns) into the Icon File field. I wouldn't drag in an icon, because who knows where that icon is located. The icon must be a resource that gets copied into the .app's Resources folder.
thanks for the info regarding this i had an idea it was going to be in there somewhere, but i just could not find it for the life of me... could you suggest any good resources for free mac icons? all i can find are PNG or ICO files.

Quote:
Originally Posted by kainjow View Post
If you're building on 10.4, make sure you link against the 10.4 SDK and build as a universal binary. If it's still crashing, there's something else going on.
Will have to have another go at this i compiled the app on a G4 mac using 10.4 moved it to a intel mac 10.5 and it just crashed out straight away. so i will have a mess around with the compiler settings regarding this.

thanks again for the help
kris
kristiaand is offline   0 Reply With Quote
Old Sep 16, 2008, 06:19 PM   #4
kainjow
Moderator emeritus
 
kainjow's Avatar
 
Join Date: Jun 2000
You can use img2icns to convert images to an icon.

If you're testing a debug build, try a release one instead.
kainjow is offline   0 Reply With Quote
Old Sep 16, 2008, 07:01 PM   #5
kristiaand
Thread Starter
macrumors member
 
Join Date: Dec 2007
Thanks again lads, your all legends im off on hols shortly so this maybe the longest reply to a post to find out if all went well, but again thanks for the info and the program it works very well.!!

thanks
kris
kristiaand is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Create finished application? Xcode 5? mark79658 Mac Programming 1 Mar 17, 2014 05:49 AM
Changing an Application's Icon in Launchpad imacken OS X Mavericks (10.9) 1 Feb 22, 2014 06:11 AM
Any way/application to click on application icon in dock and minimize? TheArgonaut OS X Mavericks (10.9) 3 Dec 6, 2013 08:23 PM
Icon Composer removed from Xcode 4.4? gumblecosby OS X 10.8 Mountain Lion 3 Jul 26, 2012 01:12 PM
Xcode code signed application does not work on 10.8 Sven11 OS X 10.8 Mountain Lion 2 Jul 17, 2012 09:38 AM

Forum Jump

All times are GMT -5. The time now is 10:33 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC