79640325

Date: 2025-05-27 10:59:22
Score: 3.5
Natty:
Report link

There are two solutions:

#if SWIFT_PACKAGE
        return Bundle.module
#else
        return Bundle(for: self)
#endif

Check this link:
How to define Bundle as internal For Pod Lib and SPM that handles both of them For using package images

Reasons:
  • Blacklisted phrase (1): this link
  • RegEx Blacklisted phrase (1): Check this link
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
Posted by: Maziar Saadatfar