Xcode 5 Framework/Library Search Path Absolute Address(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 框架/库搜索路径绝对地址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Xcode 5 框架/库搜索路径绝对地址


- 网上有没有好的 UIScrollView 教程? 2022-01-01
- SetOnItemSelectedListener上的微调程序错误 2022-01-01
- 如何在 iPhone 模拟器中重置 NSUserDefaults 数据? 2022-01-01
- UITextView 内容插图 2022-01-01
- URL编码Swift iOS 2022-01-01
- 类似于 Mail.app 的 iPad 模态视图控制器? 2022-01-01
- GPS状态的广播接收器? 2022-01-01
- 在 Iphone SDK 的导航栏上添加多个按钮 2022-01-01
- 使用自动布局向 UIScrollView 添加动态大小的视图 2022-01-01
- Xcode 7.3 中带有 UILabel 的 UIStackView 2022-01-01