为iOS Simulator构建,但为iOS构建链接框架"****.framework" [英] Building for iOS Simulator, but the linked framework '****.framework' was built for iOS
问题描述
我无法再在模拟器上运行我的应用程序.在线建议我编辑我的project.pbxproj,但这似乎不起作用.如何获得在模拟器上运行项目的能力(并保持在设备上的运行能力)?我正在使用另一个使用许多相同框架的项目,但是它在模拟器上运行.是什么会导致类似的框架在一个项目中起作用而在另一个项目中不起作用?
I cannot run my app on simulators anymore. Online suggested that I edit my project.pbxproj, but that does not appear to work. How do I reclaim the ability to run my project on my simulator (and remain able to do so on a device)? I am working on another project that uses many of the same frameworks, but it runs on a simulator. What would cause a similar framework to work in one project but not in another?
推荐答案
Xcode 12.3
就我而言,我只需在构建设置"标签中将验证工作区设置为是"即可解决此问题
In my case I solved this problem by simply setting Validate Workspace to Yes in the Build Settings tab
这篇关于为iOS Simulator构建,但为iOS构建链接框架"****.framework"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!