I'm using react native. when I run the project I'm getting an error which is
error: Multiple commands produce '<APP_NAME>.app/PrivacyInfo.xcprivacy'
note: Target 'AppV2Stage' (project 'AppV2') has copy command from '<ProjectPath>/ios/PrivacyInfo.xcprivacy' to '<DerivedData_Path>.app/PrivacyInfo.xcprivacy'
note: That command depends on command in Target 'AppV2Stage' (project 'AppV2'): script phase “[CP] Copy Pods Resources”
I got the erro when I add <App_Name>.app/PrivacyInfo.xcprivacy adding in Target Membership and build
Edited:
After tried many things found that some of pods also have "PrivacyInfo.xcprivacy" file.

getting this error when building with new Privacy file in main app project:

Please let me know if anyone have solution for this Multiple commands issue.