[CP-User] Build XZ fails during build time
Closed this issue · 4 comments
siepra commented
Version: v407.11.1
Severity: High
Xcode version 14
Deployment target 14.1
PhaseScriptExecution [CP-User]\ Build\ XZ /Users/apple/Library/Developer/Xcode/DerivedData/project-gmavdngxnwrpuvhfshksfaxzhjun/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Tor.build/Script-F07DE6704FB4B627E429EF9E9C73C4A4.sh (in target 'Tor' from project 'Pods')
...
./autogen.sh: line 17: aclocal: command not found
../xz.sh: line 78: ./configure: No such file or directory
make: *** No targets specified and no makefile found. Stop.
make: Nothing to be done for `install'.
make: *** No rule to make target `distclean'. Stop.
cp: /Users/apple/Library/Developer/Xcode/DerivedData/project-gmavdngxnwrpuvhfshksfaxzhjun/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/liblzma-x86_64/lib/*.a: No such file or directory
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: /Users/apple/Library/Developer/Xcode/DerivedData/project-gmavdngxnwrpuvhfshksfaxzhjun/Build/Products/Debug-iphonesimulator/Tor/liblzma.*.a (No such file or directory)
rm: /Users/apple/Library/Developer/Xcode/DerivedData/project-gmavdngxnwrpuvhfshksfaxzhjun/Build/Products/Debug-iphonesimulator/Tor/liblzma*.*.a: No such file or directory
Command PhaseScriptExecution failed with a nonzero exit code
tladesignz commented
./autogen.sh: line 17: aclocal: command not found
Did you follow the instructions?
siepra commented
I admit I skipped the step for installing tools
brew install automake autoconf libtool gettext
But now I'm getting another error on [CP-User] Build libevent
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
cp: /Users/apple/Library/Developer/Xcode/DerivedData/project-gmavdngxnwrpuvhfshksfaxzhjun/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/libevent-x86_64/include/event2/event-config.h: No such file or directory
cp: /Users/apple/Library/Developer/Xcode/DerivedData/project-gmavdngxnwrpuvhfshksfaxzhjun/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/libevent-x86_64/lib/*.a: No such file or directory
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: /Users/apple/Library/Developer/Xcode/DerivedData/project-gmavdngxnwrpuvhfshksfaxzhjun/Build/Products/Debug-iphonesimulator/Tor/libevent.*.a (No such file or directory)
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: /Users/apple/Library/Developer/Xcode/DerivedData/project-gmavdngxnwrpuvhfshksfaxzhjun/Build/Products/Debug-iphonesimulator/Tor/libevent_core.*.a (No such file or directory)
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: /Users/apple/Library/Developer/Xcode/DerivedData/project-gmavdngxnwrpuvhfshksfaxzhjun/Build/Products/Debug-iphonesimulator/Tor/libevent_pthreads.*.a (No such file or directory)
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: /Users/apple/Library/Developer/Xcode/DerivedData/project-gmavdngxnwrpuvhfshksfaxzhjun/Build/Products/Debug-iphonesimulator/Tor/libevent_extra.*.a (No such file or directory)
rm: /Users/apple/Library/Developer/Xcode/DerivedData/project-gmavdngxnwrpuvhfshksfaxzhjun/Build/Products/Debug-iphonesimulator/Tor/libevent*.*.a: No such file or directory
tladesignz commented
"Did you try turning it off and on again?" - In other words: delete everything, start fresh, follow instructions?
siepra commented
Complete cleanup of pods fixed the issue
rm -rf ~/Library/Caches/CocoaPods
rm -rf Pods
rm -rf ~/Library/Developer/Xcode/DerivedData/*
pod deintegrate
pod setup
pod install
Thanks, for hints!