Library not found for -ld_classic

When trying to build an iOS app, I get this error:

ld: library not found for -ld_classic
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ERROR: Builder failed: ld: library not found for -ld_classic
BUILD ERROR: There was a problem linking the app.

What does ld_classic mean?
Could it be a problem with the plugins? I only use the utf8 and the Pasteboard plugins.

If I remember correctly, this is caused by having an outdated version of xcode on your mac. Try updating it and see if that helps.

1 Like

Thanks @XeduR
I have Xcode Version 14.2 (14C18) and I use Solar2D v 3704. I can’t find any updates for Xcode. Maybe I need to downgrade it?!

Here’s what @alanFlickGames had found on Discord:

I think Apple have answered my question, as my latest build has been rejected due to not being built with iOS 17 SDK or later, included in Xcode 15 or later. Looks like I need to update Xcode.

1 Like

Oh, thanks a lot :star_struck: I need to find a newer version of Xcode then.

Found it here Sign In - Apple