Root manifest not found
See original GitHub issueDescribe 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:
- Created 3 years ago
- Comments:8
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Created #135 for that specific case.
I’ll keep the issue open till swift.org is back up if that’s alright with you