Closed ZevEisenberg closed 3 months ago
I wasn't able to build on my machine, possibly because I'm on a Mac?
Apologies for the delay! Here's a screenshot of the errors I see, and some detail on the first one in the build log. I'm assuming I need some dependency installed, but the readme didn't mention anything that I could see. I installed libadwaita
via homebrew, but it didn't help.
This is probably the same problem as reported in https://github.com/AparokshaUI/adwaita-swift/issues/32. Unfortunately, we haven't yet been able to fix it (but it should work with swift run
instead of Xcode's run button). Maybe you could try the steps in https://github.com/AparokshaUI/adwaita-swift/issues/11#issuecomment-2026804538, I don't know whether this helps (in general, I'd recommend installing Linux on the device or in a VM to work with Libadwaita).
Steps
Purpose
This is a slightly simpler and possibly more idiomatic way to check array bounds using the array's built-in
indices
collection.Approach
See above.