-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Cocoapods 1.0.0 - SystemStackError - stack level too deep - Subspecs cross ref. #5362
Comments
That's a circular dependency, the resolver should be erroring over that. Please share a project we can use to reproduce so we can raise the appropriate error. Thanks! |
Hi @segiddins, |
OK, well I'll the the issue open for a bit if you're able to boil it down to a reproducible case you can share. |
@segiddins Updated the example in the issue reporting, it is now closer to the current state. I over-simplified the cross-references. Still working on the example project, the example app still runs correctly. |
@segiddins Finally I could reproduce it. Here is the project. If you run pod 1.0.0 install you can see the infinite recursion. Running it with verbose shows me, that the recursion starts when pod wants to create the xconfig for the targets. The pod install won't error for circular dependency at the beginning, maybe because we refer to a different subspec from the other spec? If I manually revert ef854ab back, everything is working fine. I will update the issue with the sample project pod env. |
Hi @segiddins, is there an update on this? is this usage of sub-specs supported in 1.0.0 or this error should have been reported earlier in the install process? Cheers, |
I don't think anyone on the team has managed to check in yet. A project that we could run |
Please tell me how I should update the demo project here: https://www.dropbox.com/s/p3mrm4sdk05eogf/SubSpecCircular.zip?dl=0 to help this process :) |
Never mind, this is actually a bug -- it's happening since the subspecs have no circular dependence, but the |
Thank you @segiddins and @champo ! :) |
Report
What did you do?
What did you expected to happen?
What happened instead?
CocoaPods Environment
Installation Source
Plugins
Podfile
Question
The text was updated successfully, but these errors were encountered: