Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS

Jiayi Liu
Jiayi Liu
12,199 Points

images shown in simulator but not in iPhone

After the diary project I finally bought the iOS developer programme and tested those treehouse project out on my iPhone; All the apps worked perfectly okay in simulator, and seemingly no problem on device, there is just one, common problem, among all of my apps: no images from the images.xcassets are displayed on my device, it was just the, app icons and launch images were displayed, not inside the app.

Any idea what the...was the difference between the device and simulator? Some people declared that the case of filename has to match the statement, and I've checked it, no case issue ever existed...I totally have

my xCode is 6.0beta, and my phone is a 5C running 7.1.1. Thanks for any advice.

Hello Jiayi,

I've noticed a few issues when using xCode 6.0 Beta 3. Try running via xCode 5. Also make sure that the images are saved in the project folder and not linked from your desktop/folder.

3 Answers

Robert Bojor
PLUS
Robert Bojor
Courses Plus Student 29,439 Points

It is recommended to use a production version of Xcode, like Xcode5, and not a Beta version. Betas have too many problems and bugs and some features of your app will not work correctly.

Thomas Nilsen
Thomas Nilsen
14,957 Points

I would definitely start by trying it out in Xcode 5, and not a beta version of Xcode 6

Jiayi Liu
Jiayi Liu
12,199 Points

Thank you all!!! I switch back to xCode5 and it works instantly! Gosh it took me so long to work out such a ridiculous problem, shall never trust a Beta again...

Yeah, I made the mistake 2 years in a row now upgrade my computer to the new OSX Beta. I think I have learned my lesson. So many bugs.. just not worth it.