Open benMohamed opened 8 months ago
What keychain-swift version are you using? The privacy manifest has been included in version 21.
Yes, I use version 21.0.0, I think your privacy should contain that key "NSPrivacyAccessedAPICategoryUserDefaults"
This library does not use any of the API that are required for declaration, including UserDefaults.
See https://github.com/evgenyneu/keychain-swift/blob/master/Sources/PrivacyInfo.xcprivacy
The NSPrivacyAccessedAPICategoryUserDefaults
is the value of NSPrivacyAccessedAPIType
key in the dictionary inside NSPrivacyAccessedAPITypes
array, which is empty for this library, since we are not using any APIs required for declaration
in my app, the only library I use is KeychainSwift. Therefore, I believe you need to verify this key. You can create an empty project with only your library, then try to publish it. You will receive the same email automatically.
Just FYI. Here's how I express this in my project. Apple hasn't nagged me about it (yet). Their documentation leaves a bit to be desired, but I think I got it right.
please, @ChrisMarshallNY What does <string>CA92.1</string>
mean ?
That's the value that says basically that you are using it the way it says on the tin. It's like the "NO" thing in the uses encryption.
It might very well apply, here. Like I said, their documentation is ... sparse.
thank you @ChrisMarshallNY
@evgenyneu Here is PR that adds manifest to the pod spec, without it manifest file is missing in the framework we build via cocoapods https://github.com/evgenyneu/keychain-swift/pull/188
@evgenyneu I created this PR to fix the privacy file issue
@benMohamed
At present, the privacy file of version 22.0 is imported directly instead of bundle, causing a conflict with the privacy name of the project itself.
"resources": "Sources/PrivacyInfo.xcprivacy" should be modified to
"resource_bundles": { "KeychainSiwft": [ "Source/PrivacyInfo.xcprivacy" ] }
@benMohamed
At present, the privacy file of version 22.0 is imported directly instead of bundle, causing a conflict with the privacy name of the project itself.
"resources": "Sources/PrivacyInfo.xcprivacy" should be modified to
"resource_bundles": { "KeychainSiwft": [ "Source/PrivacyInfo.xcprivacy" ] }
Multiple commands produce '/Users/me/Library/Developer/Xcode/DerivedData/sharetec-aytxuukqkljfgpgqfcpiagtdqwwo/Build/Products/Debug-iphonesimulator/MyApp.app/PrivacyInfo.xcprivacy'
@DeanCarter thanks, I updated podspec to use the resource_bundles as you suggested. Available in version 24.
I'm getting emails back from Apple about this because your library is not compliant.