我的项目是这样报错:
ITMS-91061: Missing privacy manifest - Your app includes “Frameworks/AFNetworking.framework/AFNetworking”, which includes AFNetworking, an SDK that was identified in the documentation as a commonly used third-party SDK. If a new app includes a commonly used third-party SDK, or an app update adds a new commonly used third-party SDK, the SDK must include a privacy manifest file. Please contact the provider of the SDK that includes this file to get an updated SDK version with a privacy manifest. For more details about this policy, including a list of SDKs that are required to include signatures and manifests, visit: https://developer.apple.com/support/third-party-SDK-requirements.

从邮件内容我们可知AFNetworking库缺少隐私文件PrivacyInfo.xcprivacy,但是这个隐私文件怎么配置呢,网上说的乱七八糟的,特别是有些CSDN的收费博客,也特么说的没有乱用,逼逼赖赖假大空,还特么有脸收费;
问Ai呢,说是让你更新 AFNetworking的版本,更新你妹啊,AFNetworking现在都不维护了;
尝试了几次,最后是从swift的网络库Alamofire里面copy了一份,丢到AFNetworking.framework里面,解决问题;PrivacyInfo.xcprivacy
直接丢到AFNetworking.framework,podspec文件没做任何修改;重新打包,提审TestFlight,过了;
下面是PrivacyInfo.xcprivacy内容
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSPrivacyTracking</key>
<false/>
<key>NSPrivacyTrackingDomains</key>
<array/>
<key>NSPrivacyCollectedDataTypes</key>
<array/>
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategorySystemBootTime</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>35F9.1</string>
</array>
</dict>
</array>
</dict>
</plist>

949

被折叠的 条评论
为什么被折叠?



