woshiccm / Pecker

CodePecker is a tool to detect unused Swift code.
MIT License
1.46k stars 63 forks source link

Xcode 14.3 :- phase script execution failed xcode #72

Open LoydAntony opened 1 year ago

LoydAntony commented 1 year ago

While moving from xcode 14.2 to 14.3 the build script for packer is failing giving the error as phase script execution failed xcode I have the latest cocoapod of 1.12.1 It looks like Pecker is not compatible with Xcode 14.3

LoydAntony commented 1 year ago
Showing Recent Messages
dyld[19531]: Library not loaded: @rpath/lib_InternalSwiftSyntaxParser.dylib

  Referenced from: <361667FD-0BAD-3873-B6D4-E50E1EFA812D> /Users/loydrebeiro/Documents/workspace/reel-screenkit-ios/Pods/Pecker/bin/pecker

  Reason: tried: '/usr/lib/swift/lib_InternalSwiftSyntaxParser.dylib' (no such file, not in dyld cache), '/System/Volumes/Preboot/Cryptexes/OS/usr/lib/swift/lib_InternalSwiftSyntaxParser.dylib' (no such file), '/Users/loydrebeiro/Documents/workspace/reel-screenkit-ios/Pods/Pecker/bin/lib_InternalSwiftSyntaxParser.dylib' (no such file), '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/lib_InternalSwiftSyntaxParser.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/lib_InternalSwiftSyntaxParser.dylib' (no such file), '/usr/lib/swift/lib_InternalSwiftSyntaxParser.dylib' (no such file, not in dyld cache), '/System/Volumes/Preboot/Cryptexes/OS/usr/lib/swift/lib_InternalSwiftSyntaxParser.dylib' (no such file), '/Users/loydrebeiro/Documents/workspace/reel-screenkit-ios/Pods/Pecker/bin/lib_InternalSwiftSyntaxParser.dylib' (no such file), '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/lib_InternalSwiftSyntaxParser.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/lib_InternalSwiftSyntaxParser.dylib' (no such file), '/usr/local/lib/lib_InternalSwiftSyntaxParser.dylib' (no such file), '/usr/lib/lib_InternalSwiftSyntaxParser.dylib' (no such file, not in dyld cache)

/Users/loydrebeiro/Library/Developer/Xcode/DerivedData/ScreenKit-abprfwzmmnkcnlbstpfqaznlanup/Build/Intermediates.noindex/ArchiveIntermediates/ScreenKitExample/IntermediateBuildFilesPath/ScreenKitExample.build/Release-iphoneos/ScreenKitExample.build/Script-7E7F26D469B40719723FAE92.sh: line 2: 19531 Abort trap: 6           "${PODS_ROOT}/Pecker/bin/pecker"

Command PhaseScriptExecution failed with a nonzero exit code

@woshiccm