我有一个Xcode项目,可以在所有设备上运行(在iOS 8.0 +上)。
但是,当我尝试存档Build Xcode的项目时,我告诉我以下错误:
Libtool /Users/Matteo/Library/Developer/Xcode/DerivedData/nanopress-figspgsknggpljajziptkxtunnnw/ArchiveIntermediates/NanoPress/IntermediateBuildFilesPath/DTFoundation.build/Release-iphoneos/DTHTMLParser\ (iOS).build/Objects-normal/armv7/libDTHTMLParser_iOS.a normal armv7
cd /Users/Matteo/Downloads/nanopress_updated-3/External/DTCoreText/Core/Externals/DTFoundation
export IPHONEOS_DEPLOYMENT_TARGET=6.0
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/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/iPhoneOS9.0.sdk -L/Users/Matteo/Library/Developer/Xcode/DerivedData/nanopress-figspgsknggpljajziptkxtunnnw/ArchiveIntermediates/NanoPress/BuildProductsPath/Release-iphoneos -filelist /Users/Matteo/Library/Developer/Xcode/DerivedData/nanopress-figspgsknggpljajziptkxtunnnw/ArchiveIntermediates/NanoPress/IntermediateBuildFilesPath/DTFoundation.build/Release-iphoneos/DTHTMLParser\ (iOS).build/Objects-normal/armv7/DTHTMLParser_iOS.LinkFileList /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/usr/lib/libxml2.dylib -framework Foundation -o /Users/Matteo/Library/Developer/Xcode/DerivedData/nanopress-figspgsknggpljajziptkxtunnnw/ArchiveIntermediates/NanoPress/IntermediateBuildFilesPath/DTFoundation.build/Release-iphoneos/DTHTMLParser\ (iOS).build/Objects-normal/armv7/libDTHTMLParser_iOS.a
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/usr/lib/libxml2.dylib (No such file or directory)
我尝试清理项目并删除派生数据,但它不起作用。
主项目包括一个子项目:DTCoreText
谢谢