-
Notifications
You must be signed in to change notification settings - Fork 333
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
[4.0.3] [Carthage] Carthage bootstrap fails to resolve package dependencies of Example.xcodeproj #919
Comments
@jhandguy FullExampleFlow is only Swift Package Manager compatible. You should not need Carthage with FullExampleFlow. Please continue using CarthageExample for demonstrations on Carthage configuration. |
@migs647 I am aware of that and this issue is not about Can you maybe try running a clean |
Having same issue when building project in a CI container |
@jhandguy @dchohfi I may need some more context in your setup. If I create a new project with a Cartfile.resolved that contains ** Edit ** This was from a fresh project (ie no Carthage cache directory) |
@migs647 interesting, could it be related to |
this is the log the is being printed on my CI:
It seems to be something weird on Xcode 11 but I couldn't figure out, reverting the version and building in Don't know if is related, but tried this and din't work too, but the error message was different.
|
@dchohfi you're right, this Bitrise issue also seems relevant: https://discuss.bitrise.io/t/xcode-11-resolving-packages-fails-with-ssh-fingerprint/10388.
|
Any solution for this one? |
@teodorpenkov not really a solution but a workaround, run this before your build step:
I haven't tried it out myself yet but it seems to have resolved the issue for some people. |
@jhandguy - I've tried this, gave me another error:
But this was inside a CI container, don't know if they are related |
Hi @dchohfi and @jhandguy. I was able to replicate this on our CI and believe we have fixed it. It was related to our example apps using ssh instead of https for SPM. I'm also curious why Carthage is building our sub-sub projects, but either way this should be fixed with our latest 4.0.4 prerelease. |
that was amazing @migs647! thank you |
I can confirm the issue is fixed in |
I'm having a similar issue now with
|
@lluisgerard @migs647 is looking at this here already. Will write back when we figure out what's up. |
@lluisgerard We released 4.1.1 today that should fix your issue. Can you verify please? https://github.com/segmentio/analytics-ios/releases/tag/4.1.1 |
Regression
Failing version:
4.0.3
Last working version:
4.0.2
Carthage version:
0.35.0
Description
When installing
analytics-ios
version4.0.3
viacarthage bootstrap --platform iOS
, the build fails with the following error:It seems the newly introduced
Example
project in #915 as part of https://github.com/segmentio/analytics-ios/releases/tag/4.0.3 has introduced this issue.Reverting in
Cartfile.resolved
to version4.0.2
won't reproduce the error.Logs
The text was updated successfully, but these errors were encountered: