ios source code instrumentation failure

Mobile Testing, Android App Testing.
User avatar
Bassem.Ibrahim
Posts: 4
Joined: Tue Nov 06, 2018 9:14 pm

ios source code instrumentation failure

Post by Bassem.Ibrahim » Fri Jul 12, 2019 11:54 pm

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)
Attachments
linker_flags.png
linker_flags.png (211.84 KiB) Viewed 183 times
error.jpg
error.jpg (1.85 MiB) Viewed 183 times

User avatar
Support Team
Site Admin
Site Admin
Posts: 11978
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: ios source code instrumentation failure

Post by Support Team » Mon Jul 15, 2019 9:58 pm

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
.
Image

User avatar
Bassem.Ibrahim
Posts: 4
Joined: Tue Nov 06, 2018 9:14 pm

Re: ios source code instrumentation failure

Post by Bassem.Ibrahim » Tue Jul 23, 2019 12:04 am

Update:
We were able to instrument our application after adding WebKit.framework into the project. Thank you!