Skip to content

Instantly share code, notes, and snippets.

@aenewton
Created November 10, 2022 07:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aenewton/97a402706ee169c8fa72f322d2260750 to your computer and use it in GitHub Desktop.
Save aenewton/97a402706ee169c8fa72f322d2260750 to your computer and use it in GitHub Desktop.
2022-11-09 - CMakeError.log
Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
Build flags: ;;-Wno-unknown-warning-option;-Werror=unguarded-availability-new;-arch;arm64;-target;arm64-apple-macosx;-fno-stack-protector;-g
Id flags:
The output was:
65
Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild
User defaults from command line:
IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
TOOLCHAINS = default
Computing target dependency graph and provisioning inputs
Create build description
Build description signature: 1cd70f9baa8ef7d2d8f07d24b8a4eb03
Build description path: /Users/adamnewton/Developer/open/swift-project/build/Xcode-RelWithDebInfoAssert/llvm-macosx-arm64/CMakeFiles/3.21.4/CompilerIdC/./XCBuildData/1cd70f9baa8ef7d2d8f07d24b8a4eb03-desc.xcbuild
warning: Building targets in manual order is deprecated - check "Parallelize build for command-line builds" in the project editor, or set DISABLE_MANUAL_TARGET_ORDER_BUILD_WARNING in any of the targets in the current build to suppress this warning
/Users/adamnewton/Developer/open/swift-project/build/Xcode-RelWithDebInfoAssert/llvm-macosx-arm64/CMakeFiles/3.21.4/CompilerIdC/CompilerIdC.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.9, but the range of supported deployment target versions is 10.13 to 13.0.99. (in target 'CompilerIdC' from project 'CompilerIdC')
error: An empty identity is not valid when signing a binary for the product type 'Command-line Tool'. (in target 'CompilerIdC' from project 'CompilerIdC')
warning: Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO. (in target 'CompilerIdC' from project 'CompilerIdC')
warning: Run script build phase 'Run Script' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'CompilerIdC' from project 'CompilerIdC')
** BUILD FAILED **
Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
Build flags:
Id flags:
The output was:
65
Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild
User defaults from command line:
IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
TOOLCHAINS = default
Computing target dependency graph and provisioning inputs
Create build description
Build description signature: 043b13050ff318350d919ad98fd7f17b
Build description path: /Users/adamnewton/Developer/open/swift-project/build/Xcode-RelWithDebInfoAssert/llvm-macosx-arm64/CMakeFiles/3.21.4/CompilerIdC/./XCBuildData/043b13050ff318350d919ad98fd7f17b-desc.xcbuild
warning: Building targets in manual order is deprecated - check "Parallelize build for command-line builds" in the project editor, or set DISABLE_MANUAL_TARGET_ORDER_BUILD_WARNING in any of the targets in the current build to suppress this warning
/Users/adamnewton/Developer/open/swift-project/build/Xcode-RelWithDebInfoAssert/llvm-macosx-arm64/CMakeFiles/3.21.4/CompilerIdC/CompilerIdC.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.9, but the range of supported deployment target versions is 10.13 to 13.0.99. (in target 'CompilerIdC' from project 'CompilerIdC')
error: An empty identity is not valid when signing a binary for the product type 'Command-line Tool'. (in target 'CompilerIdC' from project 'CompilerIdC')
warning: Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO. (in target 'CompilerIdC' from project 'CompilerIdC')
warning: Run script build phase 'Run Script' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'CompilerIdC' from project 'CompilerIdC')
** BUILD FAILED **
Checking whether the C compiler is IAR using "" did not match "IAR .+ Compiler":
clang: error: no input files
Checking whether the C compiler is IAR using "" did not match "IAR .+ Compiler":
clang: error: no input files
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
Build flags: ;;-Wno-unknown-warning-option;-Werror=unguarded-availability-new;-arch;arm64;-target;arm64-apple-macosx;-fno-stack-protector;-g
Id flags:
The output was:
65
Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild
User defaults from command line:
IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
TOOLCHAINS = default
Computing target dependency graph and provisioning inputs
Create build description
Build description signature: 939630baf4bd82f2b4cedd70b6a35409
Build description path: /Users/adamnewton/Developer/open/swift-project/build/Xcode-RelWithDebInfoAssert/llvm-macosx-arm64/CMakeFiles/3.21.4/CompilerIdCXX/./XCBuildData/939630baf4bd82f2b4cedd70b6a35409-desc.xcbuild
warning: Building targets in manual order is deprecated - check "Parallelize build for command-line builds" in the project editor, or set DISABLE_MANUAL_TARGET_ORDER_BUILD_WARNING in any of the targets in the current build to suppress this warning
/Users/adamnewton/Developer/open/swift-project/build/Xcode-RelWithDebInfoAssert/llvm-macosx-arm64/CMakeFiles/3.21.4/CompilerIdCXX/CompilerIdCXX.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.9, but the range of supported deployment target versions is 10.13 to 13.0.99. (in target 'CompilerIdCXX' from project 'CompilerIdCXX')
error: An empty identity is not valid when signing a binary for the product type 'Command-line Tool'. (in target 'CompilerIdCXX' from project 'CompilerIdCXX')
warning: Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO. (in target 'CompilerIdCXX' from project 'CompilerIdCXX')
warning: Run script build phase 'Run Script' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'CompilerIdCXX' from project 'CompilerIdCXX')
** BUILD FAILED **
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
Build flags:
Id flags:
The output was:
65
Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild
User defaults from command line:
IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
TOOLCHAINS = default
Computing target dependency graph and provisioning inputs
Create build description
Build description signature: 0daa0e6ab1f66a45858a17618f3870f9
Build description path: /Users/adamnewton/Developer/open/swift-project/build/Xcode-RelWithDebInfoAssert/llvm-macosx-arm64/CMakeFiles/3.21.4/CompilerIdCXX/./XCBuildData/0daa0e6ab1f66a45858a17618f3870f9-desc.xcbuild
warning: Building targets in manual order is deprecated - check "Parallelize build for command-line builds" in the project editor, or set DISABLE_MANUAL_TARGET_ORDER_BUILD_WARNING in any of the targets in the current build to suppress this warning
/Users/adamnewton/Developer/open/swift-project/build/Xcode-RelWithDebInfoAssert/llvm-macosx-arm64/CMakeFiles/3.21.4/CompilerIdCXX/CompilerIdCXX.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.9, but the range of supported deployment target versions is 10.13 to 13.0.99. (in target 'CompilerIdCXX' from project 'CompilerIdCXX')
error: An empty identity is not valid when signing a binary for the product type 'Command-line Tool'. (in target 'CompilerIdCXX' from project 'CompilerIdCXX')
warning: Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO. (in target 'CompilerIdCXX' from project 'CompilerIdCXX')
warning: Run script build phase 'Run Script' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'CompilerIdCXX' from project 'CompilerIdCXX')
** BUILD FAILED **
Checking whether the CXX compiler is IAR using "" did not match "IAR .+ Compiler":
clang: error: no input files
Checking whether the CXX compiler is IAR using "" did not match "IAR .+ Compiler":
clang: error: no input files
Checking whether the ASM compiler is GNU using "--version" did not match "(GNU assembler)|(GCC)|(Free Software Foundation)":
Apple clang version 14.0.0 (clang-1400.0.29.202)
Target: arm64-apple-darwin22.1.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment