devxoul / Then

✨ Super sweet syntactic sugar for Swift initializers
MIT License
4.18k stars 290 forks source link

cannot install through carthage #31

Closed ghost closed 8 years ago

ghost commented 8 years ago

*\ Skipped building Then due to the error: Dependency "Then" has no shared framework schemes

Please follow this guide to fix -> https://github.com/Carthage/Carthage#share-your-xcode-schemes

devxoul commented 8 years ago

@danjiang, how did you configure your Cartfile? Then is compatible with Carthage.

$ cat Cartfile
github "devxoul/Then" ~> 1.0
$ carthage version
0.17.1
$ carthage update
*** Fetching Then
*** Checking out Then at "1.0.3"
*** xcodebuild output can be found in /var/folders/yk/ms2yrh7s2_g26y4rh4n9mpww0000gn/T/carthage-xcodebuild.cTjuK0.log
*** Building scheme "Then-OSX" in Then.xcodeproj
*** Building scheme "Then-tvOS" in Then.xcodeproj
*** Building scheme "Then-iOS" in Then.xcodeproj
ghost commented 8 years ago

@devxoul, but it is also checkout 1.0.3

github "devxoul/Then"

devxoul commented 8 years ago

Which platform are you building?

ghost commented 8 years ago

iOS. I run following carthage build --platform ios

devxoul commented 8 years ago

This is odd. There're shared schemes as you can see here: https://github.com/devxoul/Then/tree/1.0.3/Then.xcodeproj/xcshareddata/xcschemes

And even Carthage build is working on my machine :(

ghost commented 8 years ago

The Carthage Checkouts is checkout from my teammate`s git repo. Maybe there is problem when he add it. I will clean and checkout from https://github.com/devxoul/Then to see if it still have this problem.

devxoul commented 8 years ago

If that doesn't work, try

$ rm -rf ~/Library/Caches/org.carthage.CarthageKit/dependencies/Then

and build again.

ghost commented 8 years ago

I clean and update build, everything is fine. I close this issue.