Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

When you are using Xcode to make an iPhone app, how do you change the app's icon?

When you are using Xcode to make an iPhone app, how do you change the app's icon? Right now my icon for my app is just plain white.

like image 700
cat Avatar asked Aug 23 '09 00:08

cat


People also ask

How do I make the Xcode app work on my iPhone?

Open up a project in Xcode and click on the device near the Run ▶ button at the top left of your Xcode screen. Plug your iPhone into your computer. You can select your device from the top of the list. Unlock your device and (⌘R) run the application.

Can you make iOS apps with Xcode?

After downloading Xcode and learning Swift, you're going to be able to not only build iOS apps for an iPhone, but also apps for other Apple products such as iPads, Apple watch apps, Apple TV apps, etc. Now, downloading Xcode and learning Swift isn't as simple as it sounds.


2 Answers

Create a 57x57 PNG file and import it into your project bundle. Then open the .plist file that is included in your project and edit the value for the key "Icon File" to match the name of the icon you provided (CFBundleIconFile is the actual key, but the Xcode editor will display the nicer name for you).

like image 134
Tim Avatar answered Oct 19 '22 03:10

Tim


In Xcode 4, you can go to your app's Summary page and there is a section called App Icons. Then just drag and drop an image into one of the "drop zones". It just works! :D

like image 22
pixelfreak Avatar answered Oct 19 '22 05:10

pixelfreak