My iphone application retrieves about 300 images from the kit, and then randomly displays them on one of my controllers. This works fine on a simulator (xcode 4.3.3 / iphone 5.0 or 5.1 simulator), but not when I click it on my device (iphone 3gs). The application works, and there are no errors in the log, but that part of the view where the image should be is just empty, like the background color.
Things I tried:
- I checked and double checked the case with file names vs links in code.
- I checked the build phase called Copy Bundle Resources, and it is definitely set to copy the package to the device.
I looked at the log created by the assembly, and although this was the first time I studied it in detail, it had no errors and it seems he was copying the package. Here is a snippet from the magazine:
CpResource FlagQuiz/flagimages.bundle /Users/ian/Library/Developer/Xcode/DerivedData/FlagQuiz-drrjrlxfifrmbnaissqfqxuixchb/Build/Products/Debug-iphoneos/FlagQuiz.app/flagimages.bundle
cd /Users/ian/Documents/xcodeapps/FlagQuiz
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip /Users/ian/Documents/xcodeapps/FlagQuiz/FlagQuiz/flagimages.bundle /Users/ian/Library/Developer/Xcode/DerivedData/FlagQuiz-drrjrlxfifrmbnaissqfqxuixchb/Build/Products/Debug-iphoneos/FlagQuiz.app
Here is a screenshot of the package on request: https://skitch.com/bobsmells/eeask/flagquiz.xcodeproj-afghanistan.png
Any ideas?
source
share