Skip to content
This repository was archived by the owner on Oct 17, 2024. It is now read-only.
This repository was archived by the owner on Oct 17, 2024. It is now read-only.

Following Hello World tutorial on macos fails #8

@jrwren

Description

@jrwren

Describe the bug

Following https://github.com/AparokshaUI/adwaita-swift/blob/main/user-manual/Basics/HelloWorld.md on macos 14.4 and get import error

To Reproduce

Do the tutorial on macos 14.4

See it fail on swift run step.

Expected behavior

What the tutorial says.

Additional context

$ swift run
Fetching https://github.com/AparokshaUI/Adwaita
Fetched https://github.com/AparokshaUI/Adwaita from cache (1.53s)
Computing version for https://github.com/AparokshaUI/Adwaita
Computed https://github.com/AparokshaUI/Adwaita at 0.2.4 (0.26s)
Fetching https://github.com/david-swift/LevenshteinTransformations
Fetched https://github.com/david-swift/LevenshteinTransformations from cache (0.36s)
Computing version for https://github.com/david-swift/LevenshteinTransformations
Computed https://github.com/david-swift/LevenshteinTransformations at 0.1.2 (0.27s)
Creating working copy for https://github.com/david-swift/LevenshteinTransformations
Working copy of https://github.com/david-swift/LevenshteinTransformations resolved at 0.1.2
Creating working copy for https://github.com/AparokshaUI/Adwaita
Working copy of https://github.com/AparokshaUI/Adwaita resolved at 0.2.4
warning: 'helloworld': dependency 'adwaita' is not used by any target
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
/Users/jrwren/src/HelloWorld/.build/arm64-apple-macosx/debug/Adwaita.build/module.modulemap:2:12: error: header '/Users/jrwren/src/HelloWorld/.build/arm64-apple-macosx/debug/Adwaita.build/Adwaita-Swift.h' not found
    header "/Users/jrwren/src/HelloWorld/.build/arm64-apple-macosx/debug/Adwaita.build/Adwaita-Swift.h"
           ^
/Users/jrwren/src/HelloWorld/Sources/main.swift:1:8: error: could not build Objective-C module 'Adwaita'
import Adwaita
       ^
/Users/jrwren/src/HelloWorld/.build/arm64-apple-macosx/debug/Adwaita.build/module.modulemap:2:12: error: header '/Users/jrwren/src/HelloWorld/.build/arm64-apple-macosx/debug/Adwaita.build/Adwaita-Swift.h' not found
    header "/Users/jrwren/src/HelloWorld/.build/arm64-apple-macosx/debug/Adwaita.build/Adwaita-Swift.h"
           ^
/Users/jrwren/src/HelloWorld/Sources/main.swift:1:8: error: could not build Objective-C module 'Adwaita'
import Adwaita
       ^
error: fatalError

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions