th3rdwave / react-native-safe-area-context

A flexible way to handle safe area insets in JS. Also works on Android and Web!
MIT License
2.14k stars 197 forks source link

fix: Cocoapods for Xcode 14.3 #370

Closed luxtudio closed 1 year ago

luxtudio commented 1 year ago

Summary

On Thursday the 30th, Apple Released Xcode 14.3

Xcode 14.3 enforce a version check that React-Native-Safe-Area-View, which supported iOS 11 as minimum version, could not be build anymore.

Test Plan

RCT_NEW_ARCH_ENABLED=1 npx pod-install

build react-native-safe-area-context origin version (4.5.0) on Xcode 14.3

build-failure

build failure

build react-native-safe-area-context patch version as this commit on Xcode 14.3

build-success

build success

jacobp100 commented 1 year ago

Thanks for this!

@janicduplessis would we be able to release this? I hit the same issue too

janicduplessis commented 1 year ago

Looks good, will release in a few hours when I get on computer

luxtudio commented 1 year ago

@janicduplessis When will package be released in the next version?

janicduplessis commented 1 year ago

Published as 4.5.1