Skip to content

Commit

Permalink
Add self-signed signing to xcframework(s)
Browse files Browse the repository at this point in the history
  • Loading branch information
freak4pc committed Apr 22, 2024
1 parent f06fa46 commit a21209e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,9 @@ Each release starting with RxSwift 6 includes `*.xcframework` framework binaries

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

> **Note**: If you're using `RxCocoa`, be sure to also drag **RxCocoaRuntime.xcframework** before importing `RxCocoa`.
> [!TIP]
> You may verify the identity of the binaries by comparing against the following fingerprint:
> `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`
<img src="https://raw.githubusercontent.com/ReactiveX/RxSwift/main/assets/xcframeworks.png" alt="XCFrameworks instructions" width="65%">

Expand Down
3 changes: 2 additions & 1 deletion scripts/make-xcframeworks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ for product in ${products[@]}; do
-output "./${PROJECT_NAME}.xcframework" | xcbeautify
fi

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

# Zip all frameworks to a single ZIP
Expand Down

0 comments on commit a21209e

Please sign in to comment.