CocoaPods / cocoapods-packager

CocoaPods plugin which allows you to generate a static library from a podspec.
Other
1.14k stars 219 forks source link

can't open input file: Pods/build-sim/package.a (No such file or directory) #270

Open lichanghong opened 3 years ago

lichanghong commented 3 years ago

help

pod package ZRImageManager.podspec.json --spec-sources=https://gitlab.ziroom.com/wireless-architect/architect-ios/ZRModuleSpec.git --library --no-mangle --force --exclude-deps

error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: no files specified Usage: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-sacLT] [-no_warning_for_no_symbols] Usage: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -dynamic [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-o output] [-install_name name] [-compatibility_version #] [-current_version #] [-seg1addr 0x#] [-segs_read_only_addr 0x#] [-segs_read_write_addr 0x#] [-seg_addr_table ] [-seg_addr_table_filename ] [-all_load] [-noall_load] fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: Pods/build-sim/package.a (No such file or directory)

songxing10000 commented 2 years ago

same

wangleihi commented 2 years ago

Have you solved the same problem?

lichanghong commented 2 years ago

yes, I use xcodebuild to build binary, not cocoapods-packager