facebookarchive / xcbuild

Xcode-compatible build tool.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Bundle Target Faild!

yishuiliunian opened this issue · comments

I use cocoapods in my project. it have a bundle target:

6fda4a87-2af8-4065-8f26-62f3279784ad

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)

I encountered the same problem, seeking solution