Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Tools & Utilities

Reply
 
LinkBack Thread Tools Display Modes
Old 10-07-2009, 04:30 PM   #1 (permalink)
Registered Member
 
Join Date: May 2009
Posts: 18
Default Images in Sim but not on Device with Xcode 3.2

I downloaded XCode 3.2 and now my application images will not load when running on device, but they do show up in the simulator.

i get the following error in the console when running on device:

Could not load the "internet_32.png" image referenced from a nib in the bundle with identifier "StudsDuds"

I have not made any changes to the code base. I've tried cleaning, restarting xcode/computer, deleting the build directory and rebuilding. But to no success.

I originally got this message when i was trying to create a similar application from same source, and i assumed that it something to do with renaming the project. With that application i tried changing the info.plist to have the right bundle name removing, removing re-adding images. Adding new images...

But nothing works. The other strange thing is that i have other images that are not showing up but i don't get an error for them in the console.

Also i've tried this with 2.2.1, 3.0, 3.1. Running 3.1 on device

Please help, i'm at my wits end. thank you

Please help, i'm at my wits end. Thank you
wolof is offline   Reply With Quote
Old 10-09-2009, 02:44 PM   #2 (permalink)
Indie Dev
 
hm50's Avatar
 
Join Date: May 2009
Location: South Bend, Indiana
Posts: 162
Default

Wolof,

I had the exact problem just today, I just fixed mine by deleting the app from the device and then do a "Clean All" and re-install. Worked for me anyway, I hope that fixes your problem.
__________________
iPhone 3G

Support Indie Devs!! (that goes for newbs too!)

Apps:
Spell Blocks
See Read Say
iStatus
myVIP
myMVP
hm50 is offline   Reply With Quote
Old 10-19-2009, 06:18 AM   #3 (permalink)
Registered Member
 
Ivan's Avatar
 
Join Date: Oct 2008
Location: Christchurch, NZ
Posts: 120
Default

wolof, is this issue solved now?

The other thing that can cause this is the case for the filename.

E.g. if the file is called mysprite.png on the harddrive and in xcode it is MySprite.png it will work in the Simulator but not on hardware.

(Note, this used to be the case in OS2.x. I haven't tried it again to see if 3.x has fixed this).

Ivan
__________________
New game: Doodle Blitz - addictive, casual gaming.
iPhone games and utilities at http://www.ivanmackintosh.com. Updates and promos on Twitter
Ivan is offline   Reply With Quote
Old 10-19-2009, 09:30 PM   #4 (permalink)
Cow Commander
 
Yakattak's Avatar
 
Join Date: Sep 2009
Posts: 117
Default

I suggest against "_" in images or any identifier, variable name etc. I doubt that pertains to the problem, but sometimes it gets lost in translation =/
__________________
Yakattak Studios, an iPhone/Tech blog
Always read the iPhone API on your issue before posting!
iPhone API
Yakattak is offline   Reply With Quote
Old 08-08-2010, 05:42 PM   #5 (permalink)
Registered Member
 
Join Date: Dec 2009
Posts: 1
Default

I've found that if I try to change the extension of my picture from jpg to png so that I can use it for the splash screen the app often times doesn't read it properly. I now only use images that are originally .png in my iPhone apps.
lisacangelose is offline   Reply With Quote
Reply

Bookmarks

Tags
uiimage, upgrade, xcode-3.2

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 252
22 members and 230 guests
@sandris, ADY, bookesp, ckgni, dacapo, Dani77, DarkAn, Davey555, Desert Diva, HemiMG, iDifferent, jakerocheleau, JasonR, LEARN2MAKE, prchn4christ, Rudy, ryantcb, Speed, themathminister, theone8one
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,885
Threads: 89,230
Posts: 380,766
Top Poster: BrianSlick (7,129)
Welcome to our newest member, bookesp
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 02:41 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0