Mimicking the modular structure of this app #55
-
Hi. Love the project and the way it is structured. I have tried to move one of my own apps over to a similar sort of scheme by following the setup of your package file I am seeing a few flaky CI runs, sometimes testing passes and sometimes it fails. the failure seems to be related to the resolution of XCTestDynamicOverlay
when I see this locally I can get rid of the issue by clearing my derived data which then prompts Xcode to do its thing and pull the dependencies again. I know it may be difficult to diagnose without having a copy of my project, but I figure it was worth an ask. Maybe you guys have seen something similar? I am using an almost identical copy of your |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
@j-j-m That could be related to an SPM bug where dependency URLs diverge, e.g., if the -https://github.com/pointfreeco/xctest-dynamic-overlay
+https://github.com/pointfreeco/xctest-dynamic-overlay.git We saw the same CI failures here. The key is to depend on |
Beta Was this translation helpful? Give feedback.
-
thanks for the quick reply. |
Beta Was this translation helpful? Give feedback.
@j-j-m That could be related to an SPM bug where dependency URLs diverge, e.g., if the
.git
is present or not:We saw the same CI failures here. The key is to depend on
xctest-dynamic-overlay
in the same way it is depended on in any upstream packages. In TCA andcombine-schedulers
this is without the trailing.git
. Hopefully this issue will be resolved in a future version of Swift/Xcode.