question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Root manifest not found

See original GitHub issue

Describe the bug After setting up the workflow, it fails with the following message:

> Run swift build -v
/usr/bin/xcrun --sdk macosx --show-sdk-path
/usr/bin/xcrun --sdk macosx --show-sdk-platform-path
/usr/bin/xcrun --sdk macosx --find xctest
/Users/runner/hostedtoolcache/swift-macOS/5.3/x64/usr/bin/swiftc -print-target-info
error: root manifest not found
Error: Process completed with exit code 1.

To be honest I’m not completely sure that this is a bug in the workflow. Is running the workflow like this supported for Swift Packages?

Workflow configuration (please complete the following information):

  • Platform (runs-on): macos-latest
  • Swift version (swift-version): 5.3

My workflow file:

name: Swift

on: [push, pull_request]

jobs:
  build:
    runs-on: macos-latest
    
    steps:
    - uses: fwal/setup-swift@v1
      with:
        swift-version: "5.3"
    - name: Get swift version
      run: swift --version
    - name: Build
      run: swift build -v
    - name: Run tests
      run: swift test -v

The PR adding the workflow: https://github.com/Quintschaf/SchafKit/pull/3

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
fwalcommented, Oct 6, 2020

Created #135 for that specific case.

1reaction
SplittyDevcommented, Oct 6, 2020

I’ll keep the issue open till swift.org is back up if that’s alright with you

Read more comments on GitHub >

github_iconTop Results From Across the Web

`swift build` on Terminal throw `error: root manifest not found`
This probably means you have your package setup incorrectly— you probably have your Package.swift file inside your Sources/ directory. It should ...
Read more >
Swift package "error: root manifest not found"
Hi, I am using Xcode 10. Beta 6. I am trying to create a Xcode project using swift package generate-xcodeproj.
Read more >
Building/cleaning of project with Swift Packages fails with "error
Building/cleaning of project with Swift Packages fails with "error: root manifest not found" ; Type, Bug B ; State, Can't Reproduce ; Subsystem,...
Read more >
Fixing Github Actions Swift Error Root Manifests
I was working with GitHub Actions to add CI/CD to my repository. I ran into the build error “error: root manifests not found.”....
Read more >
Root manifest not found when trying to run carton · Issue #37
Hello, when trying to execute anything with Carton, I'm getting the following error. Do you have any idea what could be wrong? ✘...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found