krzyzanowskim / OpenSSL

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

Xcode do not compile (Moscapsule + OpenSSL 1.0.2.18) #71

Closed tgsavs69 closed 5 years ago

tgsavs69 commented 5 years ago

Hello,

I am trying to develop an iOS app using Moscapsule to communicate with a MQTT broker.

I had to reinstall the operating system and after, my code didn't compile. This is the error I get:

ld: warning: directory not found for option '-L/Users/sorinbancila/Desktop/ThirdRoom_SingleView/Pods/OpenSSL-Universal/lib-ios' ld: library not found for -lcrypto clang: error: linker command failed with exit code 1 (use -v to see invocation)

My solution was to use an older version (1.0.2.17) which worked fine.