Xcode14.2 Fatal error: The operation couldn’t be completed. (SwiftSyntaxParser.ParserError error 1.)
kabirkhaan opened this issue · comments
After updating Mockolo version 1.8.1, we are facing a folloiwing issue.
MockoloFramework/SourceParser.swift:105: Fatal error: The operation couldn’t be completed. (SwiftSyntaxParser.ParserError error 1.)
Till Mocolo version 1.7.1 every things works fine.
Seems like it related swift-syntax version.
Line 18 in 2b425df
ENVIRONMENT
- ARM64 M1
How the Mockolo is integated in project?
- Extracting the mockolo.tar.gz
Other Context
- We tried it with
1.8.0
it's also not working, aslo figure out that mockolo Version file is not update with which is fixed in v1.8.1 - Fetching the
1.8.1
via MINT works
This was also reproduced in my environment.
The cause of this issue is the steps of building mockolo.tar.gz
.
This tar file is build by GitHub Actions.
mockolo/.github/workflows/release.yml
Line 16 in 2b425df
In /install-script.sh
, it copies libISSP in Xcode ToolChain. This is wrong now. It should be used the libISSP resolved by SwiftPM (it will be placed in the .build/release
folder.)
Line 72 in 2b425df