Merge pull request #3666 from YoloMao/master

docs: add signature step to manual installation guide
This commit is contained in:
DreamPiggy 2024-01-19 19:47:19 +08:00 committed by GitHub
commit a41be90abd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 1 deletions

View File

@ -313,6 +313,13 @@ export DEVELOPER_DIR=/path/to/Xcode.app/Contents/Developer
./Scripts/create-xcframework.sh
```
+ Use your own certificate to sign XCFramework
```
// https://developer.apple.com/support/third-party-SDK-requirements/
codesign --timestamp -v --sign "your own certificate" SDWebImage.xcframework
```
See more on wiki: [Manual install Guide](https://github.com/SDWebImage/SDWebImage/wiki/Installation-Guide#manual-installation-guide)
### Import headers in your source files
@ -338,7 +345,7 @@ community can help you solve it.
From Xcode 15, we provide the new `PrivacyInfo.xcprivacy` file for privacy details, see [Describing data use in privacy manifests](https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_data_use_in_privacy_manifests?language=objc)
You can exports the privacy report after archive your App by integrate SDWebImage via SwiftPM/XCFramework or CocoaPods (`use_framework` set to true).
You can exports the privacy report after archive your App by integrate SDWebImage via SwiftPM/XCFramework or CocoaPods (`use_frameworks` set to true).
For old version or if you're using static ar archive, as required by the [App privacy details on the App Store](https://developer.apple.com/app-store/app-privacy-details/), here's SDWebImage's list of [Data Collection Practices](https://sdwebimage.github.io/DataCollection/index.html).