kean / PulsePro

A macOS app for viewing logs from Pulse
https://pulselogger.com
482 stars 24 forks source link

Warning when Building #6

Closed carltongibson closed 3 years ago

carltongibson commented 3 years ago

Hi.

I have a warning building, that I can't track down to my settings:

Skipping duplicate build file in Copy Files build phase: /Users/carlton/Library/Developer/Xcode/DerivedData/TestApp-atghlfqewrhpbqfyjfehtzxtnnyk/SourcePackages/artifacts/Pulse/PulseCore.xcframework/ios-arm64_x86_64-simulator/PulseCore.framework

This is with Pulse 0.11.0 (I think it was there before)

I've add all three linking in the linking phase (as per https://github.com/kean/Pulse/blob/0.9.1/Docs/Installation.md)

No doubt I've done something wrong but thought I'd raise it in case there is a duplicate in the PulseCore settings.

Thanks! 🤔

kean commented 3 years ago

I can reproduce it. Looks like some SwiftPM shenanigans. I think it has to do with the fact that both Pulse and PulseUI depend on PulseCore. I'll see what I can do about it. As a workaround, you can add this file (not going to change any time soon) and swift-log dependencies manually.

I checked the built products. To the very least, there is no duplication of frameworks.

carltongibson commented 3 years ago

Hey @kean thanks for the reply. I shall give that a try. 👍

kean commented 3 years ago

Since I switched to source distribution for the main repo, this should no longer be an issue.

carltongibson commented 3 years ago

Thanks @kean! 👍