-
Notifications
You must be signed in to change notification settings - Fork 291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation with Carthage is broken #55
Comments
Is there any reason to use |
I prefer to use |
I removed |
I'm having the same issue. |
@JohnTheBastard which error message did you get? |
@hebiao6446, which error message did you get? |
Using precompiled version is problematic even with Xcode updates. Xcode 9.1 uses Swift 4.0.2 and importing 4.0 binary is impossible.
|
I'm getting same issue in iOS project.
Or should I use SwiftPM? |
Hey guys, I made a new release (2.2.1) which supports Xcode 9.1 🎉 |
Any updates? |
@MortyMerr, which version of Xcode are you using? |
@devxoul 9.2 |
I'm getting same issue in iOS project.
|
To support future Xcode updates, I think you need to add back proj file for carthage in order to build with |
I installed Channel.io which includes Then framework with Carthage.
And I added 'run script' in http://ikennd.ac/blog/2015/02/stripping-unwanted-architectures-from-dynamic-libraries-in-xcode/. How can I solve this problem? |
I installed via Pod, which didn't make this error. |
Hey guys, I just updated the prebuilt binary of the latest release. Please check it again :) |
The same issue was on 2.3.0
Just works version 2.1.0 with xcodeproj |
@Igor-Palaguta Which version of Xcode are you using? |
Version 9.3 (9E145) |
@Igor-Palaguta Can you share the swift version?
|
Apple Swift version 4.1 (swiftlang-902.0.48 clang-902.0.37.1) |
@Igor-Palaguta Hmm, that should work. Can you try again after removing Carthage caches?
|
@devxoul this error occur when |
If you believe this to be an error, please file an issue with the maintainers at https://github.com/devxoul/Then/issues/new
If you believe this to be an error, please file an issue with the maintainers at https://github.com/devxoul/Then/issues/new That's for both 2.1.0 and 2.3.0.
Xcode Version 9.4.1 (9F2000) |
@devxoul Installation via Carthage still no working. |
I'd prefer to keep this repository as simple as possible. Carthage requires extra work. (maintaining Xcode projects) It seems that Carthage is going to support SPM-only project from Swift 5 so we better wait for it :) |
@devxoul I see where you're going with trying to keep things simple, but you haven't just broken Carthage support by removing I understand you're hopeful for the future and what newer versions of the Swift toolchain could bring. But we're not there yet. And we won't be there until Xcode has a GUI integration for adding and managing SPM-based dependencies. Until Xcode supports SPM directly (without build phase scripts or a whole bunch of command-line work up-front), |
Put another way, my current solution for my project is:
That sucks. |
Not to beat the dead horse here, but I just wanted to pop back in because I've been working to update some of my open source frameworks for the latest Swift version and consequently, the latest Swift Package Manager. And O.M.G. … Swift Package Manager is a steaming hot mess. I can't even understand how anybody would consider this to be anything but Alpha-quality. Long story short— no matter what you've read from who, Swift Package Manager needs a lot of work before it could even remotely be considered as an alternative to Carthage or Cocoapods. Software maturity takes time & effort, and SPM is a malnourished infant. My personal advice to every other dev reading this is: Don't bother with Swift Package Manager. I stand by what I said before— when Apple has decided that SPM is mature enough to be integrated into Xcode, it may be worth another look, but until SPM isn't good enough for Apple's Xcode team it isn't good enough for me, and it shouldn't be good enough for you either. |
Because the repository doesn't contain a
.xcodeproj
, Carthage is unable to build the framework, failing silently.Output when running
carthage update --platform iOS --no-use-binaries
with a clean workspace:The building step is missing from the log. After the last line, there should be another one with the following:
*** Building scheme "Then" in Then.xcodeproj
I've reproduced this with Carthage 0.25 and 0.24.
The text was updated successfully, but these errors were encountered: