M3U8Parser
M3U8Parser copied to clipboard
Inconsistent Package Naming Prevents Release on SPM and Cocoapods
Describe the bug (对 bug 进行描述)
- We integrated your package into our package to parse the m3u8 files and we planned to release it in SPM and Cocoapods.
- But I am facing this issue `error: no such module 'M3U8Parser' when we try to release our package in Cocoapods because the package was named "M3u3Parser" in SPM and "M3u8Kit" in CocoaPods and we're importing the package as "M3u8Parser", and getting the above error.
- This inconsistency is preventing us from successfully publishing our package on both SPM and Cocoapods.
To Reproduce (产生步骤) Steps to reproduce the behavior:
- Git clone https://github.com/testpress/iOSPlayerSDK
- Checkout to this branch
release-in-cocoapods - Run
pod spec lint TPStreamsSDK.podspec - See error
Expected behavior (期待的行为)
- We expect the library's name to be consistent across different package managers to avoid conflicts.
Additional context (附加的相关信息)
- Do you have any potential workarounds to address this issue, or is there any way I can assist in resolving it? I'm more than willing to help.