Я пытаюсь инициализировать IOSurface и получаю неопределенные ссылки на все свойства.
NSDictionary* dict = @{
IOSurfacePropertyKeyWidth: [NSNumber numberWithInt:textureWidth],
IOSurfacePropertyKeyHeight: [NSNumber numberWithInt:textureHeight],
IOSurfacePropertyKeyBytesPerElement: [NSNumber numberWithInt:4],
IOSurfacePropertyKeyPixelFormat: [NSNumber numberWithInt:'BGRA'],
(NSString*)kIOSurfaceIsGlobal: [NSNumber numberWithBool:YES]
};
IOSurfaceRef surface = IOSurfaceCreate((CFDictionaryRef)dict);