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