Rightpoint / BonMot

Beautiful, easy attributed strings in Swift
MIT License
3.54k stars 196 forks source link

Xcode 15 Warnings #432

Open kattouf opened 1 year ago

kattouf commented 1 year ago

Hi Guys! I compiled your library in Xcode 15.0 Beta 6 (15A5219j) and received the following warnings:

Screenshot 2023-08-15 at 15 59 16

Forming 'UnsafeMutableRawPointer' to a variable of type 'NSString'; this is likely incorrect because 'NSString' may contain an object reference.

Could you please fix this in future releases? You can find information about this new warning and suggested solutions in proposal

ZevEisenberg commented 1 year ago

I opened a PR (linked above) that fixes the issue. However, I'm having trouble getting it through CI because it looks like there may be a problem with the Xcode 13 runner. We should update to at least Xcode 14 anyway, but I probably don't have time to look at it at the moment. If you'd like to take a crack at it, please feel free. Otherwise, you can at least use the branch for the above PR to resolve the warnings for now.

kattouf commented 1 year ago

Thanks for the prompt response, we are comfortable waiting until Xcode 15 RC/GM releases