which carthage: /usr/local/bin/carthagecarthage version: 0.32.0xcodebuild -version: Xcode 10.1 Build version 10B61--no-build? No--no-use-binaries? No--use-submodules? No--cache-builds? No--new-resolver? NoCartfile
github "CocoaLumberjack/CocoaLumberjack"
I am able to run project via xcode but archive is failing with below error
A shell task (/usr/bin/xcrun codesign --force --sign --preserve-metadata=identifier,entitlements Path/myApp.app/Contents/Frameworks/CocoaLumberjack.framework) failed with exit code 1:
Path/myApp.app/Contents/Frameworks/CocoaLumberjack.framework: bundle format is ambiguous (could be app or framework)
Command PhaseScriptExecution failed with a nonzero exit code

You don't need copy-frameworks for macOS application at all.
https://github.com/Carthage/Carthage/blob/master/README.md#if-youre-building-for-os-x
Its Friday.
Most helpful comment
You don't need copy-frameworks for macOS application at all.
https://github.com/Carthage/Carthage/blob/master/README.md#if-youre-building-for-os-x