Closed griotspeak closed 9 years ago
Methinks what happened is I didn't --use-submodules
for Operadics the first time around. That should resolve your problem and stuff for anyone else who doesn't want to use Carthage.
I've resolved this in #20. Let me know if that fixes anything.
That changed some things. Now I get
A shell task failed with exit code 65:
** BUILD FAILED **
The following build commands failed:
CompileSwift normal x86_64 ~/Development/ChordalText/Carthage/Checkouts/Swiftx/SwiftxTests/SectionSpec.swift
CompileSwift normal x86_64 ~/Development/ChordalText/Carthage/Checkouts/Swiftx/SwiftxTests/EitherSpec.swift
CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
(3 failures)`
in the log:
~/Development/ChordalText/Carthage/Checkouts/Swiftx/SwiftxTests/SectionSpec.swift:11:8: error: no such module 'SwiftCheck' import SwiftCheck
Well, shit. This is why I need build tools backing my commits :disappointed:. Testing bundle didn't have SwiftCheck copied along with everything else. That part is fixed by #23, or at least --no-skip-current
doesn't bork.
So this doesn't happen again, can you checkout #23 just to make sure I have everything in place?
I think that you missed adding the SwiftCheck.xcodeproj
to Swiftx.xcodeproj
It's under Supporting Files.
Wipe out your Carthage directory. It won't checkout the submodules otherwise.
My apologies. It checked it out just fine before as well. Xcode simply expects it in the wrong place.
Expected at ~/Development/ChordalText/Carthage/Checkouts/SwiftCheck/SwiftCheck.xcodeproj
when it is actually at ~/Development/ChordalText/Carthage/Checkouts/Swiftx/Carthage/Checkouts/SwiftCheck
Is this a carthage setup issue or some other thing? Seems like it is set up with a relative path from the top instead of from swiftx
.
EDIT: Yes. The path should be based on the PROJECT_DIR
, I think.
So the lesson here is: never trust Xcode to do the right thing the first time around. I've committed a fix (hopefully) in that branch.
It builds :+1: Thanks for the help!
Then it is merged. Fuck all.
Operadics
seems necessary to buildSwiftx
but is not pulled down bycarthage update
when I depend onSwiftx
from a mac project. If Icd
into/Carthage/Checkouts/Swiftx
and then runcarthage bootstrap
, I can then get the mac app to runcarthage update
successfully but codesign fails.Failure aside, it looks as though
Cartfile.private
should be used for dependencies that aren't necessarily useful in release but that doesn't look like a fitting description ofOperadics