When running on iOS 16 in release mode, my app (built with Xcode 15) crashes with the following message:
Symbol not found: _$s10Foundation13__DataStorageC12replaceBytes2in4with6lengthySnySiG_SVSgSitF
The same app works fine when:
- Run on iOS 16 in debug mode
- Run on iOS 17
- Built with Xcode 14
There are no deprecation warnings showing in Xcode, and everything compiles fine. I found this method that seems to match the missing symbol (https://developer.apple.com/documentation/foundation/nsmutabledata/1412428-replacebytes); however, it's not being used anywhere in the app.
Is there a specific symbol removed in Xcode 15 causing this issue?
Thank you!