Comments (5)
Looks like issue happens because of an older version of ruby gem used by cocoapods, updating the cocoapods does not update some dependencies. So the steps I performed to resolve this are :
- Uninstall ruby gems
sudo gem uninstall --all
- Remove workspace project, delete
Podfile.lock
- Deleted the pods directory
- Install cocoapods
sudo gem install cocoapods
- Run
pod install
from openssl.
I had also this issue on another project with SPM.
I guess you, @paulosilva8, have a structure like this:
App
---> Embed Custom Framework
--------> Custom Framework embed OpenSSL via SPM
If the assumption is right what I did is:
App
---> Embed Custom Framework **+ OpenSSL via SPM** (*)
--------> Custom Framework embed OpenSSL via SPM (*)
(*)using the same version for the App and the Custom Framework
Why?
- SPM generates a sort of static lib
- OpenSSL is a xcframework
So you need to embed the xcframework in the App level.
Maybe @krzyzanowskim an attempt could be
targets: [
.binaryTarget(
name: "OpenSSL",
url: "<OpenSSL-URL>",
checksum: "<OpenSSL-Checksum>"
)
]
instead of
targets: [
.binaryTarget(
name: "OpenSSL",
path: "Frameworks/OpenSSL.xcframework"
)
]
Have a nice evening!
from openssl.
It must be some other problem as this didn't help to fix the issue. Thanks
Looks like issue happens because of an older version of ruby gem used by cocoapods, updating the cocoapods does not update some dependencies. So the steps I performed to resolve this are :
- Uninstall ruby gems
sudo gem uninstall --all
- Remove workspace project, delete
Podfile.lock
- Deleted the pods directory
- Install cocoapods
sudo gem install cocoapods
- Run
pod install
from openssl.
Problem with this approach is only that the embed framework is managed by another company. I have requested a new binary to point to the correct framework and yes, it should fix the issue
from openssl.
url: "<OpenSSL-URL>", checksum: "<OpenSSL-Checksum>"
Xcode is (was) quite broken when it comes to downloadable SPM artifacts last time I checked
from openssl.
Related Issues (20)
- Version 1.1.200 not visible in cocoapods HOT 1
- Will OpenSSL 3.1.x be the next step to have an xcframework? HOT 9
- Compilation error HOT 1
- OpenSSL version 1.1.1u update HOT 1
- OpenSSL 1.1.1100 not fount HOT 3
- OpenSSL for visionOS HOT 4
- OpenSSL 1.1.1v HOT 2
- I have added this as a package to my project. These Are the errors I see HOT 1
- OpenSSL 3.1.3 HOT 1
- Sign Data Using RSA With PKCS#7 Format
- License issue on OpenSSL HOT 1
- OpenSSL-Universal no library for this platform found ios HOT 2
- Legacy Provider support? HOT 4
- SHA1 crashes when digesting big data HOT 1
- OpenSSL 3.1.4 HOT 1
- Where to get opensslconf-arm64.h? HOT 1
- Cannot find 'BIO_set_conn_hostname' in scope HOT 1
- Privacy Manifest and Signature HOT 11
- Big git .pack file HOT 5
- where X509_get_notAfter HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openssl.