SpriteKit Project — AbsolutelyBrickingIt — Part 3: Set the app icon

atomicswiftdev
App Dev Pro Tips
Published in
2 min readAug 12, 2024

In this short article, we’re going to set the app icon to something other than the default app icon.

View the default app icon

In the Simulator, check the current (default) app icon on the Home screen (⇧⌘H to show the Home screen):

Default app icon on Home screen

Adding image assets to the project

In the Xcode project navigator (⌘0), select Assets:

Select Assets

Using Finder, select the app icon image and drag it onto the AppIcon placeholder:

Drag icon image onto AppIcon placeholder

AppIcon now shows the new image:

AppIcon updated

Running the project in a simulator

Run the app in the Simulator:

Run app in Simulator

Show the Home screen in the Simulator (⇧⌘H):

App icon on Home screen

We’ve successfully set a new app icon for the project. It’s not a particularly good app icon, but it’s at least something different to the default app icon.

Code

This article corresponds to the merge commit Add app icon (#3) in the GitHub repository AbsolutelyBrickingIt

Next Part

Part 4: Add a main menu

--

--

App Dev Pro Tips
App Dev Pro Tips

Published in App Dev Pro Tips

Welcome to the App Dev Pro Tips community! We’re a cross-platform collaboration dedicated to sharing the best practices, troubleshooting guides, and code snippets to help you master the art of mobile app creation.