报错 Building for iOS, but the embedded framework ‘xxx.framework‘ was built for iOS + iOS Simulator

1. Problem description

I ran a project integrated with the .a file on Xcode13.4 and reported an error. It was fine last week, but suddenly it failed. I don’t know what’s going on. The error
message is as follows:

Building for iOS, but the embedded framework ‘xxx.framework’ was built for iOS + iOS Simulator.

2. Solution:

In Build Settingsthe following Validate Built Productchange NO, YESre-run the project

insert image description here

Guess you like

Origin blog.csdn.net/zjpjay/article/details/127615823