问题描述
我将 Xcode 更新到 5.0.我添加了一些库/框架搜索路径,它显示的路径是绝对路径.例如,如果我的文件夹在我的桌面上,它将显示/Users/username/Desktop/"foldername"/"subfolder"/"subfolder"/"framework".因此,每当我在另一台 Mac 中签出工作副本时,我都必须删除对某些库/框架的引用并将它们重新添加.有没有办法在我不必删除添加的地方修复它再参考一下?
I updated my Xcode to 5.0. I added some library/framework search paths and the path it's displaying is the absolute path. For example, if my folder is in my desktop it would display /Users/username/Desktop/"foldername"/"subfolder"/"subfolder"/"framework". Because of this, whenever I check out a working copy in another mac, I have to remove references to certain libraries/frameworks and add them back in. Isn't there a way to fix it where I don't have to remove-add reference again?
推荐答案
这是我所做的:
$(SRCROOT)/子文件夹"/子文件夹"/框架"
这是我们之前在以前的 Xcode 版本中使用的.它不能与 Xcode5 一起使用的原因是:出于某种原因,每当您向项目添加另一个框架时,它会自动添加一个",因此您需要删除它们才能使其正常工作.我不知道为什么会这样.
Here's what i did:
$(SRCROOT)/"subfolder"/"subfolder"/"framework"
This is what we're using before in previous Xcode versions. The reason why it wasn't working with Xcode5 is because; for some reason, whenever you add another framework to your project, it automatically adds a "" so you need to remove those to make it work. I don't know why it does that.
这篇关于Xcode 5 框架/库搜索路径绝对地址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!


大气响应式网络建站服务公司织梦模板
高端大气html5设计公司网站源码
织梦dede网页模板下载素材销售下载站平台(带会员中心带筛选)
财税代理公司注册代理记账网站织梦模板(带手机端)
成人高考自考在职研究生教育机构网站源码(带手机端)
高端HTML5响应式企业集团通用类网站织梦模板(自适应手机端)