简体   繁体   中英

Xcode 6: Adding Existing Classes Produce Compilation Error

I've just installed Xcode 6 and I've found that .. whenever I try to add an existing file to the project it produce a compilation error in the basic UIKit classes such as UITableView and NSObject ..

在此处输入图片说明

I have no idea why this is happening!

根据Shai和iDev的回答,我发现在xcode 6中没有默认的PCH文件..因此,uikit和Foundation没有默认的导入..应该手动添加。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM