'UIGraphicsBeginImageContext() failed. Xcode 15+ and ios 17+ crash react-native

Pubblicato il: 18 aprile 2024
sul canale di: SE Debugger
758
8

Error Detail:
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'UIGraphicsBeginImageContext() failed to allocate CGBitampContext: size={414, 0}, scale=2.000000, bitmapInfo=0x2002. Use UIGraphicsImageRenderer to avoid this assert.'

NOTE
the healthiest, if the project is small, update the react native version

WARNING
Since UIGraphicsBeginImageContext has been deprecated, it may also be caused by other libraries. For example; react-native-fast-image etc.

INFO
You can find where they are used by searching UIGraphicsBeginImageContext. Perform the search through xcode.

SOURCE
https://forums.developer.apple.com/fo...


In questa pagina del sito puoi guardare il video online 'UIGraphicsBeginImageContext() failed. Xcode 15+ and ios 17+ crash react-native della durata di ore minuti seconda in buona qualità , che l'utente ha caricato SE Debugger 18 aprile 2024, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 758 volte e gli è piaciuto 8 spettatori. Buona visione!