我可以正常运行我的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
答案 0 :(得分:1)
“有时红,有时是蓝”
对于开发环境中的文件来说,这是一个非常糟糕的名称。请注意错误:
“有时红色(没有这样的文件或目录)”
并注意它是一个部分文件名,名称中的“,”可能会导致问题。
最佳实践:不要在文件名中使用空格 - 或其他“有趣”符号,使名称可以发音。
一个相当激烈的解决方案:
创建一个新项目,拖动文件(具有良好的名称)并进行必要的设置。可能有更简单的方法,但鉴于SO的性质,这是最容易描述的。