Xcode报错

时间:2023-03-08 21:43:51

1,Xcode8  duplicate symbols

在Build Setting里面 NO Common Blocks 设置为NO,就解决问题了.

2,昨晚升级iOS9.2之后。今天一来真机调试就报错:

Could not find Developer Disk Image

解决方法:

下载   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,

Xcode报错

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