Re:25 hours of Xcode Cloud now included with the Apple Devel...
by andrekandre on Saturday December 16, 2023 @10:27AM
(#38664888)
> That seems high to me. Where does that come from?
it is high (and i agree too high imo), but many apps utilize a lot of 3rd party libraries that take a loooong time to compile (just off the top of my head, various "reactive" frameworks, realm, firebase related libs etc)you might ask why not deliver binary libs to cut down the time, well that used to be easy with obj-c/c dylibs but swift doesnt have a stable abi outside of apple libs, so every new swift update requires recompilation and swift package manager doesnt have much in the way of caching binaries for dependencies in a ci afaik
Re:25 hours of Xcode Cloud now included with the Apple Devel...
by tl on Saturday December 16, 2023 @10:57AM
(#38665143)
Not just compile, but download. In addition to dozens pure-iOS projects (internal apps deployed to users), I have a couple of react-native codebases to support Android. Xcode Cloud spends more time downloading npm packages than anything else including compiling. Unlike other CI tools I’ve used, there is no way to Xcode Cloud to maintain a dirty executor or specify dependencies to skip this step. In addition, downloading dependencies fails so often that CI fails a majority of builds which have to be re-run which consumes more minutes.
I’m currently working with a client to convince them Jenkins on a Mac they own is cheaper and easier, working through the standard headaches of an IT department who supports thousands of iPhones and Windows machines but doesn’t want to support a single digit number of Mac just because Apple fights any attempt at cross-compiling from anything that’s not a Mac.
Re:25 hours of Xcode Cloud now included with the Apple Devel...
by orand on Saturday December 16, 2023 @12:06PM
(#38665815)
If you're downloading dependencies on every build then you don't have a repeatable build.
Re:25 hours of Xcode Cloud now included with the Apple Devel...
by turquoisevar on Saturday December 16, 2023 @10:17PM
(#38670042)
It is extremely high. Typically I’m dealing with less than a minute, occasionally up to 2 and rarely, when I’m dealing with heaps of dependencies perhaps 5, but 30-45 is just crazy.
That seems high to me. Where does that come from?
> You typically make 1-3 PRs a day, each of which need to be built. Let's say 3 PRs + 1 build after merging.
That also seems like a lot, at least for an individual, which is what this seems? (to me) aimed at. I haven’t used it, but 25 hours seems within bounds for reasonable for a month’s usage.