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.“.