-
Notifications
You must be signed in to change notification settings - Fork 82
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
Failure to decode project description generated by swiftpm
.
#214
Comments
Ultimately, I'm trying to generate mocks the sources of my package for the package tests. I do not have an Xcode project. So there'd be a
|
Thanks for reporting. Originally when JSON project descriptions were added in #171 the intent was to upstream some changes to SPM, but it looks like they’ve since added In the meantime, you can work around this by post-processing the package description output by SPM, replacing all occurrences of |
Thanks! Works a treat. I also get the following decoding error with this JSON, too:
Target in question:
Post-processing the JSON description for this target with |
@andrewchang-bird in my adventures I see that |
Submitted #216 |
New Issue Checklist
Description
Mockingbird cannot parse the json description of my Swift package.
redacted-desc.json.zip (I redacted some local paths).
Environment
0.16.0 / Big Sur / Installed with Swift Package Manager / XCTest / Uses .mockingbird-ignore / Uses supporting files
Apple Swift version 5.4.2 (swiftlang-1205.0.28.2 clang-1205.0.19.57)
Target: x86_64-apple-darwin20.5.0
mockingbird version
)swift --version
).mockingbird-ignore
?The text was updated successfully, but these errors were encountered: