So I have the simplest app here, a test app that has just a grey screen. It runs in Xcode and I've tried fake code signing it but it still says the code sign is wrong. I've tried disabling code signing in the SDKSettings and I get the same code sign errors. Despite the errors, I SSH'd them in my Applications folder on my iPod and tried to ldid them but I always get the error "util/ldid.cpp(567): _assert(78:arch != NULL)".

My iPod is running iOS 5.0.1 and I've tried this using Xcode 4.2, 3.2.5, and 3.2.6. Please help, I don't mean to sound begging, but I've been trying to fix this for the greater part of 3 days and I'm desperate.

I've also read that ldid might not work on Xcode later than 3.0, is that true?