Building for iOS Simulator, but the linked framework ‘****.framework’ was built for iOS

Xcode 12.3

In my case I solved this problem by simply setting Validate Workspace to Yes in the Build Settings tab

enter image description here

Leave a Comment