Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot export to iOS (library not found for -ld_classic) #83111

Closed
vgwyn opened this issue Oct 10, 2023 · 1 comment
Closed

Cannot export to iOS (library not found for -ld_classic) #83111

vgwyn opened this issue Oct 10, 2023 · 1 comment

Comments

@vgwyn
Copy link

vgwyn commented Oct 10, 2023

Godot version

4.1.2 Stable

System information

macOS Monterey 12.7

Issue description

Every time I try to export an iOS project, even with a barebones project, it fails. I get the following message:

ld: library not found for -ld_classic
clang: error: linker command failed with exit code 1 (use -v to see invocation)

** ARCHIVE FAILED **


The following build commands failed:
	Ld /Users/username/Library/Developer/Xcode/DerivedData/projectname-hdphcazbnkplspfhlweigxlryrdb/Build/Intermediates.noindex/ArchiveIntermediates/projectname/InstallationBuildProductsLocation/Applications/projectname.app/projectname normal (in target 'projectname' from project 'projectname')
(1 failure)

I'm on an Intel Mac and I'm using Xcode 14.2.

Steps to reproduce

  1. Start a new Godot project
  2. Godot > Project > Export...
  3. Create an iOS export
  4. Add your App Store Team ID
  5. Export Project

Minimal reproduction project

N/A

@akien-mga
Copy link
Member

For now you would need to either upgrade to Xcode 15, or edit the project.pbxproj file in the export template to remove -ld_classic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants