Get the error: Application extensions and any libraries they link to must be built with the `APPLICATION_EXTENSION_API_ONLY` build setting set to YES.

I try to build my code with Xcode 13 beta 1. But it shows the following message:

Application extensions and any libraries they link to must be built with the APPLICATION_EXTENSION_API_ONLY build setting set to YES.

I used to set this no NO so that my compiler won't give me the warnings of importing unsafe API for app extension. But I'm wondering is the new Xcode required to have the APPLICATION_EXTENSION_API_ONLY to true now?

Here is the screenshot of the error message:

Get the error: Application extensions and any libraries they link to must be built with the `APPLICATION_EXTENSION_API_ONLY` build setting set to YES.
 
 
Q