Skip to content
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

Merged
merged 2 commits into from
Apr 29, 2024

Conversation

DandyLyons
Copy link
Contributor

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.

Screenshot 2024-04-29 at 1 10 41 PM

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.

@stephencelis
Copy link
Member

@DandyLyons Can the array be empty?

@DandyLyons
Copy link
Contributor Author

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.
TransformFeature-PrivacyReport 2024-04-29 12-06-51.pdf

@DandyLyons
Copy link
Contributor Author

Looks good with the empty array now. It generates an empty Privacy Report again.

Copy link
Member

@stephencelis stephencelis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@stephencelis stephencelis merged commit 7e22846 into pointfreeco:main Apr 29, 2024
cgrindel-self-hosted-renovate bot referenced this pull request in cgrindel/rules_swift_package_manager Apr 30, 2024
…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
[@&#8203;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
[@&#8203;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
[@&#8203;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

- [@&#8203;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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants