Method cannot be declared public because its type uses an internal type
VilemKurz opened this issue · 0 comments
VilemKurz commented
After I generate mocks or prototypes, this error pops out on all symbols appearing in mocked/prototyped protocols, which are internal in the app. After I manually change all open/public methods/properties declarations to internal in generated files, all works ok.
This pull request seemed to fix the same behaviour (not sure though) https://github.com/MakeAWishFoundation/SwiftyMocky/pull/246/files
And also this github issue seems to report the same problem #315
Could this be a regression?