Hi there, facing the issue below with the XCode 26 Error Summary Environment: - Kotlin: 2.2.0 ...
s

Sagar Khurana

2 months ago
Hi there, facing the issue below with the XCode 26 Error Summary Environment: - Kotlin: 2.2.0 - CMP: 1.10.0-alpha01 - Xcode: 26.0 (Build 17A324) - iOS SDK: iPhoneOS26.0.sdk Main Error:
Exception in thread "main" java.lang.Error:
  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS26.0.sdk/usr/in
  clude/DarwinFoundation1.modulemap:288:8:
  error: module '_c_standard_library_obsolete' requires feature
  'found_incompatible_headers__check_search_paths'
Cascade Failures:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS26.0.sdk/System
  /Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:23:10:
  fatal error: could not build module '_Builtin_float'

  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS26.0.sdk/System
  /Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:10:
  fatal error: could not build module 'CoreFoundation'
Stack Location:
at org.jetbrains.kotlin.native.interop.indexer.ModuleSupportKt.getModulesASTFiles(ModuleSupport.kt:80)
  at org.jetbrains.kotlin.native.interop.gen.jvm.MainKt.buildNativeLibrary(main.kt:567)
  at org.jetbrains.kotlin.native.interop.gen.jvm.Interop.interop(main.kt:101)
This appears to be a Kotlin Native incompatibility with the beta iOS SDK 26.0, Any guidance will be appreciated!