"Could not display guide" message

I created a swiftpm project with Xcode Version 13.4.1 (13F100).

I changed the target from the default created by Xcode to this:

    targets: [

        .executableTarget(

            name: "App",

            path: "App"

        )

    ]

I also changed the package version to 5.6 to match the AboutMe Package file.

I also created an App directory and moved all my files (bar the Package.swift file) to it, and I also created a Guide folder and created a Guide.tutorial file based on the example in the WWDC video.

I've turned on Author Debugging Mode (this is on Swift Playgrounds on the Mac, I'll try later on Swift Playgrounds on the iPad), but I get no messages other than the "Could not display guide. Try reopening the current project..."

I also get a build error that just says "Building failed"

What am I missing?

I decided to have a crack at copying off the Get Started with Apps example and changed my targets section of the app package to look like this:

    targets: [

        .executableTarget(name: "App", dependencies: ["Guide"], path: "App"),

        .target(

            name: "Guide",

            path: "Guide",

            resources: [

            .process("Guide.tutorial"),

            .process("Resources/title.png"),

            .process("Resources/titleBackground.png")

            ])

    ]

With both Xcode 13 and the 14 beta I get the following message now, for my project:

public headers ("include") directory path for 'Guide' is invalid or not contained in the target

There is a Guide folder and a Resources folder with those two pngs in it, so I don't think it's an issue with missing files... Any ideas at all would be appreciated.

Create an Assessment.swift file in the guide folder

"Could not display guide" message
 
 
Q