Q:

duplicate device scheme in xcode 4

When I look at my schemes in xcode 4 after I connect my iPad, I see two schemes listed for my device (one to the right of my project name in the drop down list, and one right underneath it). I don't see any discernible difference in the schemes when I select Edit Scheme, but when I try to build the topmost one, I always get errors such as:
Cannot find protocol declaration for 'NSXMLParserDelegate'
Does anyone know why there are two device schemes or why the topmost one gets errors like the above one (but not the second one)?

A:

I had the same problem. I found two SDKs in my Xcode.app:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/
iPhoneOS4.3.sdk
iPhoneOS5.1.sdk

I delete an old SDK iPhoneOS4.3.sdk, now everything is ok.

A:

These device entries were actually labelled in some previous versions of Xcode as - 

(your device) overriding base SDK to iOS (device iOS version)
(your device) with project settings

