mockolo: xcode 13.3 - fatal error - SwiftSyntax.ParserError 1
MockoloFramework/SourceParser.swift:103: Fatal error: The operation couldn’t be completed. (SwiftSyntax.ParserError error 1.)
I do receive that error after updating my Xcode to 13.3. I was working previously on 13.2.1
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 7
- Comments: 15 (1 by maintainers)
Commits related to this issue
- Update README.md Fixes README to use correct formula that doesn't give back the error in issue 182 https://github.com/uber/mockolo/issues/182 — committed to Solace-Studios/mockolo by Solace-Studios 2 years ago
Ran into the same issue. Worked if I cloned it and ran it locally. Reinstalling and building from source fixed it for me.
I have same issue with Xcode 13.3. Mockolo was installed by Mint.
Below is the build log.
I have same issue with Xcode 13.3. I’m using Mockolo v1.7.0 installed by Homebrew.
I have version
1.7.0
and have same issue with Xcode 13.3Hello,
Any news with this issue, I’m pretty sure my quick fix is not the proper way to fix it. I didn’t check what was the purpose of this array of dependencies.
Cheers.
I think this is an issue caused by brew and not the source code, can we open a ticket there and close this one?
Yes it fails on 1.7.0
Tested on CI (code magic) and local Mac
What version of Mockolo is installed by Homebrew? I am wondering if
1.7.0
also causes an error.same issue with brew installation (1.7.0).
It’s probably linked to the swift 5.6 compatibility (cf. Package.swift line 9)
I rebuild it from source code (option 4 in the installation doc) and removed this line in the Package.swift and solved the issue.