0

我可以很好地运行我的 iOS 应用程序,但是当我存档它时,我收到了这个错误消息


   Libtool "/Users/segiddins/Library/Developer/Xcode/DerivedData/Random_Rainbow-czqebqncxgyefwepjkdltmqvzrhx/Build/Intermediates/ArchiveIntermediates/Sometimes Red, Sometimes Blue/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/Pods.build/Objects-normal/armv7/libPods.a" normal armv7
    cd "/Users/segiddins/Dropbox/Dev/Random Rainbow/Pods"
    setenv IPHONEOS_DEPLOYMENT_TARGET 6.0
    setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/heroku/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/Library/Frameworks/Python.framework/Versions/3.3/bin:/opt/local/bin:/Users/segiddins/bin:/Users/segiddins/.npm:/usr/local/go/bin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static -arch_only armv7 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk "-L/Users/segiddins/Library/Developer/Xcode/DerivedData/Random_Rainbow-czqebqncxgyefwepjkdltmqvzrhx/Build/Intermediates/ArchiveIntermediates/Sometimes Red, Sometimes Blue/BuildProductsPath/Release-iphoneos" -filelist "/Users/segiddins/Library/Developer/Xcode/DerivedData/Random_Rainbow-czqebqncxgyefwepjkdltmqvzrhx/Build/Intermediates/ArchiveIntermediates/Sometimes Red, Sometimes Blue/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/Pods.build/Objects-normal/armv7/Pods.LinkFileList" -framework Foundation -o "/Users/segiddins/Library/Developer/Xcode/DerivedData/Random_Rainbow-czqebqncxgyefwepjkdltmqvzrhx/Build/Intermediates/ArchiveIntermediates/Sometimes Red, Sometimes Blue/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/Pods.build/Objects-normal/armv7/libPods.a"

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file list file: /Users/segiddins/Library/Developer/Xcode/DerivedData/Random_Rainbow-czqebqncxgyefwepjkdltmqvzrhx/Build/Intermediates/ArchiveIntermediates/Sometimes Red (No such file or directory)
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool failed with exit code 1
4

1 回答 1

1

“有时是红色,有时是蓝色”对于开发环境中的文件来说是一个非常糟糕的名称。注意错误:
“有时红色(没有这样的文件或目录)”
并注意它是部分文件名,可能名称中的“,”会导致问题。

最佳实践:不要在文件名中使用空格 - 或其他“有趣”符号,使名称可发音。

一个相当激进的解决方案:
创建一个新项目,将文件拖到上面(使用好名称)并进行任何必要的设置。可能有更简单的方法,但鉴于 SO 的性质,这是最容易描述的。

于 2013-02-24T16:57:44.723 回答