-
-
Notifications
You must be signed in to change notification settings - Fork 762
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updates for Xcode 12 #3646
Updates for Xcode 12 #3646
Conversation
…os into xcode-12-beta
Just an FYI, I'm rebasing my WidgetKit work off this branch. It's not a big deal though if this branch get mutated wildly or even deleted – for the most part that work is fairly portable. |
Wikipedia/Wikipedia-Info.plist
Outdated
@@ -65,6 +67,7 @@ | |||
<key>UIBackgroundModes</key> | |||
<array> | |||
<string>fetch</string> | |||
<string>processing</string> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@joewalsh Just curious as to your reasons for adding this - I see an error on the build server log with ""Missing Info.plist value. The Info.plist key 'BGTaskSchedulerPermittedIdentifiers' must contain a list of identifiers used to submit and handle tasks when 'UIBackgroundModes' has a value of 'processing'. For more information, refer to the Information Property List Key Reference at https://developer.apple.com/library/ios/documentation/General/Reference/InfoPlistKeyReference/Introduction/Introduction.html.""
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was an issue with WKWebView
without it but that was a few betas ago. I'll remove it and see if the error persists. If it does, there's a BackgroundTasks
branch that converts our background fetch to a background task and adds the appropriate identifier that we could incorporate.
…ArticleRightAlignedImageCollectionViewCells
Any subviews need to be added to the contentView and not the cell itself
Any subviews need to be added to the contentView and not the cell itself
Fixes
https://phabricator.wikimedia.org/T259649
Notes
As of Xcode 12 beta 4, there's a blocking iOS 14 simulator-only bug where articles take an excessively long time to load. The app gives theThis is fixed in Xcode 12 beta 5webView
aURLRequest
and there's a long pause (10+ seconds) before thewebView
makes the request. The issue persists if the custom scheme handler is removed and the request is made withhttps
as the scheme. iOS < 14 simulators and devices work.Test Steps