현재 내 상황
컴퓨터 : 맥북 프로 16
-버전 : macOS 14.2.1
xcode : 15
———————cli 문제 해결 ———————
프로젝트 설치 전 : npm uninstall -g react-native-cli @react-native-community/cli //cli 삭제
프로젝트 설치 : npx react-native@latest init efenpx //후 최신 버전으로 재설치
react-native doctor // 문제상황 보고서
———————Pod dependency 문제 해결———————
After upgrading to latest version of gems and cocoa pods. can run any pod commands
* sudo gem uninstall activesupport // activesupport 삭제
* sudo gem install activesupport --version 7.0.8 // activesupport Version 7.0.8로 재설치
* Gemfile에 gem "activesupport", "= 7.0.8"추가
*cd iOS
* bundle install
* bundle update activesupport
* bundle exec pod install
———————home-brew 완전삭제 ———————
(참고사이트 :https://mac.install.guide/homebrew/5.html)
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)" //제거 스크립트 실행
$ sudo rm -rf /opt/homebrew/ //잔여파일 제거
$ ls -ag /opt //디렉터리 사라졌는지 확인
'Development > ReactNative' 카테고리의 다른 글
[study] 구조분해 (0) | 2024.02.02 |
---|---|
[study] Style || 내비게이션 || 리덕스 (0) | 2024.02.02 |
[study] 240122 (0) | 2024.01.22 |
[study] 중복함수실행방지 (0) | 2024.01.22 |
[study] 240122 (0) | 2024.01.22 |