- 
                Notifications
    
You must be signed in to change notification settings  - Fork 1.5k
 
Closed
Labels
Description
- carthage install method: [ ] .pkg, [x] homebrew, [ ] source
 which carthage: /usr/local/bin/carthagecarthage version: 0.36.1xcodebuild -version: Xcode 12.4, Build version 12D4e- Are you using 
--no-build? No. - Are you using 
--no-use-binaries? Yes. - Are you using 
--use-submodules? No. - Are you using 
--cache-builds? No. - Are you using 
--new-resolver? Yes. 
Cartfile
github "SVProgressHUD/SVProgressHUD" ~> 2.2
github "ivanbruel/MarkdownKit" ~> 1.5
github "pocketsvg/PocketSVG" ~> 2.5.0
Carthage Output
*** Checking out PocketSVG at "2.5.0"
*** Checking out MarkdownKit at "1.6"
*** Checking out SVProgressHUD at "2.2.5"
*** Building scheme "MarkdownKit" in MarkdownKit.xcworkspace
*** Building scheme "PocketSVG (iOS)" in Demos.xcworkspace
*** Building scheme "SVProgressHUD-Framework" in SVProgressHUD.xcodeproj
Actual outcome
carthage copy-frameworks fails with the following error message:
In attempt to read NSBundle «file:///Users/john/git/appsmono/ios/Apps/Calprotectin/Carthage/Build/iOS/PocketSVG.framework/»'s binary url, could not relativize «file:///Users/john/git/appsmono/ios/Carthage/Build/iOS/PocketSVG.framework/PocketSVG» against «file:///Users/john/git/appsmono/ios/Apps/Calprotectin/Carthage/Build/iOS/PocketSVG.framework/».
You can replace the framework with an arbitrary one. It does not solve the problem.
Expected outcome
Carthage should copy the frameworks correctly.
I could trace that back the problem to the changes in the current version. Rolling carthage version back to 0.36.0 fixes the problem.
We are using the recommended shell script since a few weeks and updated the contents with the ones in the Documentation/Xcode12Workaround.md. Did also not help! Caches were cleared accordingly and we also used a brand-new machine to simulate a build from scratch.
mfreiwald, benjohnde, sestevens, anton-plebanovich, schrismartin-eb and 3 more