MakeAWishFoundation/SwiftyMocky

Issue while generating mocks

makwanbarzan opened this issue · 0 comments

I'm encountering ShellOut error 3 while executing swiftymocky generate. Thus, I'm not able to generate mocks anymore.
The issue was starting to appear after updating the Xcode Command Line to 13.3.

Log:

Error: ShellOut encountered an error
Status code: 3
Message: "objc[5962]: Class AppleTypeCRetimerRestoreInfoHelper is implemented in both /usr/lib/libauthinstall.dylib (0x209afdeb0) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1061684f8). One of the two will be used. Which one is undefined.
objc[5962]: Class AppleTypeCRetimerFirmwareAggregateRequestCreator is implemented in both /usr/lib/libauthinstall.dylib (0x209afdf00) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x106168548). One of the two will be used. Which one is undefined.
objc[5962]: Class AppleTypeCRetimerFirmwareRequestCreator is implemented in both /usr/lib/libauthinstall.dylib (0x209afdf50) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x106168598). One of the two will be used. Which one is undefined.
objc[5962]: Class ATCRTRestoreInfoFTABFile is implemented in both /usr/lib/libauthinstall.dylib (0x209afdfa0) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1061685e8). One of the two will be used. Which one is undefined.
objc[5962]: Class AppleTypeCRetimerFirmwareCopier is implemented in both /usr/lib/libauthinstall.dylib (0x209afdff0) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x106168638). One of the two will be used. Which one is undefined.
objc[5962]: Class ATCRTRestoreInfoFTABSubfile is implemented in both /usr/lib/libauthinstall.dylib (0x209afe040) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x106168688). One of the two will be used. Which one is undefined.
2022-04-21 13:25:24.699 xcodebuild[5962:100678] 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-04-21 13:25:24.699 xcodebuild[5962:100678] 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
objc[5964]: Class AppleTypeCRetimerRestoreInfoHelper is implemented in both /usr/lib/libauthinstall.dylib (0x209afdeb0) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x106a944f8). One of the two will be used. Which one is undefined.
objc[5964]: Class AppleTypeCRetimerFirmwareAggregateRequestCreator is implemented in both /usr/lib/libauthinstall.dylib (0x209afdf00) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x106a94548). One of the two will be used. Which one is undefined.
objc[5964]: Class AppleTypeCRetimerFirmwareRequestCreator is implemented in both /usr/lib/libauthinstall.dylib (0x209afdf50) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x106a94598). One of the two will be used. Which one is undefined.
objc[5964]: Class ATCRTRestoreInfoFTABFile is implemented in both /usr/lib/libauthinstall.dylib (0x209afdfa0) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x106a945e8). One of the two will be used. Which one is undefined.
objc[5964]: Class AppleTypeCRetimerFirmwareCopier is implemented in both /usr/lib/libauthinstall.dylib (0x209afdff0) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x106a94638). One of the two will be used. Which one is undefined.
objc[5964]: Class ATCRTRestoreInfoFTABSubfile is implemented in both /usr/lib/libauthinstall.dylib (0x209afe040) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x106a94688). One of the two will be used. Which one is undefined.
2022-04-21 13:25:25.322 xcodebuild[5964:100724] 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-04-21 13:25:25.322 xcodebuild[5964:100724] 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
Building for debugging...
[1/27] Compiling SourceryRuntime Log.swift
[2/27] Compiling SourceryRuntime Method.swift
[3/27] Compiling SourceryRuntime PhantomProtocols.swift
[4/27] Compiling SourceryRuntime TemplateContext.swift
[5/27] Compiling SourceryRuntime Type.swift
[6/27] Compiling SourceryRuntime TypeName.swift
[7/27] Compiling SourceryRuntime Typealias.swift
[8/29] Compiling SourceryRuntime Protocol.swift
[9/29] Compiling SourceryRuntime Struct.swift
[10/29] Compiling SourceryRuntime Subscript.swift
[11/29] Compiling SourceryRuntime BytesRange.swift
[12/29] Compiling SourceryRuntime Class.swift
[13/29] Compiling SourceryRuntime Coding.generated.swift
[14/29] Compiling SourceryRuntime Extensions.swift
[15/29] Compiling SourceryRuntime FileParserResult.swift
[16/29] Compiling SourceryRuntime JSExport.generated.swift
[17/29] Compiling SourceryRuntime AccessLevel.swift
[18/29] Compiling SourceryRuntime Annotations.swift
[19/29] Compiling SourceryRuntime Attribute.swift
[20/29] Compiling SourceryRuntime Definition.swift
[21/29] Compiling SourceryRuntime Description.generated.swift
[22/29] Compiling SourceryRuntime Diffable.generated.swift
[23/29] Compiling SourceryRuntime Diffable.swift
[24/29] Compiling SourceryRuntime Enum.swift
[25/29] Compiling SourceryRuntime Equality.generated.swift
[26/29] Emitting module SourceryRuntime
[27/29] Compiling SourceryRuntime Typed.generated.swift
[28/29] Compiling SourceryRuntime Variable.swift
[29/31] Emitting module SwiftTemplate
[30/31] Compiling SwiftTemplate main.swift
[31/31] Linking SwiftTemplate
Build complete! (10.32s)"
Output: "Using configuration file at '/Users/makwanbarzan/Desktop/--/--/.mocky/.config.yml.tmp'
Scanning sources...
	loadOrParse: 3.0803380012512207
	resolution took 0.228113055229187
	combiningTypes: 0.3796100616455078
	total: 3.593293070793152
Found 3740 types.
Loading templates...
Loaded 1 templates.
	Loading took 0.009894013404846191
Generating code...
error: Building for debugging...
[1/27] Compiling SourceryRuntime Log.swift
[2/27] Compiling SourceryRuntime Method.swift
[3/27] Compiling SourceryRuntime PhantomProtocols.swift
[4/27] Compiling SourceryRuntime TemplateContext.swift
[5/27] Compiling SourceryRuntime Type.swift
[6/27] Compiling SourceryRuntime TypeName.swift
[7/27] Compiling SourceryRuntime Typealias.swift
[8/29] Compiling SourceryRuntime Protocol.swift
[9/29] Compiling SourceryRuntime Struct.swift
[10/29] Compiling SourceryRuntime Subscript.swift
[11/29] Compiling SourceryRuntime BytesRange.swift
[12/29] Compiling SourceryRuntime Class.swift
[13/29] Compiling SourceryRuntime Coding.generated.swift
[14/29] Compiling SourceryRuntime Extensions.swift
[15/29] Compiling SourceryRuntime FileParserResult.swift
[16/29] Compiling SourceryRuntime JSExport.generated.swift
[17/29] Compiling SourceryRuntime AccessLevel.swift
[18/29] Compiling SourceryRuntime Annotations.swift
[19/29] Compiling SourceryRuntime Attribute.swift
[20/29] Compiling SourceryRuntime Definition.swift
[21/29] Compiling SourceryRuntime Description.generated.swift
[22/29] Compiling SourceryRuntime Diffable.generated.swift
[23/29] Compiling SourceryRuntime Diffable.swift
[24/29] Compiling SourceryRuntime Enum.swift
[25/29] Compiling SourceryRuntime Equality.generated.swift
[26/29] Emitting module SourceryRuntime
[27/29] Compiling SourceryRuntime Typed.generated.swift
[28/29] Compiling SourceryRuntime Variable.swift
[29/31] Emitting module SwiftTemplate
[30/31] Compiling SwiftTemplate main.swift
[31/31] Linking SwiftTemplate
Build complete! (10.32s)

C.C: @amichnia