error: Multiple commands produce '.../PrivacyInfo.xcprivacy

After adding PrivacyInfo.xcprivacy following this Steps:

https://vikramios.medium.com/itms-91053-missing-api-declaration-3c2bef935bd3

I am getting this error

❌ error: Multiple commands produce 'app_dir/PrivacyInfo.xcprivacy';

Replies

I also encountered the same problem, how did you solve it?

That is the kind of error I see when I have two files of the same name. Usually images for materials. So I would guess you already had a PrivacyInfo.xcprivacy in the project when you added one for the tutorial.

You need to add PrivacyInfo.xcprivacy in project target.