Cannot build App that uses .framework in the Simulator after upgrading to Xcode 12.3.
What is expected to happen?
The build completes without errors.
What does actually happen?
Got the following error:
"Building for iOS Simulator, but the embedded framework 'xyz.framework' was built for iOS + iOS Simulator."
Information
Build an App that contains a xyz.framework lib results in a build error.
Just add any xyz.framework framework to an App, make sure you have Xcode 12.3 and you will get the error.
Note:
I did this workaround and was able to build:
Workaround: Under Build Settings - Navigate to Validate Workspace - Change it to YES.
Bug Report
Problem
Cannot build App that uses .framework in the Simulator after upgrading to Xcode 12.3.
What is expected to happen?
The build completes without errors.
What does actually happen?
Got the following error: "Building for iOS Simulator, but the embedded framework 'xyz.framework' was built for iOS + iOS Simulator."
Information
Build an App that contains a xyz.framework lib results in a build error. Just add any xyz.framework framework to an App, make sure you have Xcode 12.3 and you will get the error.
Note: I did this workaround and was able to build: Workaround: Under Build Settings - Navigate to Validate Workspace - Change it to YES.
Command or Code
ionic cordova run ios --color=true --address=0.0.0.0 --livereload=true --consolelogs=true --emulator --target=simulator target.
Environment, Platform, Device
iPhone 12 Simulator with iOS 14.3 Installed platforms: ios 6.1.1
Version information
Installed platforms: ios 6.1.1
Checklist