xcode中缺少框架 [英] frameworks missing in xcode

查看:117
本文介绍了xcode中缺少框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是iphone开发的新手,并下载了大量示例代码供参考,但这些示例代码中始终缺少框架。我尝试通过单击框架添加它们并选择添加现有Framworks,但我也找不到基本框架(CoreGraphics,UIKit和Foundation)框架。

m new to iphone development and download a number of sample codes for reference, but frameworks are always missing in those sample codes. I tried to add them by clicking on frameworks and choose "add Existing Framworks" but there also I cant found the basic frameworks(CoreGraphics, UIKit and Foundation) Frameworks.

如何我可以添加这些框架来运行我下载的示例代码???

How can I add those Frameworks to run my downloaded sample code???

推荐答案

点击侧边栏中的项目 - >选择你的target - > Build Phases - >将binary与库链接 - >单击加号。它们是否出现在iOS 4.x下?

Click on the project in your sidebar -> select your target -> Build Phases -> Link binary with libraries -> click the plus sign. Do they show up there under iOS 4.x?

这篇关于xcode中缺少框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆