Skip to content

tymurmustafaiev/evolution-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swift library evolution issue

This is the sample repo to show issue with compilation of @propertyWrapper code with enabled BUILD_LIBRARY_FOR_DISTRIBUTION flag. I'm trying to build static swift library, and I have propertyWrappers in my code.

Failing builds:

When I enable BUILD_LIBRARY_FOR_DISTRIBUTION flag, compilation fails with this error: img.png

Successful builds:

However, if I put Model structure inside the EvolutionInteractor class, it compiles successfully. img.png Same will happen if I wrapp struct inside another struct in extension as it was in first sample: success2.png

About

This is the sample repo to show issue with compilation swift code with enabled BUILD_LIBRARY_FOR_DISTRIBUTION flag

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages