I am getting the below error when I am trying to deploy a new profile:
You cannot deploy to a required field Object_Name__c.Field_Name__c.
I saw the solution posted here: Force.com IDE profile deployment - You cannot deploy to a required field Object_Name__c.Field_Name__c
But I have used an existing .profile file and I am trying to give read only access to all the fields and objects for an app.
There are a lot of objects and fields and hence not able to detect the required fields and remove them from the file.
Any solution for this? Any help is greatly appreciated.