I'm trying to import OpenSSL pod header files into my iOS project. However, Xcode cannot find OpenSSL
header. It says
#import <OpenSSL/bio.h>
OpenSSL/bio.h
file not found
But I was able to command + click
to jump to the bio.h
The OpenSSL pod is installed successfully and my PodFile
is like below
platform :ios, '9.0'
use_frameworks!
target 'MyProject' do
pod 'OpenSSL', '~> 1.0'
end
using Xcode 7.2
I have tried clean, build and delete Derived Data
folder but still not working.
1) I have created sample project
2) Added pod 'OpenSSL', '~> 1.0'
3) Closed project and then opened Project_Name.xcworkspace
4) used #import <OpenSSL/bio.h>
5) Command + Shift + K
(for cleaning project)
6) Command + Shift + B
(for building it)
It worked for me on Xcode7.2
. Try this.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With