[英]Iphone app archive - No such file or directory
I am almost ready to release my iphone app. 我几乎准备发布我的iPhone应用程序。 I use restkit for consuming my webservice.
我使用restkit来使用我的Web服务。 When I archive, it fails with this error:
当我存档时,它失败并显示以下错误:
cp: /Users/myusername/Library/Developer/Xcode/DerivedData/project-name-/ArchiveIntermediates/project-name/IntermediateBuildFilesPath/UninstalledProducts/include/RestKit: No such file or directory cp:/ Users / myusername / Library / Developer / Xcode / DerivedData / project-name- / ArchiveIntermediates / project-name / IntermediateBuildFilesPath / UninstalledProducts / include / RestKit:没有此类文件或目录
I dragged & dropped restkit into the project. 我将restkit拖放到该项目中。 It builds and works fine in debug mode.
它可以在调试模式下构建并正常运行。 I am guessing it is unable to locate restkit dir while archiving.
我猜它在归档时无法找到restkit目录。 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): 这是我在您的项目上尝试过的内容(再次,这里有些是巫毒教):
See if you can clean, build, archive. 看看是否可以清理,构建和存档。 Easy enough to try, and no livestock are harmed.
易于尝试,不会伤害牲畜。 Hope it works for you.
希望对你有效。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.