Target indicates the product type is "com.apple.product-type.watchkit2-extension", but there is no such product type for the iphonesimulator platform

this error appears when I try to start a project

target indicates the product type is "com.apple.product-type.watchkit2-extension", but there is no such product type for the iphonesimulator platform

I do not know what to do, please help.

+4
source share
1 answer

In my case, most of the things were fine when I add the watchkit extension using xcode 7. but the goal of debugging the extension was iOS. So when I run debug / simulator, I got this error. I have to change them to WatchOS. and decided. Choose Project > Targets > Supported Platform > Debug > watchOS(I had iOS here).

enter image description here

+4

Source: https://habr.com/ru/post/1599689/


All Articles