This is for an existing app that compiled and distributed multiple times. Since updating to Xcode 5 I have this error popping.
The odd circumstances I am compiling to compile to iOS 6.1 so I can run on my iPhone 3GS - the base is SDK iOS 7? Could this be an issue? I just need to test it before finding a newer phone to before change it to iOS 7.
I have not accepted the answers above as there was a chain of issues that I needed to resolve:
As always thanks for peoples help.