No provisioned iPhone OS device is connected
<p>I have an iPhone 3G running iOS 4.2.1.</p>

<p>I have installed the correct provisioning profiles in the Xcode environment through the organizer tool. The iPhone device has also been checked and setup for development.</p>

<p>When I build my iPhone application, I am getting a message displaying that the "iPhone OS device connected is not provisioned".</p>

<p>I have Xcode 3.2.3 with the iPhone SDK 4.0 installed. Is this problem? Do I need to upgrade to Xcode 3.2.5 with iPhone SDK 4.2 to make this work?</p>

<p>Thanks for any advice.</p>

<p>Subbu</p>
