holzschu / holzschu/Carnets

Trying to build : bad checksum for openssl-dynamic.xcframework.zip

Open
#358 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
634
Forks
44
PR merge metrics
No merged PRs in 30d

Description

## Issue description

./get_frameworks.sh
...
Fetching binary artifact https://github.com/holzschu/openssl-apple/releases/download/v1.1.1w/openssl-dynamic.xcframework.zip from cache
error: checksum of downloaded artifact of binary target 'openssl' (329e8317cf9bee8e138da5d032330a7a1bd2473cf44c9c083cb2f0636abb8b80) does not match checksum specified by the manifest (8a8de08e6ac9d1f6cb28e0c7e0c988ca2bb3a4de161a53b252a93d09d2af697a)

## Fix I made :
```
diff --git a/xcfs/Package.swift b/xcfs/Package.swift
index 86f9b3c..788ad53 100644
--- a/xcfs/Package.swift
+++ b/xcfs/Package.swift
@@ -18,7 +18,7 @@ _ = Package(
.binaryTarget(
name: "openssl",
url: "https://github.com/holzschu/openssl-apple/releases/download/v1.1.1w/openssl-dynamic.xcframework.zip",
- checksum: "421712e7150240d57294897bf3e2b0782246d7c687a4a82c3cd053d70a5f08b9"
+ checksum:"329e8317cf9bee8e138da5d032330a7a1bd2473cf44c9c083cb2f0636abb8b80"
```
Hope this is safe

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with ./get_frameworks.sh and inspect xcfs/Package.swift, especially the openssl binary target and its checksum. Verify the checksum against the downloaded openssl-dynamic.xcframework.zip, then rerun the framework fetch or build; done means the artifact passes Swift Package Manager's checksum validation.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
build-system
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.