Post

Replies

Boosts

Views

Activity

SwiftUI Preview: Updating took more than 5 seconds for non-main target (framework target)
While selecting a framework rather than the executable as the active scheme, SwiftUI preview cannot use: Updating took more than 5 seconds. However, while selecting the main app target, it can work perfectly. Repro steps: git clone https://github.com/imWildCat/NonExecutableTargetCannotUseSwiftUIPreviewDemo cd NonExecutableTargetCannotUseSwiftUIPreviewDemo xed NonExecutableTargetCannotUseSwiftUIPreviewDemo.xcworkspace Select the “SharedUI” target as the active scheme Open the WebImage.swift source file Run the SwiftUI preview Please note that, if you use the main app target (executable rather than the frame), it can be previewed.
3
0
1.4k
Oct ’21
SwiftUI Preview: Updating took more than 5 seconds for non-main target (framework target)
While selecting a framework rather than the executable as the active scheme, SwiftUI preview cannot use: Updating took more than 5 seconds. However, while selecting the main app target, it can work perfectly. Repro steps: git clone https://github.com/imWildCat/NonExecutableTargetCannotUseSwiftUIPreviewDemo cd NonExecutableTargetCannotUseSwiftUIPreviewDemo xed NonExecutableTargetCannotUseSwiftUIPreviewDemo.xcworkspace Select the “SharedUI” target as the active scheme Open the WebImage.swift source file Run the SwiftUI preview Please note that, if you use the main app target (executable rather than the frame), it can be previewed.
Replies
3
Boosts
0
Views
1.4k
Activity
Oct ’21
How to use Swift Playgrounds on iPad to build SwiftUI apps? Where to find the beta version of this app?
In WWDC21, we saw the possibility to build and distribute SwiftUI apps on iPad. I wonder how to find it?
Replies
1
Boosts
0
Views
923
Activity
Aug ’21
Apple ID MFA/2FA: Can we support security keys like YubiKey?
Hello, since WebKit has fully supported security keys for MFA, could we add the capability for 2FA to Apple ID? It would make it easier for us to log into our accounts. And of course, it can save a lot for Apple because less SMS messages need to be sent.
Replies
1
Boosts
0
Views
797
Activity
Jun ’21