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

Adding PrivacyInfo.xcprivacy required by Apple beginning May 1, 2024. #152

Merged
merged 1 commit into from
Mar 20, 2024
Merged

Adding PrivacyInfo.xcprivacy required by Apple beginning May 1, 2024. #152

merged 1 commit into from
Mar 20, 2024

Conversation

auraxangelic
Copy link

@auraxangelic auraxangelic commented Mar 20, 2024

Adding PrivacyInfo.xcprivacy required by Apple beginning May 1, 2024.

@tommyettinger
Copy link
Member

We discussed this on the Discord's ios topic; for anyone not familiar, there are some significant changes to Apple's App Store policies for new apps (and maybe also updates to existing ones). I believe these privacy-related files should be enough for anything Liftoff can generate, but if someone adds an ad network or multiplayer service, then they would need to modify the files. I'm going to merge this now; it seems rather important for iOS projects, and hard to get right without some kind of structure provided. It also looks like new projects made without this type of privacy declaration are not going to be accepted until they add one, so even if there could be some error or omission in this version, it's much better than not having any declaration.

@tommyettinger tommyettinger merged commit 41f5b99 into libgdx:master Mar 20, 2024
3 checks passed
@auraxangelic
Copy link
Author

auraxangelic commented Mar 20, 2024

Makes sense. I think they're specifically concerned with not leaking data from the device. The 3 iOS API declaration errors that Apple gave are for accessing the device's system time, checking device disk space, and getting file timestamps, which all are used by super koalio (not necessarily used by koalio itself, but by classes bundled with it). If a developer calls any system calls beyond those, they'd have to add more declarations to the file.

@obigu
Copy link

obigu commented May 17, 2024

Why is this necessary? A default project should not need any privacy declaration at all.

EDIT: I see why in my case I have never had to add these. When building, all PrivacyInfo.xcprivacy files from all SDKs as well as the app are merged together. Probably one of the SDKs I use is already adding some declarations required and this may be why @auraxangelic came across this issue for a simple app.

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.

None yet

3 participants