vertexFunction must not be nil when add -cikernel -fcikernel flags

I faced problem same as this metal-vertexfunction-defined-in-metal-file-becomes-nil-once-setting-compiler

is there a offical solution?
vertexFunction must not be nil when add -cikernel -fcikernel flags
 
 
Q