krzyzanowskim / OpenSSL

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

'openssl/ssl.h' file not found #53

Closed sultan2Dilawar closed 5 years ago

sultan2Dilawar commented 5 years ago

I am trying to import the library but can not in my Xcode project I am using it like below

#ifdef WITH_TLS # include <openssl/ssl.h> #else

krzyzanowskim commented 5 years ago

did u install it with CocoaPods? what version of cocoapods? can you attach minimal project here to reproduce?

sultan-arshi commented 5 years ago

yes installed it with CocoPods like below, pod 'OpenSSL-Universal', :git => 'https://github.com/krzyzanowskim/OpenSSL.git', :tag => '1.0.1.20' also tried like below pod 'OpenSSL-Universal' but facing same error I am using MosCapsule

seinan commented 5 years ago

I face the same issue. Did you solve this issue?

sultan-arshi commented 5 years ago

yes I solved it by changing cocopod version from 1.5 to 1.4.0 I don't know but it worked for me