Added target iOS

I modified DominantColors.swift, since CGColorCreateGenericRGB isn't Avaiable on iOS.