1.Xcode更新后,command + / 注釋整行代碼不起作用了,可以終端運行sudo /usr/libexec/xpccachectl,並重啟電腦.重要的事情說三遍,千萬不要忘記重啟電腦哈,千萬不要因為省事懶得重啟電腦哈.
可以參考http://blog.csdn.net/jnbbwyth/article/details/52576169.
2.xcode8,storyboard上對控件做了約束,然后在viewDidLoad方法里面用這個控件的frame,發現是(0,0)(1000,1000).
解決方法是,在重寫的 updateViewConstraints 方法中設置約束.
3.常見 xcode 問題 http://www.cocoachina.com/bbs/read.php?tid=112432
4.xcode8運行 iOS7的設備很簡單,一是添加 iOS7對應的模擬器文件,二是添加對應的配置.參考http://blog.csdn.net/CodingFire/article/details/52638265.
5.xcode8的很多插件無法使用,參考xcode8插件無法使用.
6."iOS “[App] if we're in the real pre-commit handler we can't actually add any new fences due"是編譯器內部的顯示,與 app 正常使用無關.
(PS:參考http://blog.csdn.net/ws1836300/article/details/52957056)
7.XCode8 Could not locate device support files
替換 xcode8包內容中的/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport下的文件夾為 xcode7 的相應鏡像文件.