昔のXCodeで作ったプロジェクトをXCode4.5で動かし、iPhone4+iOS5.1.1上で実機テストをしようとしたところ、以下のようなエラーでハマりました。 「Xcode cannot run using the selected device. Choose a destination with a supported architecture in order to run on this device.」 原因はプロジェクトの設定でした。Build Settings → Architectures/Valid Architectures のところを今までの設定を引き継いで「armv7, armv6」としていたのですが、XCode4.5からはiOS4.2以前のバージョンがサポート外となるためarmv6を外さなければいけなかったようです。まあ、ネタが分かればそうだよね〜って問題