ITMS-90809: Deprecated API Usage - for UIWebView not going away

Hi,

I have replaced all uses of UIWebView with WKWebView in my project so there is no reference of UIWebView in the code anymore but I still keep getting ITMS-90809 every time I upload my App to the App store.

I also used grep to identify any usage of UIWebView in the project but only getting a single reference in UserInterfaceState.xcuserstate. Can anyone help me getting rid of this please? I already tried to delete the workspace and taken fresh clone from remote repository but this keeps coming:
$ grep -r UIWebView .
Binary file ./project.xcworkspace/xcuserdata/manishrathore.xcuserdatad/UserInterfaceState.xcuserstate matches

Can you please help me sort out the issue? Appreciate your help.

Thanks & regards,
Manish
Are you linking to any third-party frameworks or libraries (maybe for crash analytics or utility classes) that use UIWebView?
Hi,

No I am not using any Pod or external library in my App. When I do a grep it points to a file that is unreachable UserInterfaceState.xcuserstate. Referring to another forum I deleted the workspace and took a fresh clone from Git but the file appeared again and the issue continued. Is there a way that we can reach out to the file and delete it’s contents?

Thanks
Hey Manish,

Xcode workspace file with extention .xcworkspace is a bundle - it's a directory with some predefined structure, but Finder knows it but shows it as a "file". To get to that file UserInterfaceState.xcuserstate , just control-click on .xcworkspace "file" and choose Show Contents then Finder will show you that directory - easy! Then once there, you can edit UserInterfaceState.xcuserstate to remove references its. I would suggest to close Xcode while you are doing that and then launch it again.

Cheers!
ITMS-90809: Deprecated API Usage - for UIWebView not going away
 
 
Q