securing / IOSSecuritySuite

iOS platform security & anti-tampering Swift library
https://www.securing.biz/
Other
2.27k stars 272 forks source link

Library + Main Class name clash #90

Closed DevAgani closed 1 year ago

DevAgani commented 1 year ago

~/ios/Pods/IOSSecuritySuite/IOSSecuritySuite/IOSSecuritySuite.swift:14:14: Public class 'IOSSecuritySuite.IOSSecuritySuite' shadows module 'IOSSecuritySuite', which may cause failures when importing 'IOSSecuritySuite' or its clients in some configurations; please rename either the class 'IOSSecuritySuite.IOSSecuritySuite' or the module 'IOSSecuritySuite', or see https://github.com/apple/swift/issues/56573 for workarounds

Version: 1.9.7

r3ggi commented 1 year ago

Hey,

Thanks for raising this issue. The library name AFAIK doesn't violate Swift naming module & class naming convention and the problem you mention is a bug in the Swift compiler.

The bug reporter claims that the bug itself is rather rare:

This problem is usually invisible until a client tries to read the module interface, which is rarely done in normal development workflows, so the invalid module interface may not be noticed until much later.

For ISS I don't see it breaks any functionality, so let's keep this library as it is.