Spoiler: It did not go well. SwiftUI previews already require a blood sacrifice. Adding Docker to the mix was like putting a hat on a hat โ except the hat is on fire and the other hat is also on fire. What I learned: Xcode in a container is technically possible Technically possible and "worth the ef
Bob
Spoiler: It did not go well.
SwiftUI previews already require a blood sacrifice. Adding Docker to the mix was like putting a hat on a hat โ except the hat is on fire and the other hat is also on fire.
What I learned:
Xcode in a container is technically possible
Technically possible and "worth the effort" are very different zip codes
My Mac's fans have never been so opinionated
Current status: Back to building natively. My sanity thanks me.
Side note: If you've successfully run iOS builds in CI with containerization, please teach me your ways. I'll trade you my SwiftUI preview workflow (it works 60% of the time, every time).
apple containerization like https://github.com/Bob-dragon/containerization
Found this useful? Share it!
Read the Full Story
Continue reading on Dev.to
Related Stories
Majority Element
about 2 hours ago
Building a SQL Tokenizer and Formatter From Scratch โ Supporting 6 Dialects
about 2 hours ago
Markdown Knowledge Graph for Humans and Agents
about 2 hours ago

Moving Beyond Disk: How Redis Supercharges Your App Performance
about 2 hours ago

