Skip to content

Building the iOS simulator binaries fails due to MetalFX #102149

Description

@jkirsteins

Tested versions

Git commit: [a013481]

System information

macOS 15.2 (24C101) - iOS SDK 18.2

Issue description

Building a device binary succeeds: scons platform=ios target=template_debug generate_bundle=yes

Building a simulator binary fails: scons platform=ios target=template_debug generate_bundle=yes ios_simulator=yes:

...
[ 72%] Compiling drivers/png/image_loader_png.cpp ...
[ 72%] Compiling drivers/png/png_driver_common.cpp ...
drivers/metal/metal_device_properties.mm:54:9:{54:9-54:28}: fatal error: 'MetalFX/MetalFX.h' file not found [1]
   54 |  #import <MetalFX/MetalFX.h>
      |          ^~~~~~~~~~~~~~~~~~~
1 error generated.
scons: *** [drivers/metal/metal_device_properties.ios.template_debug.arm64.simulator.o] Error 1
drivers/metal/rendering_context_driver_metal.mm:176:40:{176:40-176:85}: error: no known instance method for selector 'presentDrawable:afterMinimumDuration:' [5]
  176 |                         [p_cmd_buffer->get_command_buffer() presentDrawable:drawable afterMinimumDuration:present_minimum_duration];
      |                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
scons: *** [drivers/metal/rendering_context_driver_metal.ios.template_debug.arm64.simulator.o] Error 1
scons: building terminated because of errors.

Steps to reproduce

scons platform=ios target=template_debug generate_bundle=yes ios_simulator=yes

Minimal reproduction project (MRP)

N/A

Metadata

Metadata

Assignees

Type

No type

Projects

Status
Done
Status
Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions