Skip to content

xcparse should give better error when xcresult path leads to non-xcresult #40

Description

@Blackjacx

Describe the bug
I want to install xcparse using Mint using the command mint run ChargePoint/xcparse xcparse screenshots --test-run --model "$results_path" "$screens_path"

But that doesn't work and gives the following output:

➜ mint run ChargePoint/xcparse xcparse screenshots --test-plan-config --model "/tmp" "/tmp"
🌱  Finding latest version of xcparse
🌱  xcparse 2.1.0 already installed
🌱  Running xcparse 2.1.0...
Error: Fatal error: Missing Info.plist: file /BuildRoot/Library/Caches/com.apple.xbs/Sources/XCResultKit/XCResultKit-15700/Sources/XCResultKit/RootInfoPlistParser.swift, line 52

OS

Screen Shot 2020-02-06 at 12 46 22

xcparse Version

Screen Shot 2020-02-06 at 12 47 16

Swift version [Run "swift --version"]

Apple Swift version 5.1.3 (swiftlang-1100.0.282.1 clang-1100.0.33.15)
Target: x86_64-apple-darwin19.2.0

  • XCResult version [Run "xcrun xcresulttool metadata get --path /path/to/xcresult"]

To Reproduce
Run the CMD above - it auto-resolves xcparse

Expected behavior
It should just work like installing it via brew.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions