25 hours of Xcode Cloud now included with the Apple Developer Program
developer.apple.com
developer.apple.com
Of course, it could automatically build and test my app after every commit to VCS, but I build and test the app on my laptop anyway to see how it works, so I don't see any benefit.
I wonder how much longer that will be the case. Looking at the trends for pretty much all software I'd be surprised if Xcode doesn't end up completely in the cloud.
You can build and deploy websites and services manually as well, however a lot of people choose to have CI/CD systems instead.
It also doesn't have a proper web interface and Xcode is already one of my least favourite tools, so I'm not keen on the prospect of relying on it even more than I already do.
You already don't have a choice. The iOS build tooling only runs on MacOS. So your current options are:
1. Run all of your CI infra on MacOS (literal insanity)
2. Have dedicated mac minis just for building iOS apps (waste of $$$ and additional maintenance hassle)
3. Use a build cloud (somehow even more expensive than option 2)
I have not yet looked into the details, but this new Xcode Cloud free tier might be a godsend for me. GitHub Actions sucks, and their on-demand MacOS runners are crazy expensive. This will let me flip over to Xcode Cloud for Apple builds, save the $0.16/min I spend on GitHub Actions MacOS runners, and probably have a much better experience overall. The web stack gets built on GCB and deployed to GCP, and the mobile apps would get built on Xcode cloud and deployed to the App Store.
What else is there? For web things I already have some GitHub actions taking care of the work.
Just the brand « xcode » itself is so damaged..
Every now and then something annoying will happen, like the Simulator sucking all the resources for no apparent reason, Xcode crashing/declining to compile some SwiftUI View because the code is too complex and the download size of Xcode used to be gargantuan but all these are really annoyances and nothing catastrophic. Definitely not case of not paying attention to details, on the contrary - Xcode does lot's of small things to increase developer comfort, which IMHO is about paying attention to details.
What do you think it can happen if you let Xcode cloud access your online git repo and compile the project on their machines? What should I be worried about?
Not the case anymore, Go to Settings->General->Storage in macOS where you can manage the storage space. If you tap on the "i" next to the "Developer", you will be given option to delete caches, indexes, iOS device support(which can be huge).
Xcode is utter crap. It's sluggish, its window and history management is nonsense, it crashes every day, every new version brings its new batch of weird build errors.
Honestly i can't believe this company owns the whole stack down to the hardware and manages to release such a poor product.
I honestly don’t get it. I’ve tried everything under the sun and Xcode is by far my favorite IDE.
It’s intuitive, fast and is getting more and more QoL improvements that are much appreciated.
Is it annoying at times? Yeah sure, there are some running jokes between me and a bunch of other indie devs, but it’s mostly in jest.
I can’t recall the last time I ran into an actual issue that ate up my time and was a showstopper.
Perhaps it’s a matter of preference, because the no 1 suggestion by the haters, VSC, is something I personally hate. Unintuitive as hell and yet another addition to the Electron Hall of Shame.
I believe this dark point was when Swift came out, up to 2.0 or 3.0. They definitely rushed it and I believe rushed a lot of other features into Xcode.
But otherwise, Xcode in the early days was great, and Xcode today is great. I suspect most of the haters are remembering the bad times. Or maybe they have an old computer, and Apple software is known for being slow on older devices (“planned obsolescence”, I think Apple just adds bloat to their software when they develop faster hardware because they don’t notice). Or maybe they are complaining because Xcode is ridiculously large (it requires like 40GB free space to install) and does weird stuff when installing, there are probably issues you can run into with certain system configurations (particularly with, again, older systems). Or maybe we’re spoiled by good IDEs (even VSCode is fast despite being Electron, I still prefer JetBrains and AppCode).
If I could at least get the behemoth of xcode and supporting tools of my machine for an affordable price that would be a win
macOS virtualization is pricey by Apple's design. This is not just a GH problem
macOS hardware or virtualization is beaucoup bucks in every cloud. As I said, this is not just a GitHub (or Microsoft) problem.
That's just not an option for mac or iOS in the same way it is for Windows.
Besides that, most companies already have CI pipelines in place for all their apps. Why would their switch?
Thanks, Apple! Now go make your build tooling cross platform so we can just run it on a linux vm like everything else, and maybe stop gouging the people who are providing value for your platform?
I don't know why it matters so much, but it seems to matter to them. I doubt the little extra money they made back then from selling to developers would have mattered to them?
But like all tech giants, Apple is now refocusing on services rather than software and devices, so perhaps forcing all Apple developers into their build service is part of that effort.
This step moves closer to a iPadOS Xcode solution for build, test and distribution. This has minimal demand on the iPad as long as the network connection is good enough.
Business acceptance of iPad is greater then that of Mac.
Looking forward to WWDC2024.
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.
> 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
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.
I don't think they need to go as far as this. We already maintain windows CI agents on my team as we build C++ apps with MSVC. But crucially, our builds only take 10 minutes from cache, we don't want to pay for 24 hours usage.
Yeah, this is the killer. I don't mind paying $1/h for an M1 mac - our builds take about 10 minutes when cached, so paying $0.16 is fine. Even an hour's minimum would be totally fine - paying $60/mo to license it for 2h/day would be perfect. But, we're not paying $1/h with a 24h minimum every day. At that point, a Mac Mini is cheaper on month 1, so I have a mac mini on my desk.
That sounds too awful to be true. Roughly how large are these average apps in terms of lines of code? I assume that's Swift rather than Objective-C?
a comparable clean build with debug flags (no optimization) might only take a few minutes with incremental builds taking a few seconds or so, i guess thats why its tolerated...
the other thing is ci build pipelines are reaaallly slow so if you made the same build locally on your m1 pro its probably gonna take 1/4 the time as the ci (ime anyways)...many ci's are slow af....