Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

storyboard has question marks for every image after I imported into xcassets

all images in my storyboard are now ? images. This happened after I imported all media assets into a new .xcassets structure. The app runs fine and the images show when the app runs, but what can I do to restore them in the storyboard?

like image 279
Mark W Avatar asked Nov 06 '13 18:11

Mark W


2 Answers

Remove the .png extension from the image names in the storyboard. Xcode5 now uses the image name, not the filename.

like image 181
Jonathan Arbogast Avatar answered Nov 17 '22 14:11

Jonathan Arbogast


Try first to do a clean build. In a project including git repo I was facing this problem. It solved each time by just by clean building the folder:

⇧⌘K
or
Product-> Clean build folder

like image 37
Patrik Rikama-Hinnenberg Avatar answered Nov 17 '22 15:11

Patrik Rikama-Hinnenberg