OGeek|极客世界-中国程序员成长平台

标题: ios - iOS系统类中的Xcode 6.2解析问题 [打印本页]

作者: 菜鸟教程小白    时间: 2022-12-13 05:47
标题: ios - iOS系统类中的Xcode 6.2解析问题

我今天早上刚刚升级到 XCode 6.2,在加载我的项目时收到 17 个错误。它们都是相同的:

Parse Issue
Expected '=' after '__NSi_8_2'

它们都在 Apple 自己的类中:

NSProcessInfo.h
NSExtensionContext.h
UIFontDescriptor.h
UIFont.h
UIApplication.h
UILocalNotification.h

有人知道这里发生了什么吗?我显然无法构建我的项目,但如果它是 iOS 8.2 的 XCode 问题,谁知道它何时会被修补。

编辑:添加了一些图片来显示细节

enter image description here

enter image description here

enter image description here

enter image description here

enter image description here



Best Answer-推荐答案


对于可能遇到此问题的其他人,我最终找到了解决方案。 Xcode 项目保留了 iOS 8.1 框架,而不是在 Xcode 6.2 中升级到 iOS 8.2 版本。我所要做的就是删除 Foundation、CoreFoundation 和 UIKit 框架,然后重新添加它们。

关于ios - iOS系统类中的Xcode 6.2解析问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29007633/






欢迎光临 OGeek|极客世界-中国程序员成长平台 (http://sqlite.in/) Powered by Discuz! X3.4