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

3rd Party PrivacyInfo.xcprivacy #2

Open
angelmic opened this issue Mar 25, 2024 · 3 comments
Open

3rd Party PrivacyInfo.xcprivacy #2

angelmic opened this issue Mar 25, 2024 · 3 comments

Comments

@angelmic
Copy link

Should I manually add the third-party library's PrivacyInfo.xcprivacy? Or should I just upgrade the third-party library to do this? Or is it not necessary to deal with the third-party library at all?

@kimbely0320
Copy link
Owner

It's recommended to upgrade third-party libraries, as they contain their own PrivateInfo files. However, if a specific or older version of a third-party library is required, it will still need to be added manually. To prevent files from being overwritten during pod install, a script can be added using post_install do |installer|. This script ensures the manual additions are preserved. Once the third-party libraries are updated to include the PrivateInfo files, the manually added parts can be removed.This is how I do it myself.

@angelmic
Copy link
Author

Thank you very much. I found the way to insert it in the cocoapods repo. To prevent everyone from having to search for a long time later, here is the link: CocoaPods/CocoaPods#3521. My project uses SwiftyJson, and through your program and post_install, I have successfully placed the file inside Pods. Thanks again.

@angelmic
Copy link
Author

angelmic commented Apr 2, 2024

The related pods for FB SDK seem to be unable to be integrated using the above method, as they are not PBXAggregateTarget. It looks like there's no other option but to wait for an FB update.

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

No branches or pull requests

2 participants