Error deploying IPA to TestFlight ('dns-proxy' key is not supported)

Generate build with exp build:ios (tried with -c).
Try to deploy it to the testflight and get an error in Application Loader:

ERROR ITMS-90046: "Invalid Code Signing Entitlements. Your application bundle's signature contains code signing entitlements that are not supported on iOS. Specifically, value 'dns-proxy' for key '' in 'Payload/' is not supported."

Had tried using new certificates, not helped.

Does your Apple App ID have “Network Extensions” enabled? That could be causing the issue. (In the Apple Developer Center under "Certificates, Identifiers & Profiles, click on “Identifiers” and expand the App ID for your app to check.)

Yeap, enabled.