by delegate · 9y ago · 0 comments
Apple's flagship IDE, XCode, is also lagging behind, at least when talking about C++ development, but even Swift doesn't get too much love it seems.
Having used it since at least version 5, XCode 8 has been a frustrating experience for me starting from day one, when it defaulted to Swift version 3.0 and so broke all of the existing Swift projects and dependencies from CocoaPods / Carthage.
Me and thousands of devs had to waste hours if not days just to build our projects - with no way to downgrade to previous XCode version.
After that, I constantly struggle with syntax highlighting, unusable code completion, broken navigation and so on.
And that's for Swift ! Ok, my project also has Objective-C++ and C++ code, but all of them are broken beyond frustrating.
Sometimes the "comment/uncomment block" feature just stops working and the only fix is to run a magical sudo command and then restart your mac.
I've revived an older Windows 7 machine just so I could compile my C++ lib on Windows. Visual Studio 2015 + Visual Assist, which I haven't used in years, was a revelation.
I ended up refactoring most of my C++ code on that 7-year old machine and frankly it felt very good that I didn't have to fight the development environment, like I do on my $2500 MacBook pro.
Until then, I didn't even realise how unproductive XCode made me in C++.
So yeah, I'm already thinking about a 32GB of RAM, nVidia 1070 GPU, 17" monitor laptop. It costs like a Macbook pro, but punches a stronger punch at the expense of portability.
I can justify all the gaming and VR that I'll do on it with the fact that it runs Visual Studio well...
I wrote this to vent but also with the hope that someone at Apple is reading these comments and hopefully something will change soon.
..of course it won't help you with c++ development.
Thinking about it, this whole must be in xcode to read the documentation is still a pain in the butt. I miss printing the pdfs (much easier on my eyes or I could use an e-ink based reader) and wonder why the heck they at least don't have an official documentation viewing app on iOS.
I use the Mac version constantly. I haven't had to open the Xcode documentation window for months.
What? The Apple Xcode downloads page lets you manually download every version of Xcode going back to at least 2008. I mean: I clearly love to complain about Apple, and I am shocked anyone uses Xcode at all for any reason, but the only thing keeping you from downgrading versions of Xcode is really old copies have GUI issues on newer versions of OS X... Apple at least got that right.
Even if I did downgrade to Xcode 7.x, it would still add quite a bit of effort on my side, which Apple forces me to do by nagging me to update Xcode. I think it should work the other way around - Swift 2.3 still default with the option to use Swift 3.0.
In all fairness, I like Xcode - it looks nice, it's fast. It's quite good when it works well - mostly with Objective-C projects.
But the last version has been really frustrating and I think it's a step backwards, which I hope they will fix fast.
Although, regarding Swift: you cannot blame them for Swift 3 breaking things because they have always been clear what was going to happen! It evolved a lot, and that was kind of the point; it’s one of the reasons there is no stable ABI yet.