Xcode项目找不到真机和模拟器,只显示My Mac。如下图所示 解决方法一: 点击工程打开targets-》Build Settings -》Architectures-》Base SDK 选中ios即可