Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

target specifies product type 'com.apple.product-type.bundle.ui-testing', but there's no such product type for the 'iphonesimulator' platform

When i was running my swift project, I got this error.

target specifies product type 'com.apple.product-type.bundle.ui-testing', but there's no such product type for the 'iphonesimulator' platform

I found some similar questions on SO but this answer didn't solve my problem. I googled it too, there are no project with this product type inside.

I'm using xcode 6.4 and swift 1.2

like image 733
Jadekin Avatar asked Jul 16 '15 22:07

Jadekin


1 Answers

I had this issue after adding a product for UI testing using Xcode 7 Beta and constantly switching between Xcode 6.4 and 7 Beta. A simple clean made it go away.

like image 92
Meriw Avatar answered Sep 28 '22 00:09

Meriw