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

Linking Fails When Building for iOS #872

Open
peterstory opened this issue Sep 9, 2023 · 1 comment
Open

Linking Fails When Building for iOS #872

peterstory opened this issue Sep 9, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@peterstory
Copy link

Describe the bug
I'm trying to build RetroArch_iOS13, following these instructions:
https://docs.libretro.com/development/retroarch/compilation/ios/

My build fails with these errors:

Building for iOS Simulator, but linking in dylib built for iOS, file '/Users/pstory/Documents/git-repos/libretro-super/retroarch/pkg/apple/iOS/modules/libMoltenVK.dylib' for architecture arm64

Linker command failed with exit code 1 (use -v to see invocation)

I also verified that libMoltenVK.dylib exists:

> file /Users/pstory/Documents/git-repos/libretro-super/retroarch/pkg/apple/iOS/modules/libMoltenVK.dylib
/Users/pstory/Documents/git-repos/libretro-super/retroarch/pkg/apple/iOS/modules/libMoltenVK.dylib: Mach-O 64-bit dynamically linked shared library arm64

I'm unsure whether there is a missing step in the instructions (the screenshots are from an earlier version of Xcode), or if there is a bigger issue which is breaking the build.

Expected behavior/changes
The build should succeed.

Additional context
I'm running:

  • macOS Ventura 13.5.2
  • Xcode 14.3.1, building for iOS 16.4
@peterstory peterstory added the bug Something isn't working label Sep 9, 2023
@warmenhoven
Copy link
Contributor

The build for iOS simulator was broken but has since been fixed. But why are you building for the simulator? You should be targeting your device.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants