Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/cmake/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
iOS CMake和XCode 6“;没有适用于'的此类产品类型;iphoneos'&引用;_Ios_Cmake - Fatal编程技术网

iOS CMake和XCode 6“;没有适用于'的此类产品类型;iphoneos'&引用;

iOS CMake和XCode 6“;没有适用于'的此类产品类型;iphoneos'&引用;,ios,cmake,Ios,Cmake,当我生成一个库项目并尝试编译它时,我得到: target specifies product type 'com.apple.product-type.tool', but there's no such product type for the 'iphoneos' platform 据我所知,这是一种仅在Mac OS上可用而不在iOS上可用的产品类型,对吗?怎么可能修复它?我找不到任何线索。我实际上将所有类型转换为com.apple.product type.bundle.unittest

当我生成一个库项目并尝试编译它时,我得到:

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

据我所知,这是一种仅在Mac OS上可用而不在iOS上可用的产品类型,对吗?怎么可能修复它?我找不到任何线索。

我实际上将所有类型转换为
com.apple.product type.bundle.unittest
,效果很好。