-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
When building a Kotlin Multiplatform project for iOS in Production (product > archive), the build fails during the :composeApp:swiftklibLinksIosArm64 task with a swiftbuild Invalid manifest error.
Environment:
- Xcode: 16.4
- Kotlin: 2.2.20-Beta2
Error Log
> Task :composeApp:swiftklibLinksIosArm64 FAILED
error: 'swiftbuild': Invalid manifest (compiled with: [swiftc, -vfsoverlay, <temp-path>/vfs.yaml, -L, <xcode-path>/usr/lib/swift/pm/ManifestAPI, -lPackageDescription, -Xlinker, -rpath, -Xlinker, <xcode-path>/usr/lib/swift/pm/ManifestAPI, -target, arm64-apple-macosx14.0, -sdk, <xcode-path>/iPhoneOS.sdk, -F, <xcode-path>/MacOSX.platform/Developer/Library/Frameworks, -F, <xcode-path>/MacOSX.platform/Developer/Library/PrivateFrameworks, -I, <xcode-path>/MacOSX.platform/Developer/usr/lib, -L, <xcode-path>/MacOSX.platform/Developer/usr/lib, -swift-version, 5, -I, <xcode-path>/usr/lib/swift/pm/ManifestAPI, -sdk, <xcode-path>/iPhoneOS.sdk, -package-description-version, 5.5.0, <project-path>/swiftBuild/Package.swift, -o, <temp-path>/swiftbuild-manifest])
<unknown>:0: warning: using sysroot for 'iPhoneOS' but targeting 'MacOSX'
<unknown>:0: error: unable to load standard library for target 'arm64-apple-macosx14.0'
error: 'swiftbuild': Invalid manifest (same command as above)
<unknown>:0: warning: using sysroot for 'iPhoneOS' but targeting 'MacOSX'
<unknown>:0: error: unable to load standard library for target 'arm64-apple-macosx14.0'
error: Process 'command 'xcrun'' finished with non-zero exit value 1
ghasemdev and mckrpk
Metadata
Metadata
Assignees
Labels
No labels