【发布时间】:2014-07-01 07:55:42
【问题描述】:
我有链接器错误:
架构 arm64 的未定义符号: _OBJC_CLASS_$_MTLRenderPipelineAttachmentDescriptorArray
以下代码
var pipelineStateDescriptor = MTLRenderPipelineDescriptor()
pipelineStateDescriptor.label = "Test1"
pipelineStateDescriptor.sampleCount = 1
pipelineStateDescriptor.vertexFunction = vertexFunction
pipelineStateDescriptor.fragmentFunction = fragmentFunction
var colorDescriptor = MTLRenderPipelineAttachmentDescriptor()
colorDescriptor.pixelFormat = .FormatBGRA8Unorm
pipelineStateDescriptor.colorAttachments[0] = colorDescriptor
有什么解决办法吗?
【问题讨论】: