some functions from NS::Bundle in metal-cppnot

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSBundle allFrameworks]: unrecognized selector sent to instance

NS::Bundle* Bundle = NS::Bundle::mainBundle(); Bundle->allFrameworks();

call to allFrameworks() and allBundles() will throw exception, but other functions work well.

Answered by Graphics and Games Engineer in 826555022

This appears to be a bug in Metal-CPP. Please file a bug report using Feedback Assistant and share the FB number here.

macOS15.1 / Xcode Version 16.0 (16A242d)

This appears to be a bug in Metal-CPP. Please file a bug report using Feedback Assistant and share the FB number here.

Accepted Answer

Hi Chinouo,

Thank you for reporting this issue. The problem is solved in metal-cpp_macOS15.2_iOS18.2.zip, which you can obtain from https://developer.apple.com/metal/cpp/

Please give it a try and let us know if you encounter any issues.

some functions from NS::Bundle in metal-cppnot
 
 
Q