Xcode adwaita.h not found #32
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: aparoksha/adwaita-swift#32
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe the bug
If I try to build the project in the template repository via Xcode I get the build error in shim.h that
#include <adwaita.h>
doesn't work because it can't findadwaita.h
.It works just fine with with
swift build
/swift run
from the terminal.To Reproduce
brew install libadwaita
Expected behavior
project should build and open
Additional context
MacOS 14.5
Xcode 15.4
Unfortunately, I'm not able to reproduce this with the same setup (except I installed Xcode via Xcodes and am currently on version 15.3). Another, maybe somehow related issue appeared to me as well (https://github.com/AparokshaUI/adwaita-swift/issues/11). Maybe you could try following the solution to this problem: https://github.com/AparokshaUI/adwaita-swift/issues/11#issuecomment-2026804538?
I want to stress that this library works best on Linux, using the GNOME Builder IDE and Flatpak. More information on how to set up a comfortable developer environment can be found here, or you could also set it up in a VM.
I'll upgrade to Xcode 15.4 to see whether a bug was introduced in the new version.
I have problem with tutorial with localizable programm, when remove localization and yaml convertation all build success :)
link: https://github.com/AparokshaUI/AdwaitaTemplate/blob/main/Package.swift
Did you also get the
adwaita.h
error, @iDevPro? This would be very strange as the Localizable package does not depend on Libadwaita, but the adwaita-swift package does.@iDevPro I also experienced a problem with the Localizable package after updating to Xcode 16 Beta. I could solve it by simply running
swift run
in the terminal (which succeeded), and from then on it worked in Xcode as well. Could you try this, @iDevPro? This doesn't seem to be the case for @kobutri'sadwaita.h
problem as far as I understand?