Can't build on Xcode 12.3

You can get the following error when building an app with universal framework from VXG iOS SDK using Xcode 12.3:

Building for iOS, but the linked and embedded framework ‘ffmpeg.framework’ was built for iOS + iOS Simulator.

All you need to do is to go to Build Settings, set Yes to Validate Workplace and build the app.