Material: Carthage update is failing

Versions:

  • Running Xcode 9.0
  • Material 2.11.2

I am using Carthage as my package manager and within the last two days I have not been able to get the project to build because of this error dyld: Library not loaded: @rpath/Motion.framework/Motion Referenced from: /Users/macmedan/Library/Developer/CoreSimulator/Devices/43F98839-6A55-4C7F-917A-196EB7585DDC/data/Containers/Bundle/Application/4EF67EC1-9605-4AB7-9E5C-B0ECC9846C7D/Shipper Dev.app/Frameworks/Material.framework/Material Reason: image not found

I have also noticed that this gets executed now when I do a carthage update A shell task (/usr/bin/env git clone --quiet git@github.com:CosmicMind/Motion.git

I am using material version 2.11.2 and 2.11.0 gave me the same issue.

Any guidance would be greatly appreciated.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 28 (13 by maintainers)

Most upvoted comments

Add $(SRCROOT)/Carthage/Build/iOS/Motion.framework in “Input Files” section of “Run Script Phase” /usr/local/bin/carthage copy-frameworks

It looks like we are good. Thank you for your help.

To anyone reading this thread to solve the same problem you will need to delete your Cartfile.resolvedfolder and your Carthage folder. Then run carthage update --platform iOS --use-submodules in your terminal.

Can you try this version Material 2.11.3 please 😃

Okay, I need to change it to https. One sec, I will make a change for that