What is the current status of this issue? In the Xcode/iOS 26.4.1 SDK, attempting to use Metal 4 symbols still causes an error.
The code below works when targeting iOS Device, Designed for iPad, or mac, but for the Simulator, I get the error: “Cannot find protocol declaration for ‘MTL4CommandQueue’; did you mean ‘MTLCommandQueue’?”
#import <Foundation/Foundation.h>
#import <Metal/Metal.h>
@interface MyClass : NSObject
@end
@implementation MyClass
- (void)test {
id <MTL4CommandQueue> queue;
}
@end
Topic:
Graphics & Games
SubTopic:
Metal
Tags: