Iphone Build Problem

I am using Xcode 4.0.1 and the SDK, but for some reason when I try to build and run Unity tells me to make sure I have Xcode 3.1 installed with the SDK.

I don’t know why its doing this. And I can’t find anything about this on Unity’s support page.

Just want to know how to get it to build with 4.0.1

if you have also had this problem, all you have to do is re - Install Xcode with the SDK.