It turns out the linker error was caused by the CGImageSourceCreateWithData call. And the root cause was because I didn't include ImageIO.framework
却少imageio库
It turns out the linker error was caused by the CGImageSourceCreateWithData call. And the root cause was because I didn't include ImageIO.framework