iPhone应用程序存档-没有此类文件或目录 [英] Iphone app archive - No such file or directory

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

问题描述

我几乎准备发布我的iPhone应用程序.我使用restkit来使用我的Web服务.当我存档时,它失败并显示以下错误:

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并使用Delete键将其删除.只需删除引用即可.
  2. 使用Finder,从您第一次获取它的位置进行选择-拖动(复制)框架 (〜/下载,或其他项目或任何地方)到您的项目目录中,如果出现提示,请替换文件.
  3. 返回您的项目,选择项目,然后选择目标,然后构建阶段.
  4. 打开链接二进制部分,单击"+",然后单击对话框底部的添加其他.."按钮
  5. 浏览到您在步骤2中复制的框架.
  1. Navigate to the Frameworks folder in the project nav, select the RestKit and delete it with the delete key. Just delete references.
  2. Using Finder, option-drag (copy) the framework from wherever you first got it (~/Downloads, or another project or wherever) into your project directory, replacing files if prompted.
  3. Back in your project, select the project, then the target, then build phases.
  4. Open the link binary section, hit "+", then the "Add Other.." button on the bottom of the dialog
  5. Browse to the framework you copied in in step 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天全站免登陆