Unable to install on macOS 12.4 - Did not find extension point with identifier
Schokobecher opened this issue · comments
python3 patch.py /usr/lib/pam/pam_tid.so.2 pam_wtid.so
Opening /usr/lib/pam/pam_tid.so.2
Error dissasembling binary:
2022-06-20 22:47:13.012 xcodebuild[77066:19841223] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
2022-06-20 22:47:13.012 xcodebuild[77066:19841223] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: error: unknown argument '-cho'
make: *** [pam_wtid.so] Error 1
XCode is Version 13.4.1 (13F100) (in case that matters)
Interesting, thanks for reporting! Sorry I didn't see this notification until now.
The key is objdump: error: unknown argument '-cho
. Looks like Xcode 13.2.1 works fine, but I was able to reproduce the same error on 13.4.1. I'll see if I can find a different set of options for objdump
to get what I need and push a fix up when I get a chance (hopefully tomorrow)!
If you trust me, here is the patched version, pam_wtid.so.zip. 😄 Obviously one of the appeals for this tool was it patches an official Apple binary in an easy (enough) way to understand.
@Schokobecher this should be fixed now! Turns out the -macho
flag I passed to objdump
wasn't needed