Carthage: copy-frameworks script phase fails with 0.36.0

Created on 21 Sep 2020  路  6Comments  路  Source: Carthage/Carthage

  • carthage install method: [x] homebrew
  • which carthage: /usr/local/bin/carthage
  • carthage version: 0.36.0
  • xcodebuild -version: 11.2.1
  • Are you using --no-build? No
  • Are you using --no-use-binaries? No
  • Are you using --use-submodules? No
  • Are you using --cache-builds? Yes
  • Are you using --new-resolver? Yes

Builds are failing consistently... did not see any issues with prior version (0.34, 0.35, etc)

    /bin/sh -c ../Script-DCB3DAAC238BE6EA0088E6B0.sh

The file couldn鈥檛 be saved.
Command PhaseScriptExecution failed with a nonzero exit code

Most helpful comment

I have the same problem. So I reinstalled the previous version.

$ brew uninstall carthage
$ brew tap-new company/team; brew extract --version 0.35.1 carthage company/team; brew install company/team/[email protected]

Then I ran the build again.
Xcode 12 should be built by referring to: https://github.com/Carthage/Carthage/issues/3019#issuecomment-665136323

All 6 comments

I met the same problem

I have the same problem. So I reinstalled the previous version.

$ brew uninstall carthage
$ brew tap-new company/team; brew extract --version 0.35.1 carthage company/team; brew install company/team/[email protected]

Then I ran the build again.
Xcode 12 should be built by referring to: https://github.com/Carthage/Carthage/issues/3019#issuecomment-665136323

Same issue with Xcode 11.7

xcodebuild -version
Xcode 11.7
Build version 11E801a

same issue xCode 12

Same issue Xcode 12

/usr/bin/xcrun lipo -create xxx
fatal error: 
xxx have the same architectures (arm64) and can't be in the same fat output file

Was this page helpful?
0 / 5 - 0 ratings