プロジェクトを XCode で実行すると、テストで次のエラーが発生します。
target specifies product type 'com.apple.product-type.bundle.unit-test', but there's no such product type for the 'iphoneos' platform
これは、XCode を数回更新した後に発生しました。これを修正する方法を知っている人はいますか?
プロジェクトを XCode で実行すると、テストで次のエラーが発生します。
target specifies product type 'com.apple.product-type.bundle.unit-test', but there's no such product type for the 'iphoneos' platform
これは、XCode を数回更新した後に発生しました。これを修正する方法を知っている人はいますか?
Xcode 6 が ocunit テスト バンドルの製品 ID を からcom.apple.product-type.bundle
に変更したようcom.apple.product-type.bundle.ocunit-test
です。
のインスタンスを編集$(ProjectName).xcodeproj/project.pbxproj
して に置き換えます。今のところ、プロジェクトを Xcode 6 で開き、Xcode 5 で開きたいときはいつでもこれを行う必要があります。com.apple.product-type.bundle.ocunit-test
com.apple.product-type.bundle
私のために働いたのは: