Skip to content
This repository was archived by the owner on Apr 11, 2024. It is now read-only.

Commit 462fff0

Browse files
committed
Updated README with information on it works with Xcode 12, and bump version
1 parent 2d0ed7b commit 462fff0

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
swift-create-xcframework is a very simple tool designed to wrap `xcodebuild` and the process of creating multiple frameworks for a Swift Package and merging them into a single XCFramework.
44

5+
On the 23rd of June 2020, Apple announced Xcode 12 and Swift 5.3 with support for Binary Targets. Though they provide a simplified way to [include Binary Frameworks in your packages][apple-docs], they did not provide a simple way to create your XCFrameworks, with only some [documentation for the long manual process][manual-docs]. swift-create-xcframework bridges that gap.
6+
7+
**Note:** swift-create-xcframework pre-dates the WWDC20 announcement and is tested with Xcode 11.4 or later, but should work with Xcode 11.2 or later. You can include the generated XCFrameworks in your app manually even without Xcode 12.
8+
59
## Usage
610

711
Inside your Swift Package folder you can just run:
@@ -19,6 +23,8 @@ Then for every target or product specified, swift-create-xcframework will:
1923
3. Merge the SDK-specific framework into an XCFramework using `xcodebuild -create-xcframework`.
2024
4. Optionally package it up into a zip file ready for a GitHub release.
2125

26+
This process mirrors the [official documentation][manual-docs].
27+
2228
## Choosing what to build
2329

2430
Let's use an example `Package.swift`:
@@ -156,4 +162,5 @@ Please read the [Contribution Guide](CONTRIBUTING.md) for details on how to cont
156162

157163
swift-create-xcframework is available under the MIT license. See the [LICENSE](LICENSE) file for more info.
158164

159-
[apple-docs]: https://developer.apple.com/documentation/swift_packages/distributing_binary_frameworks_as_swift_packages
165+
[apple-docs]: https://developer.apple.com/documentation/swift_packages/distributing_binary_frameworks_as_swift_packages
166+
[manual-docs]: https://help.apple.com/xcode/mac/11.4/#/dev544efab96

Sources/CreateXCFramework/Command.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ struct Command: ParsableCommand {
2727
2828
Supported platforms: \(TargetPlatform.allCases.map({ $0.rawValue }).joined(separator: ", "))
2929
""",
30-
version: "1.0.5"
30+
version: "1.1.0"
3131
)
3232

3333

0 commit comments

Comments
 (0)