iOS Question Undefined symbols for architecture arm64


Well-Known Member
Licensed User
Longtime User
Hello everyone :)

We are facing the following error when use inline java objective c :

inline Objective C:
 "_pjsua_acc_add", referenced from:
      -[b4i_main registerPjSipWithServer:user:password:] in b4i_main.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

The above error occurs once we add the following code :
inline Objective C:
 pj_status_t status = pjsua_acc_add(&cfg, PJ_TRUE, &acc_id);

and now we are stuck :( , we have search the forum and not a single result showed so your help is really appreciated :)

Thank you,