-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
When i have XCode 16.3 installed, i get an error:
> Task :oidc-crypto:swiftklibKCryptoIosSimulatorArm64 FAILED
Building for production...
[0/4] Write sources
[1/4] Write swift-version--58304C5D6DBC2206.txt
[3/5] Compiling KCrypto KCrypto.swift
<unknown>:0: warning: using sysroot for 'MacOSX' but targeting 'iPhone'
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/copyfile.h:35:10: note: while building module 'DarwinFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/copyfile.h:35:
33 |
34 | /* private */
35 | #include <sys/cdefs.h>
| `- note: while building module 'DarwinFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/copyfile.h:35:
36 | #include <stdint.h>
37 |
-----------
* What went wrong:
Execution failed for task ':oidc-crypto:swiftklibKCryptoIosSimulatorArm64'.
> Process 'command 'xcrun'' finished with non-zero exit value 1
Switching back to xcode 16.1 makes the project sync successfully again.
XCode 16.3 is only officially supported as of kotlin 2.1.21, but switching to this kotlin version in my project did not help, so i suspect we need a change in the klib plugin.
Metadata
Metadata
Assignees
Labels
No labels