The following error pops up when I am trying to move all the meta data from one environment to another (with Profiles).
You cannot deploy to a required field Object_Name__c.Field_Name__c
Upon investigation, the field is a required field on layout and that's the reason deployment is throwing the error.
Now, I am skipping the fields using ANT's replaceregexp to do the deployment?
Any better way to deal with this problem?