Flutter开发中集成了融云rongcloud_im_wrapper_plugin,在iOS模拟器上面编译失败报错:'RongIMWrapper/RongIMWrapper.h' file not found,真机则编译成功,没有报错,如果想要在模拟器上面编译成功,Xcode14.3以上的可以通过以下操作步骤进行设置:部菜单中 Product -> Destination -> Destination Architectures -> 勾选 "Rosetta Destinations" WX20240327-181304.png