1,Xcode8 duplicate symbols
在Build Setting里面 NO Common Blocks 設置為NO,就解決問題了.
2, Could not find Developer Disk Image
昨晚升級iOS9.2之后。今天一來真機調試就報如上錯誤
解決方法:
下載 DeveloperDiskImage_ios9.2 鏡像
解壓后將其放到下面目錄下就可以了:
/Applications/Xcode7.0.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
3,
xxx的iPhone is busy: Processing symbol files
Xcode will continue when xxx的iPhone is finished
解決方法: 拔掉,重新插.. 或者重啟手機,第一次用真機會有個同步的過程。。。
4,
This application's application-identifier entitlement does not match that of the installed application. These values must match for an upgrade to be allowed.
解決方法:
iPhone上已經裝了包標識符一樣的 App,刪掉再運行。
5,xcode 8 去除無用打印信息
更新Xcode8之后,控制台會默認打印一坨東西,屏蔽的方法如下:
Xcode8里邊 Edit Scheme-> Run -> Arguments, 在Environment Variables里邊添加
OS_ACTIVITY_MODE = Disable
6,Command+/不能注釋
在終端輸入sudo /usr/libexec/xpccachectl 然后重啟電腦