Iphone 应用存档 - 没有这样的文件或目录 [英] Iphone app archive - No such file or directory

查看:28
本文介绍了Iphone 应用存档 - 没有这样的文件或目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我快要发布我的 iPhone 应用了.我使用 restkit 来使用我的网络服务.当我存档时,它失败并显示以下错误:

I am almost ready to release my iphone app. I use restkit for consuming my webservice. When I archive, it fails with this error:

cp:/Users/myusername/Library/Developer/Xcode/DerivedData/project-name-/ArchiveIntermediates/project-name/IntermediateBuildFilesPath/UninstalledProducts/include/RestKit:没有那个文件或目录

我拖着 &将 restkit 放入项目中.它在调试模式下构建和运行良好.我猜它在归档时无法找到 restkit 目录.但我不确定为什么.有什么想法吗?

I dragged & dropped restkit into the project. It builds and works fine in debug mode. I am guessing it is unable to locate restkit dir while archiving. But I am not sure why. Any thoughts?

推荐答案

过去我在与我自己的框架链接时遇到问题,但我有一个有效的程序.尽管我不明白它,但它确实有效,所以我像巫毒教一样遵循它,而且我不会因为问太多问题而冒着激怒众神的风险.

I've had trouble linking with my own framework in the past, but I have a procedure that works. Even though I don't understand it, it works so I follow it like voodoo, and I don't risk angering the gods by asking too many questions.

这是我要在您的项目中尝试的内容(同样,这里部分是巫术):

Here's what I'd try on your project (again, partly voodoo here):

  1. 导航到项目导航中的 Frameworks 文件夹,选择 RestKit 并使用删除键将其删除.只需删除引用即可.
  2. 使用 Finder,从最初获得框架的位置选择拖动(复制)框架(~/Downloads,或其他项目或任何地方)到您的项目目录中,如果出现提示,请替换文件.
  3. 返回您的项目,选择项目,然后是目标,然后是构建阶段.
  4. 打开链接二进制部分,点击+",然后点击对话框底部的添加其他.."按钮
  5. 浏览到您在第 2 步中复制的框架.

看看您是否可以清理、构建、存档.很容易尝试,并且没有牲畜受到伤害.希望它对你有用.

See if you can clean, build, archive. Easy enough to try, and no livestock are harmed. Hope it works for you.

这篇关于Iphone 应用存档 - 没有这样的文件或目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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