-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Add missing NSPrivacyCollectedDataTypes to PrivacyInfo.xcprivacy #3027
Conversation
@DandyLyons Can the array be empty? |
It's not an array. It's a string. Also the NSPrivacyCollectedDataType is not allowed to be an empty string. And it must be one of the approved strings. |
Co-authored-by: Stephen Celis <[email protected]>
Looks good with the empty array now. It generates an empty Privacy Report again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
…ure to from: "1.10.1" (#1054) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [pointfreeco/swift-composable-architecture](https://github.com/pointfreeco/swift-composable-architecture) | patch | `from: "1.10.0"` -> `from: "1.10.1"` | --- ### Release Notes <details> <summary>pointfreeco/swift-composable-architecture (pointfreeco/swift-composable-architecture)</summary> ### [`v1.10.1`](https://github.com/pointfreeco/swift-composable-architecture/releases/tag/1.10.1) [Compare Source](https://github.com/pointfreeco/swift-composable-architecture/compare/1.10.0...1.10.1) #### What's Changed - Fixed: Support nested enum reducers (thanks [@​sk409](https://github.com/sk409), [https://github.com/pointfreeco/swift-composable-architecture/pull/2814](https://github.com/pointfreeco/swift-composable-architecture/pull/2814)). - Fixed: Add missing `NSPrivacyCollectedDataTypes` to PrivacyInfo.xcprivacy (thanks [@​DandyLyons](https://github.com/DandyLyons), [https://github.com/pointfreeco/swift-composable-architecture/pull/3027](https://github.com/pointfreeco/swift-composable-architecture/pull/3027)). - Fixed: Emit test failure when warning in release ([https://github.com/pointfreeco/swift-composable-architecture/pull/3024](https://github.com/pointfreeco/swift-composable-architecture/pull/3024)). - Fixed: Bump Perception availability to support 1.1.6 ([https://github.com/pointfreeco/swift-composable-architecture/pull/3025](https://github.com/pointfreeco/swift-composable-architecture/pull/3025)). - Infrastructure: Update README for TCA 1.10.0 (thanks [@​kalupas226](https://github.com/kalupas226), [https://github.com/pointfreeco/swift-composable-architecture/pull/3019](https://github.com/pointfreeco/swift-composable-architecture/pull/3019)). - Infrastructure: Fix DocC organization of shared state tools ([https://github.com/pointfreeco/swift-composable-architecture/pull/3022](https://github.com/pointfreeco/swift-composable-architecture/pull/3022)). - Infrastructure: Remove `Reducer._Body` workaround ([https://github.com/pointfreeco/swift-composable-architecture/pull/3023](https://github.com/pointfreeco/swift-composable-architecture/pull/3023)). #### New Contributors - [@​sk409](https://github.com/sk409) made their first contribution in [https://github.com/pointfreeco/swift-composable-architecture/pull/2814](https://github.com/pointfreeco/swift-composable-architecture/pull/2814) **Full Changelog**: pointfreeco/swift-composable-architecture@1.10.0...1.10.1 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMDkuNCIsInVwZGF0ZWRJblZlciI6IjM2LjEwOS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: Self-hosted Renovate Bot <361546+cgrindel-self-hosted-renovate[bot]@users.noreply.github.enterprise.com>
Revision of: #2930
Per: #3021
The Xcode behavior appears to be different from when I submitted PR 2930. I originally created the manifest without NSPrivacyCollectedDataTypes (since TCA is not actually collecting anything) and Xcode generated an empty Privacy Report.
Now it generates the error
Missing an expected key: 'NSPrivacyCollectedDataTypes'
I've now added the key in however, it no longer generates an empty Privacy Report, so I think it needs to be a library decision how we proceed. Here's the new generated report.
According to this we are collecting "other" data even though TCA isn't collecting anything and even though we already have an Apple-approved exemption (C56D.1). I believe that this is misleading to library users, and Apple may force app makers to include this in their final App Store nutrition label declaration, which would be further misleading to customers.