flightonary / Moscapsule

MQTT Client for iOS written in Swift
MIT License
273 stars 69 forks source link

'openssl/ssl.h' file not found in mosquitto_internal.h file #81

Open sultan-arshi opened 5 years ago

sultan-arshi commented 5 years ago

I am using this pod in my project but whenever I try to build the project I am facing error below

'openssl/ssl.h' file not found

in the file mosquitto_internal.h line number 27 and I am installing pod by this url pod 'OpenSSL-Universal', :git => 'https://github.com/krzyzanowskim/OpenSSL.git', :tag => '1.0.1.20' I also tried pod 'OpenSSL-Universal' but faced same error

seinan commented 5 years ago

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

emil-malmgaard-rasmussen commented 5 years ago

Have some issue!

Tried adding pods.debug and pods.release to info, as instructed in the guide, nothing worked...

Can someone help?

shashidj commented 5 years ago

pod 'OpenSSL-Universal', '~> 1.0.1.20'

sultan-arshi commented 5 years ago

Basically, in my case. I did not start the project on which I was working. I cloned it from the git and after pod install I was getting this error, what I did to resolved it is I just removed the pod folder and .xcworkspace file and install the same version of the cocoa pod which was mentioned in the pod.lock file previously some like explain here means the version of the cocoa pod which

khenissimehdi commented 2 years ago

pod 'OpenSSL-Universal', '~> 1.0.1.20'

Thanks this helped

JGVB commented 2 years ago

Does pod 'OpenSSL-Universal', '~> 1.0.2.19' work? Or should we be using 1.0.1.20?

gautamsamyak commented 1 year ago

I tried the above solution but it didn't work in my case... Is there anyone who can help me with this error? pod 'OpenSSL-Universal', '~> 1.1.1700' I'm using Xcode 14.1, Swift 5.7.1, and macOS 13.0.1.