Reputation: 5
ImageIO: CGImageRead_mapData 'open' failed '/Users/Vyom/Library/Application Support/iPhone Simulator/4.3.2/Applications/47042F21-2B0F-4A18-8950-369E60C07481/MemoryGame.app/card_back.png'
error = 24 (Too many open files)
I am developing game in Xcode and it's fresh after 3 level and show me above error. Can any tell what is problem.
Upvotes: 0
Views: 138
Reputation: 70244
The error says "too many open files". You need to close the files when you're done reading from them otherwise you run out of file handles.
Upvotes: 1