This PR resolves the "duplicated UUIDs" warning reported by pod install when using the 2.0.0-beta.1 podspec.
The Objective-C target has an include directory (which is SPM's convention) which contains symbolic links to the real header files. All those header files are part of the pods' source_files, which leads the generated Xcode target contains duplicated header files–one is the symlink file and the other is the real file. Hence, CocoaPods reports the "duplicated UUIDs" warning since the UUID is generated from file name.
The fix is simply excluding the include directory, which is meant to be SPM-only anyway, from podspec's source_files.
[x] I have considered if this change warrants release notes and have added them to the appropriate section in the CHANGELOG.md if necessary.
This PR resolves the "duplicated UUIDs" warning reported by
pod install
when using the2.0.0-beta.1
podspec.The Objective-C target has an include directory (which is SPM's convention) which contains symbolic links to the real header files. All those header files are part of the pods'
source_files
, which leads the generated Xcode target contains duplicated header files–one is the symlink file and the other is the real file. Hence, CocoaPods reports the "duplicated UUIDs" warning since the UUID is generated from file name.The fix is simply excluding the
include
directory, which is meant to be SPM-only anyway, from podspec'ssource_files
.CHANGELOG.md
if necessary.