Xcode 5框架/库搜索路径绝对地址 [英] Xcode 5 Framework/Library Search Path Absolute Address

查看:123
本文介绍了Xcode 5框架/库搜索路径绝对地址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将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框架/库搜索路径绝对地址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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