You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 11, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,11 +87,13 @@ If the target you are creating an XCFramework happens to be a dependency, swift-
87
87
88
88
If the target you are creating is a product from the root package, unfortunately there is no standard way to identify the version number. For those cases you can specify one with `--zip-version`.
89
89
90
+
Because you're probably wanting to [distribute your binary frameworks as Swift Packages][apple-docs]`swift create-xcframework --zip` will also calculate the necessary SHA256 checksum and place it alongside the zip. eg: `ArgumentParser-0.0.6.sha256`.
91
+
90
92
## GitHub Action
91
93
92
94
swift-create-xcframework includes a GitHub Action that can kick off and automatically create an XCFramework when you tag a release in your project.
93
95
94
-
The action produces one XCFramework artifact for every target specified.
96
+
The action produces one zipped XCFramework and checksum artifact for every target specified.
95
97
96
98
**Note:** You MUST use a macOS-based runner (such as `macos-latest`) as xcodebuild doesn't run on Linux.
97
99
@@ -152,4 +154,6 @@ Please read the [Contribution Guide](CONTRIBUTING.md) for details on how to cont
152
154
153
155
## License
154
156
155
-
swift-create-xcframework is available under the MIT license. See the [LICENSE](LICENSE) file for more info.
157
+
swift-create-xcframework is available under the MIT license. See the [LICENSE](LICENSE) file for more info.
0 commit comments