MobileNativeFoundation / XCLogParser

Tool to parse Xcode and xcodebuild logs stored in the xcactivitylog format
Apache License 2.0
1.75k stars 125 forks source link

Error while adding XCLogParser as Swift Package #173

Closed vladislovshilov closed 2 years ago

vladislovshilov commented 2 years ago

Hello there, first of all thank you guys so much for that tool 🙏 You did a really good research!

The problem: I can't integrate it into the project. Looks like I missed some little detail.

What I did? I added XCLogParser as a SwiftPackage dependency and got a couple of errors.

This is iOS project with several build targets (i.e Dev, Staging, Prod). Could it be the problem?

polac24 commented 2 years ago

To be clear - if want to integrate XCLogParser into your own tool, you should only set a dependency on XCLogParser library, not xclogparser executable.

vladislovshilov commented 2 years ago

Thanks for the response @polac24. No, I just wanted to test it in my project.. I added executable directly and ran a post-script with that. It works fine!