I did tried the declaring the api type and reason, and ‘Target Membership’ to my App. Then, ensure the file under either /iOS or /runner (both tried). BUT what I’m facing is, when I’m running ‘pod install’ in vscode, and view the pod generated in Xcode, the PrivacyInfo.xcprivacy file cant be visible. (Maybe this is the reason why I tried 2 attempt still facing api declare issue.)
Is it any step I’m doing wrong? Please point it out, Thx.
declare file as below:
<?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>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>CA92.1</string>
</array>
</dict>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryDiskSpace</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>E174.1</string>
</array>
</dict>
</array>
</dict>
</plist>
I’ve been searching for this solution everywhere and tried, but the thing I facing is ‘pod install’ didnt see the PrivacyInfo.xcprivacy file.