xcode-wakatime icon indicating copy to clipboard operation
xcode-wakatime copied to clipboard

xcodebuild error

Open rstims opened this issue 5 years ago • 3 comments

When run a fastlane build I receive this error and it doesn't seem to track the build.

[MT] PluginLoading: Required plug-in compatibility UUID 72F7D751-F810-43B8-A53F-1F1DFD74FC54 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2019-05-02 09:11:03.784 xcodebuild[15087:1773171] WARNING: Failed to load plugin at path: "/Users/ryanstimmler/Library/Application Support/Developer/Shared/Xcode/Plug-ins/WakaTime.xcplugin", skipping. Error: Error Domain=NSCocoaErrorDomain Code=3587 "dlopen_preflight(/Users/ryanstimmler/Library/Application Support/Developer/Shared/Xcode/Plug-ins/WakaTime.xcplugin/Contents/MacOS/WakaTime): no suitable image found.  Did find:
	/Users/ryanstimmler/Library/Application Support/Developer/Shared/Xcode/Plug-ins/WakaTime.xcplugin/Contents/MacOS/WakaTime: code signature in (/Users/ryanstimmler/Library/Application Support/Developer/Shared/Xcode/Plug-ins/WakaTime.xcplugin/Contents/MacOS/WakaTime) not valid for use in process using Library Validation: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.
	/Users/ryanstimmler/Library/Application Support/Developer/Shared/Xcode/Plug-ins/WakaTime.xcplugin/Contents/MacOS/WakaTime: stat() failed with errno=1" UserInfo={NSLocalizedFailureReason=The bundle is damaged or missing necessary resources., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSFilePath=/Users/ryanstimmler/Library/Application Support/Developer/Shared/Xcode/Plug-ins/WakaTime.xcplugin/Contents/MacOS/WakaTime, NSDebugDescription=dlopen_preflight(/Users/ryanstimmler/Library/Application Support/Developer/Shared/Xcode/Plug-ins/WakaTime.xcplugin/Contents/MacOS/WakaTime): no suitable image found.  Did find:
	/Users/ryanstimmler/Library/Application Support/Developer/Shared/Xcode/Plug-ins/WakaTime.xcplugin/Contents/MacOS/WakaTime: code signature in (/Users/ryanstimmler/Library/Application Support/Developer/Shared/Xcode/Plug-ins/WakaTime.xcplugin/Contents/MacOS/WakaTime) not valid for use in process using Library Validation: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.
	/Users/ryanstimmler/Library/Application Support/Developer/Shared/Xcode/Plug-ins/WakaTime.xcplugin/Contents/MacOS/WakaTime: stat() failed with errno=1, NSBundlePath=/Users/ryanstimmler/Library/Application Support/Developer/Shared/Xcode/Plug-ins/WakaTime.xcplugin, NSLocalizedDescription=The bundle “WakaTime” couldn’t be loaded because it is damaged or missing necessary resources.}

Any thoughts?

rstims avatar May 02 '19 13:05 rstims

First thought is try re-installing the plugin with:

curl -fsSL https://raw.githubusercontent.com/wakatime/xcode-wakatime/master/install.sh | sh

alanhamlett avatar May 02 '19 15:05 alanhamlett

The error happens when xcodebuild tries to load the WakaTime plugin bundle:

code signature in (/Users/ryanstimmler/Library/Application Support/Developer/Shared/Xcode/Plug-ins/WakaTime.xcplugin/Contents/MacOS/WakaTime) not valid for use in process using Library Validation: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.

alanhamlett avatar Jul 27 '19 19:07 alanhamlett

Might be related to fastlane/fastlane#13401

alanhamlett avatar Jul 27 '19 19:07 alanhamlett