Closed BarredEwe closed 6 months ago
I am getting this error now.. @BarredEwe
@BarredEwe The tests in this PR are also failing because of that file..
@woutergoossens I have updated the PR. Could you try again?
@woutergoossens I have updated the PR. Could you try again?
Other error ==>
@woutergoossens Hmm. I can't reproduce it. Could you send me /Users/gowo/Library/Developer/Xcode/DerivedData/Presentation-gkbvpnlvzvzfoefbirrgyrkvqkzi/SourcePackages/plugins/presentation.output/PresentationPreviewTests/PrefireTestsPlugin/Cache/sourcery-yml
file?
@woutergoossens Hmm. I can't reproduce it. Could you send me
/Users/gowo/Library/Developer/Xcode/DerivedData/Presentation-gkbvpnlvzvzfoefbirrgyrkvqkzi/SourcePackages/plugins/presentation.output/PresentationPreviewTests/PrefireTestsPlugin/Cache/sourcery-yml
file?
@BarredEwe Problem is here on line 2129
while reading .yml '/Users/gowo/Library/Developer/Xcode/DerivedData/Presentation-gkbvpnlvzvzfoefbirrgyrkvqkzi/SourcePackages/plugins/presentation.output/PresentationPreviewTests/PrefireTestsPlugin/Cache/sourcery.yml'. '2129:46: error: scanner: mapping values are not allowed in this context: TransferSummaryScreen(viewModel: TransferSummaryPreviewViewModel.withErrorMessage()) ^'Using configuration file at '/Users/gowo/Library/Developer/Xcode/DerivedData/Presentation-gkbvpnlvzvzfoefbirrgyrkvqkzi/SourcePackages/plugins/presentation.output/PresentationPreviewTests/PrefireTestsPlugin/Cache/sourcery.yml' error: while reading .yml '/Users/gowo/Library/Developer/Xcode/DerivedData/Presentation-gkbvpnlvzvzfoefbirrgyrkvqkzi/SourcePackages/plugins/presentation.output/PresentationPreviewTests/PrefireTestsPlugin/Cache/sourcery.yml'. '2129:46: error: scanner: mapping values are not allowed in this context: TransferSummaryScreen(viewModel: TransferSummaryPreviewViewModel.withErrorMessage())
Any idea?
@woutergoossens I will try another solution with a custom installation of source in the .prefer.yml file.
@woutergoossens I will try another solution with a custom installation of source in the .prefer.yml file.
Or I should split up our package in other packages to get rid of the > 4000 swift files limit.. :D
@woutergoossens I pushed another fix. Will you try again? 😅
@woutergoossens I pushed another fix. Will you try again? 😅
Yes, working! Thanks!
@woutergoossens Then I need to finalize everything and I will post a new release
@woutergoossens Then I need to finalize everything and I will post a new release
Hey @BarredEwe, when do you think I can expect a new release so we can enable our preview tests again? :) THanks!
@woutergoossens Then I need to finalize everything and I will post a new release
Hey @BarredEwe, when do you think I can expect a new release so we can enable our preview tests again? :) THanks!
I've almost finished everything. There are several problems with formatting the generated code, but in general everything is solvable.
PS: The modification came out quite large, so it takes a lot of time (
@woutergoossens Could you try this version? If everything is OK, then we can make a release)
@BarredEwe Thanks! Tested, verified and working 🥳
Short description 📝
When the number of sources (files) is more than 4096, it gave an error:
Solution 📦
Now, when starting sourcery, an additional
sourcery.yml
file is generated in the cache folder. This allows you to bypass the restriction.