Firstly - I am developing a jailbreak tweak, hence the use private APIs.
I am following the code here however, I'm getting the following compiler error:
Undefined symbols for architecture armv7:
"CTCallCopyAddress(void*, CTCall*)", referenced from:
telephonyEventCallback(__CFNotificationCenter*, void*, __CFString const*, void const*, __CFDictionary const*) in MyCode.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
When I have encountered similar warnings/errors before it was due to missing out libraries in the build phases. Yet, I have checked that CoreTelephony.framework is added. Does anyone have any pointers as to where I am going wrong?
Thanks!