最近、XCode で平凡な C++ プロジェクトを作成し、新しい iPhone ターゲットを追加しました。しかし今は、Mac 用の古い C++ ターゲットをビルドできなくなりました。「iPhone Simulator」で止まっています。コンパイルすると、エラーが表示されますがtarget specifies product type 'com.apple.product-type.tool', but there's no such product type for the 'iphonesimulator' platform
、これは完全に理にかなっています-iPhone用にコンパイルしたくないだけです。