Yeah this is a huge issue, the Xcode template is completely broken now since UIWebView
API is not allowed at all anymore: https://forum.omz-software.com/topic/6474/python3-xcode-template-broken-because-of-deprecated-uiwebview. @cvp Can't really circumvent that with the WKWebView
, since the usage happens in the Py3Kit
binary file of the template.
Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Posts made by ruohola
-
RE: Deprecated UI functionnality
-
RE: Xcode Template for Pythonista
Any update on the template? As of April 2020 the template is completely broken since it uses the deprecated
UIWebView
API which is not allowed anymore: https://forum.omz-software.com/topic/6474/python3-xcode-template-broken-because-of-deprecated-uiwebview -
Python3 Xcode template broken because of deprecated UIWebView
I'm using the experimental Python3 Xcode template found from this thread and trying to publish my game to the AppStore. I've succesfully tackled all code signing issues by replacing all of the
#import 'pythonista'
comments in thePy3Kit.framework
with#LyX
as was instructed at the bottom of that thread.But now I am getting these issues:
ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability. Learn more (https://developer.apple.com/documentation/uikit/uiwebview).
Though you are not required to fix the following issues, we wanted to make you aware of them:
ITMS-90683: Missing Purpose String in Info.plist - Your app's code references one or more APIs that access sensitive user data. The app's Info.plist file should contain a NSBluetoothAlwaysUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. Starting Spring 2019, all apps submitted to the App Store that access user data are required to include a purpose string. If you're using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required. You can contact the developer of the library or SDK and request they release a version of their code that doesn't contain the APIs. Learn more (https://developer.apple.com/documentation/uikit/core_app/protecting_the_user_s_privacy).The first one is totally uncircumventable because the call to
UIWebView
happens in thePy3Kit
binary file. Is there any plans update it to not use a deprecated API or to possibly release the source of it to the community so that someone else can fix it?