Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

iphone

Please Resolved this type Error for generating to debugging i-phone application.

Thanks Anil

like image 828
Sunil_Vaishnav Avatar asked Dec 22 '22 02:12

Sunil_Vaishnav


2 Answers

Looks like you're trying to build a command line tool for the iPhone, which isn't supported. The error speaks the truth.

You can't build command line apps for the iPhone.

like image 153
Jasarien Avatar answered May 19 '23 03:05

Jasarien


I can think of at least one legitimate scenario for this - building a command-line unit test project.

In my case I'm have a large amount of C++ in my project and am happy unit testing it natively on the Mac rather than on the target.

like image 38
marko Avatar answered May 19 '23 02:05

marko