[issues] 'value' is unavailable introduced in ios 12.0 [react-native]
์นดํ
๊ณ ๋ฆฌ : Issues
ํ๊ทธ: issue, · react-native, · Xcode, · issues, · value is unavailable introduced in ios 12.0 ์๋ฌ, · ์๋ฌ,
ํ๊ทธ: issue, · react-native, · Xcode, · issues, · value is unavailable introduced in ios 12.0 ์๋ฌ, · ์๋ฌ,
๋ฒ์
System:
OS: macOS 13.4.1
CPU: (10) arm64 Apple M2 Pro
Memory: 89.41 MB / 16.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 18.15.0
path: /usr/local/bin/node
Yarn:
version: 1.22.19
path: /opt/homebrew/bin/yarn
npm:
version: 9.5.0
path: /usr/local/bin/npm
Watchman:
version: 2023.07.24.00
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.13.0
path: /Users/abel/.gem/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 22.4
- iOS 16.4
- macOS 13.3
- tvOS 16.4
- watchOS 9.4
Android SDK: Not Found
IDEs:
Android Studio: 2022.1 AI-221.6008.13.2211.9619390
Xcode:
version: 15.1.0/14E300c
path: /usr/bin/xcodebuild
Languages:
Java:
version: 11.0.11
path: /usr/bin/javac
Ruby:
version: 2.7.6
path: /Users/abel/.rbenv/shims/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.72.5
wanted: 0.72.5
react-native-macos: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: true
newArchEnabled: false
์๋ฌ ์ฝ๋
'value' is unavailable introduced in ios 12.0
๋ฐ์ ์์ธ
xcode 15.1 ์ ๋ฐ์ดํธํ๊ณ ๋์ ๋น๋ํ๋๋ Xcode์์ ์ด๋ฐ ์๋ฌ๊ฐ ๋ฐ์
ํด๊ฒฐ ๋ฐฉ๋ฒ
- ํด๋น ํ๋ก์ ํธ์ node_modules/react-native/scripts/cocoapods/codegen_utils.rb ํ์ผ์ ์ฐ๋ค.
- ํญ ๋ฉ๋ด ์ค โBuild Phasesโ 87์ค์ ์๋
'ios' => '11.0'
๋ถ๋ถ์'ios'=>'12.0'
์ผ๋ก ์์ npx patch-package react-native
ย ์ปค๋งจ๋๋ก ํจ์น๋ฅผ ์งํpod install
- ์คํ