Skip to content

Exclude PrivacyInfo.xcprivacy from Copy Bundle Resources #1459

@arisupriatna14

Description

@arisupriatna14

How to exclude PrivacyInfo.xcprivacy from Copy Bundle Resource? Cause, when generate the project.yml is automatically the added into Copy Bundle Resource and error occurred when build.

Error Detail

Multiple commands produce '/Users/xxxx/Library/Developer/Xcode/DerivedData/xxx-ajimjnjhhtgfrughlwdbsrgcefjx/Build/Products/Debug-iphonesimulator/MyApp.app/PrivacyInfo.xcprivacy'

I'm trying to exclude the file like this:

sources:
  - path: Application/Supporting Files
     excludes:
       - "**/*.xcprivacy"

but is that exclude from project not for Copy Bundle Resource.

Is there a way to exclude the PrivacyInfo file from the Copy Bundle Resource?

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions