-
Notifications
You must be signed in to change notification settings - Fork 809
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exclude PrivacyInfo.xcprivacy from Copy Bundle Resources #1459
Comments
UP! |
It's possible to add this to a preceding path with an options:
fileTypes:
xcprivacy:
buildPhase: none I'll open this issue back up though as a marker for someone to open a one line PR to add this as an XcodeGen default here XcodeGen/Sources/ProjectSpec/FileType.swift Line 122 in 9df3e62
|
I'm confused, because my reading of Apple's privacy manifest docs, specifically the first 'Note', is that they must be a target resource. I get no error with a project with a single xcprivacy file which is in the copy resources build phase using Xcode 15.3 (Build version 15E204a) and Xcodegen 2.39.1:
And I'm concerned that this change is going to start suppressing the privacy manifests which may cause app rejections starting 1 May. |
For those of us who were relying on the previous default behaviour, adding this to
|
Sounds like changing this default was perhaps an error. I will make a hotfix later today. |
We just started seeing warnings from ASC that we're now missing the privacy manifest after upgrading to the latest XcodeGen. If it helps: our setup is separate manifests, one for each bundle which was working perfectly before this change - https://github.com/element-hq/element-x-ios |
This has been reverted and released as 2.40.1 👍 |
@arisupriatna14 back to your original question, do you have multiple targets referencing the same privacy file? |
@arisupriatna14 or a single target referencing multiple privacy manifests? |
Hi, I don't know if can be related, but we're not being able to link the xcprivacy file to the targets. |
Our latest build is failing as well:
We have one xcprivacy for multiple targets. The targets are using the same folders, and they are released on different stores depending on what's on each xcconfig. |
How to exclude
PrivacyInfo.xcprivacy
fromCopy Bundle Resource
? Cause, when generate the project.yml is automatically the added intoCopy Bundle Resource
and error occurred when build.Error Detail
I'm trying to exclude the file like this:
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.
The text was updated successfully, but these errors were encountered: