1.Xcode模拟器后面的版本号变成长串怎么办?
A:先完全退出Xcode和Simulator,然后打开Terminal(小编亲测好用)
sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService
rm -f ~/Library/Developer/CoreSimulator/Devices
2. 修改工程名或者删除模拟器下文件报错 The operation couldn’t be completed. (LaunchServicesError error 0.)
A: 进行clean,修改bundle identifier和版本号等操作只能暂时解决问题,小编进行对模拟器Erase all contents and settings成功解决问题。
3. 导入框架时,程序闪退!!!(Xcode打开旧项目也会产生这个问题,同样设置有效,这样设置的弊端还没有发现...
)
解决方案:将New Build System(Default)设置为Legacy Build System,具体设置方法如下图


网友评论