Argo: no such module 'Runes'

I have Argo embedded within my existing project (and have had for ages). I’m finally getting around to updating to Swift 3.

I updated my project’s Cartfileto point to Argo master (instead of 3.1.0):

github "thoughtbot/Argo" "master"

and run carthage update --use-submodules. This successfully fetches Argo and Runes. As you can see from the log below, Runes compiles OK and I can see the artifacts in the Carthage/Build/XXX folders. However, when it tried to build Argo, I get an error saying that it can’t find the Runes module.

There is a mention of a similar problem in #407 (which I don’t think is related to the PR… just a similar problem).

I’ve tried a bunch of carthage combos (bootstrap, build, update, et al), but just can’t get a working build.

I’m still digging through the logs, but any thoughts would be great.

Error Messages

*** xcodebuild output can be found in /var/folders/p6/xcv59nqd4wv0y6hwpm3q16m40000gn/T/carthage-xcodebuild.7gtojh.log
*** Building scheme "Runes-tvOS" in Runes.xcodeproj
*** Building scheme "Runes-Mac" in Runes.xcodeproj
*** Building scheme "Runes-iOS" in Runes.xcodeproj
*** Building scheme "Runes-watchOS" in Runes.xcodeproj
*** Building scheme "Argo-watchOS" in Argo.xcworkspace
** BUILD FAILED **


The following build commands failed:
    CompileSwift normal armv7k
    CompileSwiftSources normal armv7k com.apple.xcode.tools.swift.compiler
    Ld /Users/edwardsc/Library/Developer/Xcode/DerivedData/Argo-asybjaazisryjmeuwabufbberqcz/Build/Products/Release-watchos/Argo.framework/Argo normal armv7k
    GenerateDSYMFile /Users/edwardsc/Library/Developer/Xcode/DerivedData/Argo-asybjaazisryjmeuwabufbberqcz/Build/Products/Release-watchos/Argo.framework.dSYM /Users/edwardsc/Library/Developer/Xcode/DerivedData/Argo-asybjaazisryjmeuwabufbberqcz/Build/Products/Release-watchos/Argo.framework/Argo
(4 failures)
/Users/edwardsc/dev/Ogra/Carthage/Checkouts/Argo/Argo/Types/Decoded/Applicative.swift:1:8: error: no such module 'Runes'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: cannot parse the debug map for "/Users/edwardsc/Library/Developer/Xcode/DerivedData/Argo-asybjaazisryjmeuwabufbberqcz/Build/Products/Release-watchos/Argo.framework/Argo": No such file or directory
A shell task failed with exit code 65:
** BUILD FAILED **


The following build commands failed:
    CompileSwift normal armv7k
    CompileSwiftSources normal armv7k com.apple.xcode.tools.swift.compiler
    Ld /Users/edwardsc/Library/Developer/Xcode/DerivedData/Argo-asybjaazisryjmeuwabufbberqcz/Build/Products/Release-watchos/Argo.framework/Argo normal armv7k
    GenerateDSYMFile /Users/edwardsc/Library/Developer/Xcode/DerivedData/Argo-asybjaazisryjmeuwabufbberqcz/Build/Products/Release-watchos/Argo.framework.dSYM /Users/edwardsc/Library/Developer/Xcode/DerivedData/Argo-asybjaazisryjmeuwabufbberqcz/Build/Products/Release-watchos/Argo.framework/Argo
(4 failures)

Argo Version

master (4b57653f7760bd3eedfd1c1fbc821bde191e603d)

Dependency Manager

Carthage

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 23 (7 by maintainers)

Commits related to this issue

Most upvoted comments

I had the same problem, but I deleted the folders Carthage/Checkouts/Argo and Carthage/Checkouts/Runes then it worked for me.