我最近遇到了在iPhone应用程序中安装捆绑包的需要。为了使我的问题尽可能清楚,我决定只是为了解释而创建一个小的空应用程序。
这是一个逐步重现我的问题的方法。我正在使用Xcode 5.0(5A1413)。
我们在调试器中得到以下内容:
CpResource /Users/neptune/Library/Developer/Xcode/DerivedData/InBundleTestApp-arelnznnammspkgauywlbunqsaot/Build/Intermediates/ArchiveIntermediates/InBundleTestApp/BuildProductsPath/Release-iphoneos/InnerBundle.bundle /Users/neptune/Library/Developer/Xcode/DerivedData/InBundleTestApp-arelnznnammspkgauywlbunqsaot/Build/Intermediates/ArchiveIntermediates/InBundleTestApp/InstallationBuildProductsLocation/Applications/InBundleTestApp.app/InnerBundle.bundle
cd / Users / neptune / Documents / InBundleTestApp
setenv PATH “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/ sbin目录:/ sbin目录“
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -strip-debug-symbols -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip -resolve-src-symlinks /Users/neptune/Library/Developer/Xcode/DerivedData/InBundleTestApp-arelnznnammspkgauywlbunqsaot/Build/Intermediates/ArchiveIntermediates/InBundleTestApp/BuildProductsPath/Release-iphoneos/InnerBundle.bundle /Users/neptune/Library/Developer/Xcode/DerivedData/InBundleTestApp-arelnznnammspkgauywlbunqsaot/Build/Intermediates/ArchiveIntermediates/InBundleTestApp/InstallationBuildProductsLocation/Applications/InBundleTestApp.app
错误: /Users/neptune/Library/Developer/Xcode/DerivedData/InBundleTestApp-arelnznnammspkgauywlbunqsaot/Build/Intermediates/ArchiveIntermediates/InBundleTestApp/BuildProductsPath/Release-iphoneos/InnerBundle.bundle: 没有这样的文件或目录
现在我的问题是:为什么我们会收到此错误? 我在上面的13个步骤中做错了什么?