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

Error while adding XCLogParser as Swift Package #173

Closed
vladislovshilov opened this issue Jun 29, 2022 · 2 comments
Closed

Error while adding XCLogParser as Swift Package #173

vladislovshilov opened this issue Jun 29, 2022 · 2 comments

Comments

@vladislovshilov
Copy link

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.

  • In case when I add only executable file
    Executable
    Executable error

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

  • In case when I add both library and executable files
    Executable/Library
    Executable/Library error
@polac24
Copy link
Collaborator

polac24 commented Jun 29, 2022

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
Copy link
Author

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!

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

2 participants