Closed kdwk closed 8 months ago
It seems the installed SDK extension is 23.08
but Builder wants 45
Very strange! The GNOME runtime version 45 is built on top of Freedesktop 23.08, so it should actually search for org.freedesktop.Sdk.Extension.swift/x86_64/23.08 (and it does also on my device). Maybe it really is a GNOME Builder problem, have you tried restarting?
The Builder people say the error message is incorrect, and that even if it says it can't find 45
what it really means is it can't find 23.08
. So apparently Builder cannot see 23.08
even though I installed it
Hmm looks like the Sdk extension is not actually installed even if it says it is
I removed and installed again the SDK extension on my device, also with --user
, and it succeeded. This problem is so strange! I don't have a deep understanding of Flatpak, so I can't help unfortunately. Do other SDK extensions work? Maybe you can try installing it from Flathub once it gets accepted (see progress here).
I installed the one from https://github.com/flathub/flathub/pull/4935#issuecomment-1937062369 and now it works fine
Nice! There will be a change in the final version: It will include the major version in its name, so instead of org.freedesktop.Sdk.Extension.swift
, it will be org.freedesktop.Sdk.Extension.swift5
. I'll update this repo as soon as it is published.
After installing the Swift SDK extension (with
--user
), and trying to run the AdwaitaTemplate demo app in Gnome Builder, the build output sayserror: Requested extension org.freedesktop.Sdk.Extension.swift/x86_64/45 not installed Error: Child process exited with code 1