-
Notifications
You must be signed in to change notification settings - Fork 463
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
Crash When Swift Package PBXTargetDependency has no target or targetProxy #743
Comments
I'm also seeing this. Would love a solution. |
same here |
Any update on this? I'm seeing the same issue |
I don't know if this information is useful but I'm seeing the following Occurs given the following
The odd bit is this:
@segiddins is there any idea whether this is likely to be looked at in the near future? Cheers |
My naive conclusion would be that we'd need to weaken the internal consistency check in Xcodeproj/lib/xcodeproj/project/object/target_dependency.rb Lines 62 to 63 in d9a1ccb
Which is tested by: Xcodeproj/spec/project/object/target_dependency_spec.rb Lines 114 to 122 in d9a1ccb
As by the reference provided by @jsorge, there doesn't seem to be any other indication that this particular reference is populated by SPM, we might just need to take these two lines out and return |
Thanks @mrackwitz. I've created a sample project here with some further notes. |
Bump here. Ran into this today. |
Also seeing this. |
1 similar comment
Also seeing this. |
I getting this erro too afte update my React Native project |
When I have an Xcode project that has a SwiftPM package on it, and a target which depends on that project, I'm getting a crash in CocoaPods because the Xcodeproj gem is expecting a
target
ortargetDependency
value and SwiftPM target dependencies seem to use neither.Stack trace:
Here's what that UUID looks like in my project file:
This doesn't seem like a CocoaPods bug to me. Please correct me if I'm wrong. Thanks!
The text was updated successfully, but these errors were encountered: