Hacker Newsnew | past | comments | ask | show | jobs | submit | devsquid's commentslogin

Ouch, this makes me glad I don't do iOS development anymore. XCode is such trash.


I really don’t understand complaints with Xcode.

I been developing with iOS for 7 years straight.

My workflow: Open Xcode, open a bunch of files… write code… navigate symbols… build simulator… test code…

Sure.. I’d like if my builds were faster, and my unit tests were faster…but this is not a Xcode exclusive complaint.

But, “trash”? My workdays feel pretty smooth. I really don’t feel like I’m battling the IDE if at all.

Could you expand on your complaints?


You might be lucky that your project doesn't have a certain complexity. I'm working on multiple complex projects in the 100k loc to 500k loc range and here're some things that happen way too often:

- Auto completion completely doesn't work in some files

- Symbol lookup doesn't work (e.g. Xcode doesn't know the struct or class when I try to find information on it)

- Symbol search doesn't work (this literally never works. I've switched to using text based search for all things)

- The app compiles but Xcode still lists 3-4 compile errors in the sidebar. They stay there until I restart Xcode and clean the build folder

- Weird compile errors that disappear when I clean the build folder

- Swift Package Manager integration is awful. Change one package file, and Xcode needs 2min (where the UI is unresponsive) to reload all the packages and do some weird calculations

- Everything is slow. Searching for things, typing, the editor. Compare that to the speed of VSCode, where all interactions are super fast

- Sometimes the unit test buttons disappear (the ones that appear next to the unit test function name), which means I can't run individual tests anymore.

- Its still the case that compiler error messages are completely in the wrong place for complex type errors

- SwiftUI preview still doesn't work properly in many cases

- Sometimes Xcode needs forever to figure out that there's an error in something I wrote. Not while I'm typing, not when I've saved, only once I started compiling. Then it compiles, it fails, it needs another 5sec, and then the error message appears. That's a terrible feedback loop.

Apart from that, there's no useful plugin / extension interface. I'd like to have auto-reformat on save as a plugin, way better vim bindings (I mean, we finally got vim bindings but they're awful), bookmarks (I sometimes use disabled debugger breakpoints as bookmarks, but that's not really a feature).

There's obviously more, but here's the thing. I also work on a sizeable Rust project (60k loc), and while Rust analyser needs longer for the initial indexing of the project, everything else after that is way better than Xcode. VSCode is faster, smoother, auto completion works much more reliably, refactoring works great, the IDE already shows errors while I'm typing or right after I've saved. Also, when I save the code is formatted based on the guidelines, which is a godsend. I've tried to set up VSCode as a Xcode alternative, but the Swift sourcekit-lsp is way worse than Rust-Analyzer. Also, running and debugging is a pain then.


You covered all the bases. Might I add the crash stacktrace in Organizer is hit or miss too.


I only use it to release on iOS for flutter, every click takes 3 seconds, project files get random changes everytime and it plays badly with git, every update takes 12GB (not joking) and the app upload is so broken even apple had to release a third party upload tool to bypass it.

Just using it to compile the app to release it is very painful, I can't imagine doing any serious work with that kind of software.


I don’t work in flutter but I wouldn’t be surprised, having worked in react-native, if there isn’t a massive amount of native deps under the hood that have to be rebuilt often that are slowing things down more than your typical entirely native app. I’d look into fastlane and automating your uploads outside xcode it is not too bad to write a script to do this for you.


Yeah I tried fastlane but unfortunately it did not work, I'm still keeping a macbook in a box for releasing in the mean time.


I’m an iOS dev and yes Xcode is trash. We migrated to SwiftUI since we thought it will get us out of UIKit hell, and then it is much worse than we thought. Xcode just couldn’t handle very large complex codebase.


It basically stops working once a project gets too large.


It kind of works, yeah sometimes it crashes, like unfortunely many applications will keep on doing until industry settles on proper quality standards.


I only skimmed the page, but if you think CNN represents a left wing view you do not understand left wing politics. Ranking CNN along sides Jacocbin or Fox News alongside Breitbart just shows your political ignorance. This site just comes across as painful arrogant.


I've had serious external display issues since they moved to Thunderbolt-3


Lord you bought this story hook line and sinker...

> But its pretty diverse, and it seems that folks with opposing viewpoints can still coexist here. I like that...

You hear this a lot lately from tech bros. It's hilarious considering how many things are illegal in Texas. Ya you can buy an assault rifle, but its illegal to buy hard liquor on Sunday. Have you ever looked at their gerrymandering? Did you know during the 2016 election they didn't allow mail in ballots?


Both things are true.

Hispanics are set to become the largest racial demographic soon. ~13% of the population is black.

Houston is one of the, if not the depending on the report, racially diverse cities in the country. It's a bit self segregated geographically, but is pretty impressive and there is a lot of culture to be found. Large Asian community with substantial communities from countries that don't really exist elsewhere in the state.

The state is also more or less purple outside the voting booth. Major metro areas have higher concentrations of liberals. Etc etc.

Pretty much a microcosm of the USA.


Both what are true? Have you ever lived in Texas?

Yes the like most urban areas they trend left and more ethnically diverse. Thus Texas is also trending left. I'm not sure what your point is.

Is your point that change is coming for Texas? I totally agree with that, but I think it's going to be a longer and harder fight than most think. From my experience a lot of the white population there are some of the worse bigots I've ever met.

My point was it's not a very free state, lol there are just certain specific things allowed. And it has low taxes so it's great if you're already rich and successful.


This is cool. I recently wrote an A* pathfinding system for a hex based game. Choosing a good coordinate system 100% makes this easier.


Which one did you go for?


I went with what they call the "Axial coordinates". I think the alternative, "Cube coordinates", causes a lot of issues and confusion when writing game logic.


My imagination fails when I attempt to think of a good reason for using the 'offset' coordinates. If someone knows of one, I'd be open to hearing it, but I suspect that it makes things quite tricky


I feel like a lot of the things I've read from Paul Graham suffer from the survivor fallacy. The tech industry idolization of him is itself a form of survivor fallacy and its infatuation with "wealth makes right" is almost incestuous. Most of what he writes is just a one line fortune cookie drawn out into a 3 page essay.

I HIGHLY recommend tech workers to actually break out of your bubble. So much of our ethos is being "free thinkers", but most of the "thought" is just repeated business pep talk.


Tech works?


Oops thanks


I love Rust and I love the direction its pushing. But these kinds of websites are awful. If you can't get the nuances why Rails/Django/Many other frameworks are a better solution for writing a web server than I dunno what to tell you.


> But these kinds of websites are awful

Care to share why? It provides a lot of useful information and curated packages for common categories. It is actually widely used as a reference for package selection. Just because you disagree does not make it "awful"


It's awful because dishonesty is awful.

I'm enthusiastic about learning Rust myself, but it's not even remotely a replacement for Rails. Rails is, IMO, bar-none the fastest prototyping / solo dev tool for building CRUD apps that there has ever been. It made it possible to build a blog in under fifteen minutes in 2005. In 2020, it's even more productive and for an even wider variety of applications.

What Rust framework is even remotely similar?


> Can I replace my Rails/Django/Flask already? Yup! Rust has mature and production ready frameworks

> If you can't get the nuances why Rails/Django/Many other frameworks are a better solution for writing a web server than I dunno what to tell you.


"Eat more vegetables → Eat an apple" I lol'd


As with all things it totally depends on the scale you're at.

Redis is an extremely reliable service. I've never "lost" data with Redis.


Both Valve and Alphabet have shipped amazingly successful software. I think w/e they are doing works, that doesn't mean theres other ways that work 2.


Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: