CoderMJLee/MJRefresh

PrivacyInfo.xcprivacy会重复

jiasongs opened this issue · 7 comments

图片

如上图所示,podspec中使用s.resources = MJRefresh/PrivacyInfo.xcprivacy,会与其他这样写法的库或者主工程里的PrivacyInfo.xcprivacy冲突,最好改为s.resource_bundles = { 'MJRefresh_Privacy' => ['MJRefresh/PrivacyInfo.xcprivacy'] }

图片

App解包之后,实际上PrivacyInfo.xcprivacy会暴露在根目录,所以会产生重复的问题。resource_bundles里有key值可以规避,如上面MJRefresh_Privacy,解包后会变成MJRefresh_Privacy.bundle

Acknowledged

Acknowledged

Any release plans? it's already causing duplication with SVProgressHUD, please see: SVProgressHUD/SVProgressHUD#1120 (comment)

It is only influenced in Static Framework. Dynamic Framework is fine

When you're building your app to submit to the App Store, Xcode 15 can aggregate all the privacy manifests in your app's project, and produce a privacy report that summarizes the declared data uses. To view this, go to Xcode Organizer, show the context menu for an archive, and select "Generate Privacy Report." The privacy report is a PDF and easy to use. It is organized in a similar way to Privacy Nutrition Labels. So you can easily reference this report when you provide your app's privacy details in App Store Connect. This helps you review, understand, and describe the privacy practices of your app and its dependencies.

https://developer.apple.com/videos/play/wwdc2023/10060/

我下载并解压了腾讯IM的SDK,发现PrivacyInfo.xcprivacy文件就包含在framework、xcframework的根目录下,并没有用bundle啊
image

腾讯IM隐私策略文档:https://cloud.tencent.com/document/product/269/104138

腾讯IM的SDK下载地址:https://github.com/CocoaPods/Specs/blob/master/Specs/2/2/b/TXIMSDK_Plus_iOS_XCFramework/7.8.5505/TXIMSDK_Plus_iOS_XCFramework.podspec.json

@TheLittleBoy 3.7.7的方式打包出来动态库是没问题的. 这个 Issue 主要针对 CocoaPods 用静态库引入时才会存在这个问题.