Reference to 'X' is ambiguous

后端 未结 8 1506
伪装坚强ぢ
伪装坚强ぢ 2020-12-05 23:29

After several changes to my project I suddenly get this build error:

Reference to \'kCGImageAlphaPremultipliedLast\' is ambiguous

<
8条回答
  •  感情败类
    2020-12-06 00:25

    Well some solutions here are nice but use_frameworks! is exactly what I need now even thou it made this problem happening. But it looks like build does not like when I use frameworks and header is referenced twice like this

    #import "TSMessage.h"
    #import "TSMessage+CSExtension.h"
    

    but problem gets away when it compiles like this

    #import "TSMessage+CSExtension.h"
    

提交回复
热议问题