Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fxwx23/privacyreportgen
https://github.com/fxwx23/privacyreportgen
Last synced: 26 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/fxwx23/privacyreportgen
- Owner: fxwx23
- License: mit
- Created: 2024-06-14T01:17:16.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-06-28T13:18:34.000Z (4 months ago)
- Last Synced: 2024-06-28T14:41:42.882Z (4 months ago)
- Language: Swift
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PrivacyReportGen
PrivacyReportGen is an open-source tool that generates JSON or plist files from xcarchive files, containing the same data as the [privacy peport](https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_data_use_in_privacy_manifests#4239187) PDF file that can be generated from Xcode. This allows for easy comparison of differences between reports.
## Features
- Extracts privacy report data from xcarchive files
- Generates JSON and plist format files
- Facilitates comparison of privacy report data## Installation
To use PrivacyReportGen, install it via Swift Package Manager. Add PrivacyReportGen as plugin in your `Package.swift`.
```Package.swift
let package = Package(
name: "Tools",
platforms: [.macOS(.v14)],
products: [ ... ],
dependencies: [
...
.package(url: "https://github.com/fxwx23/PrivacyReportGen", exact: "0.0.0"),
],
targets: [ ... ]
)
```## Usage
To generate a privacy report in JSON or plist format, run the following command plugin:
```bash
$ swift package plugin --allow-writing-to-package-directory generate-privacy-report --xcarchive-path '/path/to/your/App.xcarchive'
```### Command Options
- `--xcarchive-path` : Specifies the path to the xcarchive file from which to generate the privacy report data. (Required)
- `--json` : Specifies JSON as the output format for the generated privacy report. (default is plist)
- `--output-directory` : Specifies the directory where the generated privacy report file will be saved. (default is package path)
- If using this option, also include `--allow-writing-to-directory` to allow writing to the specified directory.
- `--report-name` : Specifies the name of the generated privacy report file. (default is `PrivacyReport` )## Contributing
Contributions are welcome! Please fork the repository and submit a pull request with your improvements.
## License
PrivacyReportGen is released under the MIT License. See LICENSE for more information.