Does anyone have any idea why KMM generates a bina...
# ios
p
Does anyone have any idea why KMM generates a binary that somehow references UIWebView? I have an existing KMM project, which was integrated with a certain app. It’s funny cause they detect some UIWebView references, but I couldn’t find it in the code and any of the libraries. I decided to create a KMM project from scratch, gradle sync it, and build an iOS framework out if it. And what do I find, I get UIWebView references:
Copy code
000000000007e760 (__DATA,__objc_const) non-external __OBJC_$_PROTOCOL_INSTANCE_METHODS_OPT_UIWebViewDelegate
000000000007e7c8 (__DATA,__objc_const) non-external __OBJC_$_PROTOCOL_METHOD_TYPES_UIWebViewDelegate
000000000007e748 (__DATA,__objc_const) non-external __OBJC_$_PROTOCOL_REFS_UIWebViewDelegate
0000000000071f78 (__DATA,__objc_protolist) non-external (was a private external) __OBJC_LABEL_PROTOCOL_$_UIWebViewDelegate
0000000000084668 (__DATA,__data) non-external (was a private external) __OBJC_PROTOCOL_$_UIWebViewDelegate
000000000007f8e0 (__DATA,__objc_protorefs) non-external (was a private external) __OBJC_PROTOCOL_REFERENCE_$_UIWebViewDelegate
Any idea why this is? Thanks.
a
Are there any cocoapods/dependencies you are using? UIWebView is a deprecated since iOS 13, so it’s strange you have it here. P.S. Please share your gradle file (iOS part)
p
It’s a fresh project. give me a second