Page 1 of 1

ios source code instrumentation failure

Posted: Fri Jul 12, 2019 11:54 pm
by Bassem.Ibrahim
Hello fellow Ranorexers,
Our development team is trying to instrument our app with source code. They added the CFNetwork.framework, UIKIT.framework, libRxAutomationUni_303.a, as seen in the attachment. They also added the -framework IOKit, -all_load, and -ObjC linker flags, see attachment.

The following error is shown when they compile:

Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_WKWebView", refrenced from:
objc-class-ref in libRxAutomationUni_303.a(RxHideChildrenProcessor.o)
objc-class-ref in libRxAutomationUni_303.a(UIView+RxAutomation.o)
l_OBJC_$_CATEGORY_WKWebView_$_RxAutomation in libRxAutomationUni_393.a(WKWebView+WKWebView_RxAutomation.o)
objc-class-ref in libRxAutomationUni_303.a(RxAttachDomProcessor.o)
objc-class-ref in libRxAutomationUni_393.a(RxFetchWebViewPropertiesProcessor.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Re: ios source code instrumentation failure

Posted: Mon Jul 15, 2019 9:58 pm
by Support Team
Hi Everyone,

We are troubleshooting this issue directly with the customer via a support ticket. I will post the end solution when one is found. If you are also encountering this issue, please create a support ticket here so we may further investigate this issue.

Cheers,
Ned

Re: ios source code instrumentation failure

Posted: Tue Jul 23, 2019 12:04 am
by Bassem.Ibrahim
Update:
We were able to instrument our application after adding WebKit.framework into the project. Thank you!