Skip to content

Xcode 14 beta Error - Compiling the C compiler identification source file "CMakeCCompilerId.c" failed

I have tried adding the "-" in the CODE_SIGN_IDENTITY to see if it helps, but I'm still seeing a failure. Similar issue where the C and C++ compilers are not found with Xcode 14 beta but the error message seems to be different.

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 warning: ONLY_ACTIVE_ARCH=YES requested with multiple ARCHS and no active architecture could be computed; building for all applicable architectures (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')

error: Cannot code sign because the target does not have an Info.plist file and one is not being generated automatically. Apply an Info.plist file to the target using the INFOPLIST_FILE build setting or generate one automatically by setting the GENERATE_INFOPLIST_FILE build setting to YES (recommended). (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 **

Generating CMake project...
Toolchain : /Users/karasha2/dev/spark-client-framework/./spark-client-framework/CMakeScripts/toolchains/ios-cmake/toolchain/iOS.cmake
-- Building with Xcode version: 14.0
-- Configuring iOS build for platform: SIMULATOR64, architecture(s): x86_64
-- Using SDK: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.0.sdk for platform: SIMULATOR64
-- Enabling ARC support by default. ENABLE_ARC not provided!
-- Using libtool: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool
-- Using a data_ptr size of 8
-- Building for minimum iOS version: 14.8 (SDK version: 16.0)
-- Version flags set to: -mios-simulator-version-min=14.8
-- Disabling bitcode support.
-- Enabling ARC support.
-- Building with Xcode version: 14.0
-- Configuring iOS build for platform: SIMULATOR64, architecture(s): x86_64
-- Using libtool: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool
-- Using a data_ptr size of 8
-- Building for minimum iOS version: 14.8 (SDK version: 16.0)
-- Version flags set to: -mios-simulator-version-min=14.8
-- Disabling bitcode support.
-- Enabling ARC support.
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- Found CCache in PATH at /opt/homebrew/bin/ccache
-- Using CCache
-- The Swift compiler identification is Apple 5.7
-- Check for working Swift compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift
-- Check for working Swift compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift - works
-- Looking for a Java compiler
-- Looking for a Java compiler - /usr/bin/javac
CMake Error at spark-client-framework/CMakeScripts/BuildModule.cmake:46 (if):
  if given arguments:

    "STREQUAL" "MSVC"

  Unknown arguments specified
Call Stack (most recent call first):
  platforms/ios/CMakeLists.txt:1 (include)

CMake version 3.19.3 Xcode 14 beta 3 I have attached the CMakeOutput.log and CMakeError.log files. CMakeOutput.log CMakeError.log

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information