zlacker

[parent] [thread] 1 comments
1. scosma+(OP)[view] [source] 2026-02-03 22:29:19
Yes! If you’re lucky enough to be writing a library you are in good shape. Swift did things right.

I have UI and UI tests and xcodebuild is my nemesis.

replies(1): >>TheNig+4I
2. TheNig+4I[view] [source] 2026-02-04 03:13:24
>>scosma+(OP)
That’s why you should break out all of your code into SPM packages/targets. The workspace code only really needs to be the entry point, lifecycle and maybe target-based dependency injection (if you’re into that) or environment config since your SPM dependencies don’t know about your projects preprocessor macros (I.e. `#if DEV` `#if APP_STORE` etc.).
[go to top]