Skip to content

Linking Fails When Building for iOS #872

@peterstory

Description

@peterstory

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions