I am try to check if the phone has a configuration profile is installed on an iPhone using this tutorial
I encountered the following issue , when I wrote this line :
err = secTrustEvaluate (trust,&trustResult);
I get the following warning
implicit declaration of function 'secTrustEvaluate' is invalid in C99
and I get the following erros when I try to build
Undefined symbols for architecture i386:
"_secTrustEvaluate", referenced from:
-[<Class name> <function name>] in <class object.o>
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I also included the Security.framework Framework (which removed several issues similar to this one)
any reason why this is not working ?
Thanks!