You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
In Xcode 12, if an app is linked against .framework files with multiple
architectures, it will generate and error about embedded framework
mismatches. Declaring this property (even with its default value of NO)
resolves the issue.
In Xcode 12, if an app is linked against .framework files with multiple
architectures, it will generate an error about embedded framework
mismatches. Declaring this property (even with its default value of NO)
resolves the issue.
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
The text was updated successfully, but these errors were encountered: