Remix.run Logo
rTX5CMRXIfFG 4 days ago

That first error isn’t an Xcode issue. It’s a Swift compiler issue. And you can’t blame your IDE for your bad instincts—at some point those ritualistic fixes stopped being necessary and I haven’t had to do them for more than half a decade. You really should be digging into your code using breakpoints and logging to find the root cause.

I do think Xcode has very rough edges but if we’re criticizing it, we have to criticize the right points.

bionhoward 4 days ago | parent | next [-]

Wouldn’t a breakpoint or log message require the code to compile and run in order to work?

rTX5CMRXIfFG 4 days ago | parent | next [-]

Yes but if you read the article, the point about developing bad instincts is a different context than the Swift compiler issues.

lawgimenez 4 days ago | parent | prev [-]

You're right, parent's comment is just wrong.

rTX5CMRXIfFG 4 days ago | parent [-]

You also didn’t read the article

danjl 3 days ago | parent | prev [-]

Dunno. Not sure you can so easily slice off Swift as "outside of XCode", since it isn't used by anything else and is basically required for any Apple development, and only Apple development.