我已将另一个程序员的项目导入Xcode,并收到错误“找不到UIKit/UIKit.h文件”。我尝试右键单击Frameworks文件夹,但没有找到添加它的方法。如何将UIKit添加到该项目?
最佳答案
导航到目标并转到Build Phases
,然后将UIKit添加到Link Binary With Libraries
。
从评论到这篇文章:
MonkeyBusiness: Sorry to waste your time. I had set the project up as MacOS rather than iOS. I'm new to Apple and iOS as you can see.
关于xcode - 如何将UIKit添加到Xcode项目?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7055937/