报错 Building for iOS, but the embedded framework ‘xxx.framework‘ was built for iOS + iOS Simulator
Posted 卡卡西Sensei
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了报错 Building for iOS, but the embedded framework ‘xxx.framework‘ was built for iOS + iOS Simulator相关的知识,希望对你有一定的参考价值。
1.问题描述
我在Xcode13.4上面运行一个集成了.a文件的工程之后报错,上一周还是好好的,突然就不行了,不知道咋回事
报错信息如下:
Building for ios, but the embedded framework ‘xxx.framework’ was built for iOS + iOS Simulator.
2.解决办法:
在Build Settings
下面的 Validate Built Product
把NO
改成YES
,重新运行工程即可
以上是关于报错 Building for iOS, but the embedded framework ‘xxx.framework‘ was built for iOS + iOS Simulator的主要内容,如果未能解决你的问题,请参考以下文章
升级XCode12.3报错 Building for , but the linked and embedded framework was built for iOS + iOS Simulator
编译报错Building for iOS, but the linked and embedded framework ‘xxx.framework’ was buil......
编译报错Building for iOS, but the linked and embedded framework ‘xxx.framework’ was buil......
编译报错Building for iOS, but the linked and embedded framework ‘xxx.framework’ was buil......
编译报错Building for iOS, but the linked and embedded framework ‘xxx.framework’ was buil......
iOS-Building for iOS Simulator, but the linked and embedded framework ‘XX.framework‘ was built for(代