
这种编译报错点击Xcode左侧的小红叉这两行点击没反应,不知道具体报错原因怎么弄?
解决办法:
第一步:点周Xcode左侧工具栏的编译log日志按钮

第二步:第一步点击完Xcode左侧出现了编译历史列表,可以看到有报错的小红叉,还有编译的时间,可以点击小红叉这一行

第三步:第二步点击之后,Xcode内容栏就出现了整个编译的过程记录,哪些文件编译成功了,哪些文件编译失败了,还有编译所耗的时间等,这个时间我们可以滚动一个这个列表到出现红叉的地方:

第四步:在第三步的基础上,找到出现红叉的位置的右侧有一个"红叉2"的地方,右侧有一个小按钮:,点击这个小按钮就能展开具体的报错原因了


第五步:在第四步的基础上,根据错误提示找到对应的.m文件,并在Xcode右侧的Target Membership里将当前所编译的Target打勾
