Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/120.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 安装pod时出现cmark错误_Ios_Objective C_Cocoapods_Cmark - Fatal编程技术网

Ios 安装pod时出现cmark错误

Ios 安装pod时出现cmark错误,ios,objective-c,cocoapods,cmark,Ios,Objective C,Cocoapods,Cmark,当我安装我的播客文件时,我得到一个错误 [!] /bin/bash -c set -e echo `pwd` sed -i '' 's/include <\(cmark.*\)>/include "\1"/' src/cmark.h mkdir -p build; cd build && cmake -G Xcode .. [!]/bin/bash-c set-e echo`pwd` sed-i''s/include/include“\1”/src/cmark.h

当我安装我的播客文件时,我得到一个错误

[!] /bin/bash -c 
set -e
echo `pwd`
sed -i '' 's/include <\(cmark.*\)>/include "\1"/' src/cmark.h
mkdir -p build; cd build && cmake -G Xcode ..
[!]/bin/bash-c
set-e
echo`pwd`
sed-i''s/include/include“\1”/src/cmark.h
mkdir-p构建;cd构建和cmake-G Xcode。。
所以我试着用我安装的终端安装cmake,但是现在我得到了下面的错误

分析依赖项
下载依赖项
安装AFN网络(3.2.1)
安装DTCoreText(1.6.21)
安装基础(1.7.13)
安装GZIP(1.2.2)
安装HPGrowthTextView(1.1)
安装MatrixKit(0.8.3)
安装MatrixSDK(0.11.3)
安装OLMKit(2.3.0)
安装领域(3.7.6)
安装cmark(0.24.1)
[!]/bin/bash-c
set-e
echo`pwd`
sed-i''s/include/include“\1”/src/cmark.h
mkdir-p构建;cd构建和cmake-G Xcode。。
/Users/mac1/Library/Caches/CocoaPods/Pods/Release/cmark/0.24.1-ec027
--C编译器标识为AppleClang 10.0.0.10001145
--CXX编译器标识为AppleClang 10.0.0.10001145
--检查C编译器是否正常工作:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
--检查C编译器是否工作:/Applications/Xcode.app/Contents/Developer/toolschains/XcodeDefault.xctoolschain/usr/bin/clang--breaked
--配置不完整,出现错误!
另请参见“/Users/mac1/Library/Caches/CocoaPods/Pods/Release/cmark/0.24.1-ec027/build/CMakeFiles/CMakeOutput.log”。
另请参见“/Users/mac1/Library/Caches/CocoaPods/Pods/Release/cmark/0.24.1-ec027/build/CMakeFiles/CMakeError.log”。
CMake错误位于/usr/local/ceral/CMake/3.12.3/share/CMake/Modules/CMakeTestCCompiler。CMake:52(消息):
C编译器
“/Applications/Xcode.app/Contents/Developer/toolschains/xcodefault.xctoolschain/usr/bin/clang”
无法编译简单的测试程序。
它失败,输出如下:
更改目录:/Users/mac1/Library/Caches/CocoaPods/Pods/Release/cmark/0.24.1-ec027/build/CMakeFiles/cmakemp
运行生成命令:“/usr/bin/xcodebuild”“-project”“CMAKE\u TRY\u COMPILE.xcodeproj”“Build”“-target”“cmTC\u 1e4ec”“-configuration”“Debug”
2018-10-17 11:18:22.272 Xcode构建[2991:68431][MT]插件加载:DVTPluginCompatibilityUIDS中不存在路径“~/Library/Application Support/Developer/Shared/Xcode/plugins/ClangFormat.xcplugin”处插件的所需插件兼容性UUID 8B9F56A7-4D8B-41AA-A65D-D4906CDF1539
从命令行生成设置:
TOOLCHAINS=com.apple.dt.toolchain.xcode默认值
2018-10-17 11:18:23.814 Xcode构建[2991:68451]数据设备套件:来自e8c3d7ea8e6dddb6703f918e871eea481e436c21的设备类型为空
2018-10-17 11:18:23.934 Xcode构建[2991:68512]数据设备套件:来自e8c3d7ea8e6dddb6703f918e871eea481e436c21的设备类型为空
准备构建
注意:使用遗留构建系统
===构建CMAKE项目的目标cmTC\u 1e4ec\u TRY\u编译并进行配置调试===
检查依赖项
target指定了产品类型“com.apple.product type.tool”,但“iphoneos”平台没有此类产品类型
**构建失败**
以下生成命令失败:
检查依赖项
(1次失败)
CMake将无法正确生成此项目。
调用堆栈(最新调用优先):
CMakeLists.txt:1(项目)
Analyzing dependencies
Downloading dependencies
Installing AFNetworking (3.2.1)
Installing DTCoreText (1.6.21)
Installing DTFoundation (1.7.13)
Installing GZIP (1.2.2)
Installing HPGrowingTextView (1.1)
Installing MatrixKit (0.8.3)
Installing MatrixSDK (0.11.3)
Installing OLMKit (2.3.0)
Installing Realm (3.7.6)
Installing cmark (0.24.1)
[!] /bin/bash -c 
set -e
echo `pwd`
sed -i '' 's/include <\(cmark.*\)>/include "\1"/' src/cmark.h
mkdir -p build; cd build && cmake -G Xcode ..

/Users/mac1/Library/Caches/CocoaPods/Pods/Release/cmark/0.24.1-ec027
-- The C compiler identification is AppleClang 10.0.0.10001145
-- The CXX compiler identification is AppleClang 10.0.0.10001145
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -- broken
-- Configuring incomplete, errors occurred!
See also "/Users/mac1/Library/Caches/CocoaPods/Pods/Release/cmark/0.24.1-ec027/build/CMakeFiles/CMakeOutput.log".
See also "/Users/mac1/Library/Caches/CocoaPods/Pods/Release/cmark/0.24.1-ec027/build/CMakeFiles/CMakeError.log".
CMake Error at /usr/local/Cellar/cmake/3.12.3/share/cmake/Modules/CMakeTestCCompiler.cmake:52 (message):
  The C compiler

    "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: /Users/mac1/Library/Caches/CocoaPods/Pods/Release/cmark/0.24.1-ec027/build/CMakeFiles/CMakeTmp

    Run Build Command:"/usr/bin/xcodebuild" "-project" "CMAKE_TRY_COMPILE.xcodeproj" "build" "-target" "cmTC_1e4ec" "-configuration" "Debug"
    2018-10-17 11:18:22.272 xcodebuild[2991:68431] [MT] PluginLoading: Required plug-in compatibility UUID 8B9F56A7-4D8B-41AA-A65D-D4906CDF1539 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/ClangFormat.xcplugin' not present in DVTPlugInCompatibilityUUIDs
    Build settings from command line:
        TOOLCHAINS = com.apple.dt.toolchain.XcodeDefault

    2018-10-17 11:18:23.814 xcodebuild[2991:68451]  DTDeviceKit: deviceType from e8c3d7ea8e6dddb6703f918e871eea481e436c21 was NULL
    2018-10-17 11:18:23.934 xcodebuild[2991:68512]  DTDeviceKit: deviceType from e8c3d7ea8e6dddb6703f918e871eea481e436c21 was NULL
    Prepare build
    note: Using legacy build system

    === BUILD TARGET cmTC_1e4ec OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug ===

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

    ** BUILD FAILED **


    The following build commands failed:
        Check dependencies
    (1 failure)




  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:1 (project)