Enable module stability. Now can't use with Swift 5.3.2.
- Dominant language
- Swift
- Stars
- 191
- Forks
- 43
- PR merge metrics
- No merged PRs in 30d
Description
### Description
Currently, I can't include it with Swift 5.3.2.

Since Swift 5.1, Apple provide module stability feature in Xcode. This enables a framework to be able to be included in targets with newer Swift versions. But `BUILD_LIBRARY_FOR_DISTRIBUTION` build setting has to be enabled.


My current workaround is to add a Podfile `post_install` script to do so:
```
post_install do | installer |
installer.pods_project.targets.each do |target|
if target.name == 'mamba-iOS' || target.name == 'mamba-tvOS'
target.build_configurations.each do |config|
config.build_settings['BUILD_LIBRARY_FOR_DISTRIBUTION'] = 'YES'
end
end
end
end
```
### Tasks
- [ ] Set `BUILD_LIBRARY_FOR_DISTRIBUTION` build setting to `Yes`
### References
* https://swift.org/blog/library-evolution/
Contributor guide
Assessment
This issue has not been assessed yet.