I use Xcode 4.2 Achive my new version and everthing going well.And I get the .ipa file and I it can be installed on the device before ios 5.0,but when I try to install on ios 5.0 I got "A valid provisioning profile for this executable was not found.",I checked my Developer and Distribution Provisioning Profiles and there is no problems with it.What's that problem?