Xcode referencing old framework(Xcode 引用旧框架)
问题描述
我正在尝试将最新版本的框架添加到我的 Xcode 项目中,但似乎无法让 Xcode 忽略旧版本.
I'm trying to add the newest version of a framework to my Xcode project but can't seem to get Xcode to ignore the old one.
我已从项目中删除了框架,并在Link Binary With Libraries"部分中删除了它的列表.然后我从我的 Mac 中删除旧框架的每个实例,并在模拟器中重置内容和设置.我清理我的项目并删除派生数据.然后我下载新版本的框架并像往常一样拖放它.一切似乎都正常连接,并且项目再次构建而没有错误.我转到使用新框架中的组件的视图,并且上面仍然有一个大的试用版"水印,查询框架自己的 [getInfo] 函数返回旧框架版本.
I have deleted the framework from the project and removed its listing in "Link Binary With Libraries" section. I then delete every instance of the old framework from my Mac and reset content and settings within the simulator. I clean my project and delete derived data. I then download the new version of the framework and drag and drop it in as usual. Everything appears to link up normally and the project builds without errors again. I go to the view that uses components from the new framework and a big "Trial Version" watermark is still on it and querying the frameworks own [getInfo] function returns the old framework version.
如何彻底删除对这个框架的所有引用?当它不再存在于我的硬盘驱动器上并且我已经擦除了以前构建的所有缓存数据并从不同位置链接了一个全新的框架时,它如何仍被构建到项目中?
How do I go about completely deleting all reference to this framework? How is it still being built into the project when it no longer exists on my hard drive and I have wiped all the cached data from previous builds and linked a completely new framework from a different location?
推荐答案
原来是自动框架搜索,Xcode确实在其他目录中找到了项目其他版本中的旧框架.好头疼啊.
It turned out to be the automatic framework searching that Xcode does locating the old framework in other versions of the project in other directories. What a headache.
这篇关于Xcode 引用旧框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Xcode 引用旧框架
基础教程推荐
- 更改 UITableView 部分标题的颜色 2022-01-01
- 在视图控制器的宽度上水平均匀分布 UIButton 的最简单方法? 2022-01-01
- iOS4 创建后台定时器 2022-01-01
- Firebase 云消息传递令牌未生成 2022-01-01
- UINavigationBar 隐藏按钮文本 2022-01-01
- Android - 如何在runOnUiThread 中将数据传递给Runnable? 2022-01-01
- 从 UIWebView 访问元数据 2022-01-01
- 在 iOS 7 下 CCMenu 错位 2022-01-01
- EditText 中的 setHintTextColor() 2022-01-01
- UINavigationItem 的持久 rightBarButtonItem 属性 2022-01-01