Build Bundle Target Faild!
yishuiliunian opened this issue · comments
yishuiliunian commented
I use cocoapods in my project. it have a bundle target:
when i use xcbuild to build the project , it faild!
Create product structure
CreateUniversalBinary /Users/dongzhao/Library/Developer/Xcode/DerivedData/QCLOUDCIClientUIDemo-heafgcewqxfhzxcrqncuvtelprqt/Build/Products/Debug-iphoneos/QCloudFaceInUI/QCloudBundle.bundle/QCloudBundle normal 'armv7 arm64'
cd /Users/dongzhao/Works/QCloud/Src/iOS/Git/QCLOUDCIClientUIProject/Demos/QCLOUDCIClientUIDemo/Pods
export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
export PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/libexec:/Applications/Xcode.app/Contents/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Tools:/Users/dongzhao/.rvm/gems/ruby-2.4.0/bin:/Users/dongzhao/.rvm/gems/ruby-2.4.0@global/bin:/Users/dongzhao/.rvm/rubies/ruby-2.4.0/bin:/Users/dongzhao/.rvm/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Wireshark.app/Contents/MacOS:/opt/local/bin:/Users/dongzhao/bin
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo -create /Users/dongzhao/Library/Developer/Xcode/DerivedData/QCLOUDCIClientUIDemo-heafgcewqxfhzxcrqncuvtelprqt/Build/Intermediates/Pods.build/Debug-iphoneos/QCloudFaceInUI-QCloudBundle.build/Objects-normal/arm64/QCloudBundle /Users/dongzhao/Library/Developer/Xcode/DerivedData/QCLOUDCIClientUIDemo-heafgcewqxfhzxcrqncuvtelprqt/Build/Intermediates/Pods.build/Debug-iphoneos/QCloudFaceInUI-QCloudBundle.build/Objects-normal/armv7/QCloudBundle -output /Users/dongzhao/Library/Developer/Xcode/DerivedData/QCLOUDCIClientUIDemo-heafgcewqxfhzxcrqncuvtelprqt/Build/Products/Debug-iphoneos/QCloudFaceInUI/QCloudBundle.bundle/QCloudBundle
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: /Users/dongzhao/Library/Developer/Xcode/DerivedData/QCLOUDCIClientUIDemo-heafgcewqxfhzxcrqncuvtelprqt/Build/Intermediates/Pods.build/Debug-iphoneos/QCloudFaceInUI-QCloudBundle.build/Objects-normal/arm64/QCloudBundle (No such file or directory)
** BUILD FAILED **
The following build commands failed:
CreateUniversalBinary /Users/dongzhao/Library/Developer/Xcode/DerivedData/QCLOUDCIClientUIDemo-heafgcewqxfhzxcrqncuvtelprqt/Build/Products/Debug-iphoneos/QCloudFaceInUI/QCloudBundle.bundle/QCloudBundle normal 'armv7 arm64'
(1 failure)
赵瑜瑜 commented
I encountered the same problem, seeking solution