Xcode报错

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  然后重启电脑

原文地址:https://www.cnblogs.com/developer-qin/p/5044146.html