启动终端 Macos 时出现错误 ATCRTRestoreInfoFTABSubfile 类在两者中均已实现

Vic*_*lyk 55 macos xcode iterm apple-m1

首次启动终端时总是出现此错误。

objc[9318]: Class AppleTypeCRetimerRestoreInfoHelper is implemented in both /usr/lib/libauthinstall.dylib (0x207c11eb0) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x103d984f8). One of the two will be used. Which one is undefined.
objc[9318]: Class AppleTypeCRetimerFirmwareAggregateRequestCreator is implemented in both /usr/lib/libauthinstall.dylib (0x207c11f00) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x103d98548). One of the two will be used. Which one is undefined.
objc[9318]: Class AppleTypeCRetimerFirmwareRequestCreator is implemented in both /usr/lib/libauthinstall.dylib (0x207c11f50) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x103d98598). One of the two will be used. Which one is undefined.
objc[9318]: Class ATCRTRestoreInfoFTABFile is implemented in both /usr/lib/libauthinstall.dylib (0x207c11fa0) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x103d985e8). One of the two will be used. Which one is undefined.
objc[9318]: Class AppleTypeCRetimerFirmwareCopier is implemented in both /usr/lib/libauthinstall.dylib (0x207c11ff0) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x103d98638). One of the two will be used. Which one is undefined.
objc[9318]: Class ATCRTRestoreInfoFTABSubfile is implemented in both /usr/lib/libauthinstall.dylib (0x207c12040) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x103d98688). One of the two will be used. Which one is undefined.
2022-03-15 19:51:39.868 xcodebuild[9318:34818] 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-03-15 19:51:39.869 xcodebuild[9318:34818] 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
Run Code Online (Sandbox Code Playgroud)

小智 32

显然它可以使用修复sudo xcode-select -r

我看了两次,但我不知道如何手动重现,或者也许我修复了它,我不知道。

来源

  • 它不起作用( (13认同)
  • 这本身不起作用,但安装 xcode 12.3 然后运行它对我有用。我认为这对我来说是在我更新操作系统和 xcode 命令行工具但没有获取匹配版本的 xcode 时开始的。但不是 100% (2认同)

Sag*_*gar 26

通过 Xcode“安装组件”和使用重置开发人员目录都不适合sudo xcode-select -r我。然而,

sudo xcode-select -s /Library/Developer/CommandLineTools
Run Code Online (Sandbox Code Playgroud)

工作了。感谢Apple 开发者论坛上的 Royite提供的此解决方案。


don*_*kup 6

打开XCode,它会提示你安装一些缺少的组件。


小智 5

在我的 12.2.1 上,从 Xcode 中“安装组件”后错误消失。


bya*_*haf 5

这对我有用:

删除命令行工具

sudo rm -rf /Library/Developer/CommandLineTools
Run Code Online (Sandbox Code Playgroud)

重新安装命令行工具

xcode-select --install
Run Code Online (Sandbox Code Playgroud)

选择命令行工具

sudo xcode-select -s /Library/Developer/CommandLineTools
Run Code Online (Sandbox Code Playgroud)

  • 你应该知道,我亲吻了投票按钮,而不是点击!:D谢谢你:D (3认同)