XCResult bundles and XCTestPlans with Swift Packages

Kind of a two-parter:

  1. Is it possible to generate an xcresult bundle using swift test? Currently my solution is to run swift package generate-xcodeproj, then run fastlane scan with that project as the source. I'd love to drop fastlane scan as a whole if it's possible to generate the xcresult just using spm commands.

  2. Is it possible to use XCTestPlans with Swift Packages? I know we can't tweak schemes since there's no real scheme data associated with temporary workspace created by Xcode, but is this doable at all?

Terms of Service

Privacy Policy

Cookie Policy