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)
- Big git .pack file HOT 5
- where X509_get_notAfter HOT 1
- Getting ITMS-90482: Invalid Executable from Apple HOT 4
- Add support for apple watch / watchos HOT 8
- Require Apple Release - Privacy Manifest and Signature for third-party frameworks HOT 1
- Apple Silicon (arm64) and iphone-simulator builds HOT 2
- Missing type definitions when building for simulator HOT 1
- ERROR ITMS-90711: "Invalid executable permissions" HOT 5
- 3.1.5 Signing error HOT 1
- 3.1.5 s.ios.deployment_target = '14.0' is too heigh HOT 2
- OpenSSL 3.2.1 is available HOT 4
- 1.1.0e support privacy agreement and sign HOT 6
- 3.1.5 Needs to incorporate Privacy Manifest in Podspec HOT 3
- Privacy Manifest in 3.1.5000 is invalid HOT 5
- Error when importing 3.1.5002 with SPM HOT 3
- Unexpected behaviour with pbxproj when import library with cocoapods HOT 1
- [Carthage] Not building in xcode 15.3 to platform iOS HOT 2
- Can not archive application due to signature HOT 4
- Build failed when using xcode 16 HOT 7
- Problem with build with SPM and interoperabilityMode HOT 3
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.