~Hi guys. Currently Apple is not approving the sub...
# kotlin-native
n
Hi guys. Currently Apple is not approving the submission of an app I’m working on because of the usage of deprecated
UIWebView
and we found that the generated KMP Binary was the cause. We did include third party binaries that was using this inside the KMP Binary. We removed them, but still when using
nm
on the Generated KMP Binary, it still finds references to
UIWebViewDelegate
.
Copy code
000000000065d1d8 s __OBJC_LABEL_PROTOCOL_$_UIWebViewDelegate
00000000006c6010 d __OBJC_PROTOCOL_$_UIWebViewDelegate
Does anyone know why this happens? We are using version Kotlin/Native 1.3.61, and by looking at the Changelog, it doesn’t mention anything about this. But could it be fixed in recent versions? UPDATE: SOLVED
🙏 1
a
Hello, @Nuno Vieira! Can you clarify a bit, what you’ve tried to change here? You cut off the framework written in K/N, or removed the library depending on it?
n
Hi Artyom
We removed the libraries depending on it that were using UIWebView. Still using
nm
to find UIWebView symbols, the K/M framework still has symbols of
UIWebViewDelegate
which is weird.
We don’t use
UIWebViewDelegate
in our K/N framework, and we removed the one binaries that were using it.
Btw these binaries are iOS Obj-c SDK’s
Right now we are doing a test if it will now pass Apple Validation. I’ll update you once that is done
@Artyom Degtyarev [JB] Nvm, it is solved 👍 It looks that the symbol is not an issue. using
otool -tV
to find usages of that, it doesn’t find anything, and it looks that is what is enough. It passed Apple’s validation