cocos2d/cocos2d-objc

CCRendererBasicTypes.m CCBlendModeCache

spidey2012 opened this issue · 1 comments

in Xcode 9.3

-(id)objectForKey:(id)options
{
id src = options[CCBlendFuncSrcColor] ?: @(GL_ONE);

CCBlendFuncSrcAlpha: (options[CCBlendFuncSrcAlpha] ?: src),

Expected method to read dictionary element not found on object of type 'id'

Fixed the problem by deleting the NSCopying bit from the method