krzyzanowskim / OpenSSL

OpenSSL package for SwiftPM, CocoaPod, and Carthage, multiplatform
https://swift.best
Other
920 stars 340 forks source link

iPhoneSimulator slice is broken #96

Closed matteogobbi closed 3 years ago

matteogobbi commented 3 years ago

4 hours ago you released a new Pod version (1.1.170). However, this breaks my build:

Screen Shot 2020-11-22 at 2 06 15 PM

Using the previous version builds correctly (pod 'OpenSSL-Universal', '1.1.17').

krzyzanowskim commented 3 years ago

hm... hm... try do disintegrate or smth. What changed is that now it comes with xcframework that CocoaPods supports. Can you reproduce it with new project?

buttcmd commented 3 years ago

Same issue here

krzyzanowskim commented 3 years ago

mind attach a sample for me to investigate further?

buttcmd commented 3 years ago

I have prepared an excerpt of one of my projects. It has a simple skeleton with the pod included. I hope it helps

ProblemPodOpenSSL.zip

krzyzanowskim commented 3 years ago

Looks like CocoaPods can't xcframeworks after all. The OpenSSL.xcframeworks is there, but it's not linked properly for some reason.

s.vendored_frameworks = 'Frameworks/OpenSSL.xcframework'
Screen Shot 2020-11-25 at 11 30 06

Looks like x86_64 iPhone simulator only is affected. Device links just fine.

krzyzanowskim commented 3 years ago

I'm looking into this case, something is fishy with iphonesimulator

krzyzanowskim commented 3 years ago

ok, iphonesimulator slice is broken. This is not CocoaPods thing

krzyzanowskim commented 3 years ago

Resolved in 1.1.171 I just pushed. Update everyone!

buttcmd commented 3 years ago

Thank you very much, everything runs perfectly now