r/iOSProgramming • • Nov 05 '20

Discussion Just started learning Android Dev and using Android studio and...

WOW that's shit.

Like, I know we like to complain about Xcode and the long build times and whatnot, but when you're talking about error codes, autocomplete, warnings and what not - Xcode is simply LIGHT YEARS ahead of Android Studio!

Edit: well, some people here are butt hurt about my opinion like I told them their moms pasta is shit ... 🤷🏻

47 Upvotes

47 comments sorted by

View all comments

21

u/freakysheep Nov 05 '20
  • Ever tried the "Generate..." function in Android Studio? Example: Generate a constructor. So usefull.

  • The "Refactor" tool in Android Studio. It is so much more powefull. In Xcode the only thing available most of the time is "rename". In Android Studio you can select code and it is able to analyze the code so it actually works and move it automatically to other classes, extract code to a new function without breaking anything, ...

  • Analyzing. Android Studio is able to find unused code and antipatterns ... Would be so helpfull in Xcode

  • In Xcode, code completion is much slower for me and breaks very often until I rebuild the project. In Android Studio it just works most of the time.

  • In Xcode, errors are lagging behind for example changing a signature nearly never gets recognized instantly and errors show up until I build again

  • Xcode has a much higher crash rate for me

  • Xcode debugger: Ever spent a day to figure out why everthing is nil again when in fact it is not and the debugger just is set to some random setting again where the debugging is not possible...

21

u/VadimusRex Nov 05 '20

Just to add to this:

  • ever set up a breakpoint inside a closure and now you're unable to print anything?

  • ever hit run after you haven't modified a single line of code, comment, setting, ANYTHING and had to sit through an entire rebuild?

  • ever got Failed _shouldMakeReadyForDevelopment check even though device is not locked by passcode, having to reboot the device multiple times until it finally allowed you to deploy?

  • ever got erratic behavior when compiling or running solved only by shutting down Xcode, completely clearing DerivedData (rm -rf), starting Xcode again and watching it work correctly?

  • ever upgraded your iOS and got a cryptic error from Xcode that in no way, shape or form suggested that the issue is that it doesn't know how to deploy to that iOS version and that you need to update Xcode?

  • ever tried to run an app which had an extension with a signing issue and was met with a cryptic "cannot run on device" error and then had to go to the console and monitor the system output to figure out what's the issue?

I have. Last week and this week.

1

u/Xaxxus Nov 05 '20

> I have. Last week yesterday and this week today.

FTFY