My application which is working fine when installed freshly to the device, but in case the iOS version is upgraded app is crashing. In this case iOS version is updated from 16.4 to 16.5.
Below is the segment of the crash report.
"termination" : {"code":1,"flags":518,"namespace":"DYLD","indicator":"Library missing","details":["(terminated at launch; ignore backtrace)"],"reasons":["Library not loaded: @rpath\/CryptoSwift.framework\/CryptoSwift","Referenced from: <XXXXXX-XXXXXX-XXXXXX-XXXXXXX> \/Volumes\/VOLUME\/*\/eProposal.app\/eProposal","Reason: tried: '\/usr\/lib\/swift\/CryptoSwift.framework\/CryptoSwift' (no such file, not in dyld cache), '\/private\/preboot\/Cryptexes\/OS\/usr\/lib\/swift\/CryptoSwift.framework\/CryptoSwift' (no such file), '\/usr\/lib\/swift\/CryptoSwift.framework\/CryptoSwift' (no such file, not in dyld cache), '\/private\/preboot\/Cryptexes\/OS\/usr\/lib\/swift\/CryptoSwift.framework\/CryptoSwift' (no such file), '\/private\/var\/containers\/Bundle\/Application\/7XXXX28-7XXD-4XX7-8XX8-29F4439C9CFB\/eProposal.app\/Frameworks\/CryptoSwift.framework\/CryptoSwift' (code signature invalid in <B469XXEA-0CF1-3XXB-9E6F-6BXXA7F1CBC7> '\/private\/var\/containers\/Bundle\/Application\/7C0XX928-70XX-4XX7-8XX8-29F44XXC9CFB\/eProposal.app\/Frameworks\/CryptoSwift.framework\/CryptoSwift' (errno=1) sliceOffset=0x00000000, codeBlobOffset=0x00108830, codeBlobSi"]},
NOTE:
- For fresh installation, issue does not occur.
- Issue occur only when iOS version update is done ( not on all devices).
Kindly suggest what need to be done to prevent this app crash issue.