Framework for automatic mock generation. Adds a set of handy methods, simplifying testing. One of the best and most complete solutions, including generics support and much more.
MIT License
1.03k
stars
104
forks
source link
Method cannot be declared public because its type uses an internal type #326
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.
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 https://github.com/MakeAWishFoundation/SwiftyMocky/issues/315
Could this be a regression?