Categories
SwiftUI

Can’t download GoogleService-Info.plist from Firebase console? How to Slove it?

Today I find I can’t download my new project’s GoogleService-Info.plist from Firebase console. When I click button to download GoogleService-Info.plist, Firebase console keep show error information “There was an error. The config file cannot be downloaded at this time.”, like this:

Categories
SwiftUI

Xcode 12.5 start force Action target must set APPLICATION_EXTENSION_API_ONLY to true

From Xcode 12.5 start Apple force Action target must set APPLICATION_EXTENSION_API_ONLY to true. If you didn’t set it, you will get an error “Application extensions and any libraries they link to must be built with the `APPLICATION_EXTENSION_API_ONLY` build setting set to YES.“.

Categories
SwiftUI SwiftUI List

SwiftUI List.listStyle examples with screenshots

In SwiftUI, there are serval styles with List. They are DefaultListStyle, InsetListStyle, GroupedListStyle, InsetGroupedListStyle, SidebarListStyle and PlainListStyle.