Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XCode can't find headers in /usr/include for openSSH

Tags:

iphone

I know its Repost but i still dont have proper ans to this question

i am including this

#include <openssl/x509.h>

but it says

"Openssl/x509.h: No such file or directory"

i did my best , added OpenSSl folder ( both way blue color folder and yellow as well)

this is my "HEader Search Path" -> ${SDKROOT}/usr/include/libxml2 and /usr/include

my User Header search path is empty

#####UPDATES

how to fix this issue in library search path

1)"$(SRCROOT)/" -> is fine and takes current project path

2)**$inherited -> this is taking some stupid path which i dont know , how to fix this path

** i want to include my openSSL path here so what should i do

like image 676
prajakta Avatar asked Nov 18 '25 22:11

prajakta


1 Answers

As Jason Coco said, that header file is missing because the iPhone SDK simply does not include openSSL.

You might however, be able to build openSSL as a library and link it with your application; see OpenSSL on iPhone

like image 135
David Gelhar Avatar answered Nov 20 '25 13:11

David Gelhar



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!