Multiple commands produce while adding Target

75 Views Asked by At

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. enter image description here enter image description here

getting this error when building with new Privacy file in main app project: enter image description here

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

0

There are 0 best solutions below