Post

Replies

Boosts

Views

Activity

How to install iOS 13.7 Simulator from Xcode 12
I'm running Xcode 12 GM (12A7209). When I go to Preferences > Components it doesn't show "iOS 13.7 Simulator" as an option. The newest I see is "iOS 13.5 Simulator". When I run this, it says the runtime is not installed: $ xcrun simctl create "iPhone 11 Pro (13.7)" com.apple.CoreSimulator.SimDeviceType.iPhone-11-Pro com.apple.CoreSimulator.SimRuntime.iOS-13-7 Invalid runtime: com.apple.CoreSimulator.SimRuntime.iOS-13-7 I tried installing Xcode 11.7, and am able to build/run on an iOS 13.7 simulator. However, I can't get it to show up in Xcode 12 which is where I need it. Does anyone know how to manually install the iOS 13.7 Simulator runtime?
1
0
3.3k
Sep ’20
Safari, SFSafariViewController, and WKWebView on iOS 14 b3 takes ~30 seconds to load any web content
Hi there, In Xcode 12 beta 3 (12A8169g), when I load any web page in Safari on the iOS 14 Simulator, or any content in SFSafariViewController, or in the WKWebView in my app it takes about 30 seconds to load any web content. This does not happen in Xcode 12 beta 2 (12A6163b), nor on iOS 13.6. Looking into the details for my WKWebView I set the navigationDelegate. I retrieve my HTML content via a REST API and then try to load it via the loadHTMLString(_:baseURL:) method. The webView(_:didFinish:) on the navigationDelegate doesn't get called for 30+ seconds. It does eventually load properly if I wait long enough. I haven't found any other posts referencing this so I'm curious if I'm doing something wrong. Thanks!
1
0
809
Jul ’20
Clarification on where to put the Source of Truth
At 30:05 in the video, it says "You can put a source of truth on the view inside of a WindowGroup". Can I clarify what this means? Does it mean inside the ContentView() of that WindowGroup, or something else? I ask because it shows WindowGroup > Window > ContentView. If I'm still targeting iOS 13, and not using WindowGroup, where is the most appropriate place to create a source of truth where I own the lifecycle - maybe the SceneDelegate? (I'm speaking specifically of an ObservableObject that I want one of my tabs to have access to.) Thanks!
1
0
1.2k
Jun ’20