I'm developing an ios app and I came across a strange problem. When I run it in simulator or on a device, it runs fine. However, when I upload it to TestFlight and download it to a device, it crashes as soon as the launch screen displays. Keeping my phone plugged in while this happens logged the following:
ImageIO: PNG invalid PNG file: iDOT doesn't point to valid IDAT chunk
This leads me to believe there is some problem with my image files. What could it be?
Also possible unrelated: in the App Target's settings page, typing a single character into any textbook immediately switches the focus away.
Fixed. My problem was that I was referencing a custom font that I had deleted. It still resided on my computer, so the app ran fine in the simulator. On a device, however, it could not find the font, which was used on the initial view controller, causing the crash.