Squirrel.Mac
Squirrel.Mac copied to clipboard
A bit lost when trying to integrate Squirrel in my project
Hey everyone,
I've been trying to integrate Squirrel library to my Mac app and I've been having trouble following the instructions listed in the README file.
So I have installed the xctool
(step 1), added Squirrel as a git submodule (step 2), run the bootstrap
script and I am pretty much stuck in step 4.
Reading step 4, naturally leads me to the "Dependencies" section and this is where I am hitting a brick wall. My 'External/' folder just includes the 'OHHTTPStubs' folder. Is it supposed to also include all the dependencies (ReactiveCocoa, Mantle and Squirrel) after executing the bootstrap script? Do I also need to execute the cibuild
as well?
How exactly do I add the references to Squirrel.xcodeproj and its dependencies to my project?
A more descriptive guide (preferably with screenshots) on how to integrate this library would go a long way :)
I am more than happy to issue a pull request for that, after first wrapping my head around on how to integrate this library in the first place.
Thanks! ^_^
Update:
If I try to run carthage build
in the 'Squirrel.Mac' directory, I get the following failure.
Is this normal?
The following build commands failed:
CompileSwift normal i386
CompileSwiftSources normal i386 com.apple.xcode.tools.swift.compiler
(2 failures)
[..]/Squirrel.Mac/Carthage/Checkouts/Nimble/Sources/Nimble/Matchers/Equal.swift:165:19: warning: redundant conformance constraint 'T': 'Equatable'
[..]/Squirrel.Mac/Carthage/Checkouts/Nimble/Sources/Nimble/Matchers/Equal.swift:169:19: warning: redundant conformance constraint 'T': 'Equatable'
[..]/Squirrel.Mac/Carthage/Checkouts/Nimble/Sources/Nimble/Matchers/Equal.swift:26:22: warning: redundant conformance constraint 'T': 'Equatable'
[..]/Squirrel.Mac/Carthage/Checkouts/Nimble/Sources/Nimble/Matchers/AllPass.swift:64:33: error: cannot use mutating member on immutable value: 'generator' is a 'let' constant
[..]/Squirrel.Mac/Carthage/Checkouts/Nimble/Sources/Nimble/Matchers/ContainElementSatisfying.swift:42:34: error: cannot use mutating member on immutable value: 'iterator' is a 'let' constant
** BUILD FAILED **
The following build commands failed:
CompileSwift normal i386
CompileSwiftSources normal i386 com.apple.xcode.tools.swift.compiler
(2 failures)
ENTITLEMENT
It's too bad you haven't got any response to your issue by now. I am facing the same difficulties importing/including the Squirrel library into my project. I am not using Carthage by the way. Following the instructions from the README doesn't get me there...