Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Straightforward CMake build doesn't work on Mac and no instructions available. #626

Open
2 tasks done
dabrahams opened this issue Mar 18, 2024 · 0 comments
Open
2 tasks done

Comments

@dabrahams
Copy link

Why this matters: I want to submit PRs that make this project more consumable as a dependency of other CMake projects. Without a baseline understanding of what is expected to work, I can't test my changes.

ArgumentParser version: the main branch
Swift version: swift-driver version: 1.87.3 Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5)
Target: arm64-apple-macosx14.0

Checklist

  • If possible, I've reproduced the issue using the main branch of this package
  • I've searched for existing GitHub issues

Steps to Reproduce

cmake -GNinja -S . -B .cmake-build -DBUILD_TESTING=1 -DBUILD_EXAMPLES=1 && 
  cmake --build .cmake-build && 
  ctest -V --test-dir .cmake-build

Expected behavior

Successful build and test.

Actual behavior

/Users/dave/src/swift-project/swift-argument-parser/Sources/ArgumentParserTestHelpers/TestHelpers.swift:14:8: error: no such module 'XCTest'
import XCTest
       ^
/Users/dave/src/swift-project/swift-argument-parser/Sources/ArgumentParserTestHelpers/TestHelpers.swift:14:8: error: no such module 'XCTest'
import XCTest
       ^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant