Possible to change a class name in framework binary?

My company's app is using the Objective C GVRSDK framework in their app (Google). This framework is no longer supported.


It has a lot of classes, and one of them links to UIWebView, meaning in December we cannot submit new versions of our app. We don't use the UIWebView.


Wondering if we can just "patch" the binary somehow, and change UIWebView to XXWebView, and provide our own class for that (which does nothing) so that the linker is happy.


Is this possible, and if so, any tips on how we might do it?


Thanks!


David

There isn't any good way to do this that won't cause problems when loaded on a system that does provide UIWebView. You could mess around with symbol aliases, but you'd need to provide aliases for both the class and its metaclass, and you'd have to work around the fact that both symbols include a $. It's probably more worth your while to move to the Cardboard SDK, which seems to still be supported.
Possible to change a class name in framework binary?
 
 
Q