Skip to content

Commit bfe5015

Browse files
committedApr 22, 2024··
Add self-signed signing to xcframework(s)
1 parent f06fa46 commit bfe5015

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed
 

‎README.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -161,10 +161,15 @@ Each release starting with RxSwift 6 includes `*.xcframework` framework binaries
161161

162162
Simply drag the needed framework binaries to your **Frameworks, Libraries, and Embedded Content** section under your target's **General** tab.
163163

164-
> **Note**: If you're using `RxCocoa`, be sure to also drag **RxCocoaRuntime.xcframework** before importing `RxCocoa`.
165-
166164
<img src="https://raw.githubusercontent.com/ReactiveX/RxSwift/main/assets/xcframeworks.png" alt="XCFrameworks instructions" width="65%">
167165

166+
> [!TIP]
167+
> You may verify the identity of the binaries by comparing against the following fingerprint in Xcode 15+:
168+
>
169+
> `BD 80 2E 79 4C 8A BD DA 4C 3F 5D 92 B3 E4 C4 FB FA E4 73 44 10 B9 AD 73 44 2E F1 CE B0 27 61 40`
170+
>
171+
> <img src="https://raw.githubusercontent.com/ReactiveX/RxSwift/main/assets/xcframeworks_signing.png" alt="XCFrameworks Signature Fingerprint in Xcode 15+" width="65%">
172+
168173
### [Carthage](https://github.com/Carthage/Carthage)
169174

170175
Add this to `Cartfile`

‎assets/xcframeworks_signing.png

59.4 KB
Loading

‎scripts/make-xcframeworks.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ for product in ${products[@]}; do
7070
-output "./${PROJECT_NAME}.xcframework" | xcbeautify
7171
fi
7272

73-
# Zip it!
73+
# Code sign the binary
74+
codesign -v --sign "RxSwift Distribution" "./${PROJECT_NAME}.xcframework"
7475
done
7576

7677
# Zip all frameworks to a single ZIP

0 commit comments

Comments
 (0)
Please sign in to comment.