Alignment constraints are disabled in xcode.

Hello,

I am trying to add a leading and trailing alignment to an image but the option is disabled. Can somebody please help with this, here's the screenshot for reference