Fix symlinks in zipped xcframework
This commit is contained in:
parent
2ed7369283
commit
66b3133930
|
@ -21,6 +21,6 @@ let package = Package(
|
||||||
.binaryTarget(
|
.binaryTarget(
|
||||||
name: "openssl",
|
name: "openssl",
|
||||||
url: "https://github.com/keeshux/openssl-apple/releases/download/openssl-1.1.1l/openssl.xcframework.zip",
|
url: "https://github.com/keeshux/openssl-apple/releases/download/openssl-1.1.1l/openssl.xcframework.zip",
|
||||||
checksum: "18628fddadcac81c96e5824d62991b93172f58c7539cebb4ddba4df52b99aade")
|
checksum: "9980b23b7f84841dd3f3fa8e9b4773b133cccff680d2ce466f2f61ba159ddeee")
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
|
@ -6,7 +6,7 @@ FRAMEWORK_ZIP="openssl.xcframework.zip"
|
||||||
FRAMEWORK_DIR="swiftpm/$VERSION"
|
FRAMEWORK_DIR="swiftpm/$VERSION"
|
||||||
./build-libssl.sh --version="$VERSION" --targets="$TARGETS"
|
./build-libssl.sh --version="$VERSION" --targets="$TARGETS"
|
||||||
./create-openssl-framework.sh dynamic
|
./create-openssl-framework.sh dynamic
|
||||||
( cd frameworks && zip -r $FRAMEWORK_ZIP $FRAMEWORK )
|
( cd frameworks && zip -yr $FRAMEWORK_ZIP $FRAMEWORK )
|
||||||
mkdir -p $FRAMEWORK_DIR
|
mkdir -p $FRAMEWORK_DIR
|
||||||
mv frameworks/$FRAMEWORK_ZIP $FRAMEWORK_DIR
|
mv frameworks/$FRAMEWORK_ZIP $FRAMEWORK_DIR
|
||||||
swift package compute-checksum $FRAMEWORK_DIR/$FRAMEWORK_ZIP
|
swift package compute-checksum $FRAMEWORK_DIR/$FRAMEWORK_ZIP
|
||||||
|
|
Loading…
Reference in New Issue