Reputation: 809
Simply, my application's view loads in the simulator, all views intact.
When pushed onto the iPhone, the views fail to load. If it makes a difference, my iPhone 4 is jailbroken, but other applications I've created load with no problem on the phone.
What do you think?
Upvotes: 0
Views: 246
Reputation: 1384
What worked for me was what you recommended; delete the app from device (in my case, iPad2), and reboot. Restart Xcode, and now I'm working.
I had a very similar issue to you; except, a version of my XIB was loading which was quite old. Device is properly provisioned, localization is set to what I expected, and yet still an old copy of the XIB was loading. I thought it was my XIB file too... and hated to have to recreate the XIB.
I don't know, I guess it was just holding onto something.
My iPhone4 and iPhone3G had no issues.
Upvotes: 1
Reputation: 90117
If something is working on the simulator but not on the device a good starting point for debugging is the filename. The default filesystem on Mac OS is not case-sensitive, but the filesystem on the device is case-sensitive.
So please check if the filename used in your code matches exactly the actual filename.
Upvotes: 3