xcode 设置框架搜索路径?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/3417713/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Setting Framework Search Paths?
提问by James Testa
I have an XCode project where when I click on Project->Edit Project Settings I have things set to iOS 3.2, but when I build, XCode sets the Framework Search Paths to iPhoneOS3.0.sdk. I've set the following using Project->Edit Project Settings:
我有一个 XCode 项目,当我单击“项目”->“编辑项目设置”时,我将内容设置为 iOS 3.2,但是当我构建时,XCode 将框架搜索路径设置为 iPhoneOS3.0.sdk。我已经使用 Project->Edit Project Settings 设置了以下内容:
Base SDK = iPhone Device 3.2
iPhone OS Deployment Target = iPhone Device 3.2
Targeted Device Family = iPad
基础 SDK = iPhone 设备 3.2
iPhone OS 部署目标 = iPhone 设备 3.2
目标设备系列 = iPad
Does anyone know what setting XCode is using to set the Framework Search Paths to iPhoneOS3.0.sdk?
有谁知道 XCode 使用什么设置将框架搜索路径设置为 iPhoneOS3.0.sdk?
回答by James Testa
The solution I found was to go to the Target Info and delete the Framework search path that XCode created. Then everything compiled correctly.
我找到的解决方案是转到目标信息并删除 XCode 创建的框架搜索路径。然后一切都正确编译。