:thread:HAs anyone updated to macOs 26? getting th...
# ios
k
🧵HAs anyone updated to macOs 26? getting this when building with xcode 26
Copy code
Exception in thread "main" java.lang.Error: /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator26.0.sdk/usr/include/DarwinFoundation1.modulemap:303:8: error: module '_c_standard_library_obsolete' requires feature 'found_incompatible_headers__check_search_paths'
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator26.0.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:23:10: fatal error: could not build module '_Builtin_float'
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator26.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:10: fatal error: could not build module 'CoreFoundation'
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator26.0.sdk/System/Library/Frameworks/Security.framework/Headers/SecBase.h:28:10: fatal error: could not build module 'CoreFoundation'
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator26.0.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetwork.h:18:10: fatal error: could not build module 'CoreFoundation'
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:8:9: fatal error: could not build module 'Foundation'
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator26.0.sdk/System/Library/SubFrameworks/UIUtilities.framework/Headers/UICoordinateSpace.h:8:9: fatal error: could not build module 'Foundation'
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator26.0.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBase.h:10:10: fatal error: could not build module '_Builtin_float'
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator26.0.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImageDefines.h:17:10: fatal error: could not build module 'CoreGraphics'
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator26.0.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVBase.h:24:10: fatal error: could not build module 'CoreFoundation'
        at org.jetbrains.kotlin.native.interop.indexer.ModuleSupportKt.getModulesASTFiles(ModuleSupport.kt:80)
        at org.jetbrains.kotlin.native.interop.indexer.ModuleSupportKt.getModulesInfo(ModuleSupport.kt:15)
        at org.jetbrains.kotlin.native.interop.gen.jvm.MainKt.buildNativeLibrary(main.kt:567)
        at org.jetbrains.kotlin.native.interop.gen.jvm.MainKt.processCLib(main.kt:307)
        at org.jetbrains.kotlin.native.interop.gen.jvm.MainKt.processCLibSafe(main.kt:243)
        at org.jetbrains.kotlin.native.interop.gen.jvm.MainKt.access$processCLibSafe(main.kt:1)
        at org.jetbrains.kotlin.native.interop.gen.jvm.Interop.interop(main.kt:101)
        at org.jetbrains.kotlin.cli.utilities.InteropCompilerKt.invokeInterop(InteropCompiler.kt:49)
        at org.jetbrains.kotlin.cli.utilities.MainKt.mainImpl(main.kt:23)
        at org.jetbrains.kotlin.cli.utilities.MainKt.main(main.kt:44)
k
@Jimmy Nelle so i should just wait for it to start working again ? 🤣
j
Just use xcodes-select and downgrade to Xcode 16.4
k
Thats what i am currently doing hope it works fingers crossed thanks for the heads up
j
I would also suggest to delete your gradle cache, derived data and restart your MacBook, no joke
k
Thats the first thing i did whenever something goes wrong its mostly derived data thats the culprit
Thanks @Jimmy Nelle this worked
j
Nice
kodee happy 1