에 나와 있는 설치 방법을 복사해서 붙여 넣으면 된다.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
에 나와 있는 설치 방법을 복사해서 붙여 넣으면 된다.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
루비 버전이 낮아서 발생하는 문제
아래와 같이 설치하면 된다.
$ brew update
$ brew install ruby-build
$ brew install rbenv
$ rbenv install 2.7.5
$ rbenv global 2.7.5
설치 후 아래와 같이 글로벌 Ruby 세팅을 rbeny에 넣어줘야한다.
After that, you need to export some configurations to define rbenv as default global ruby:
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.zshrc
echo 'eval "$(rbenv init -)"' >> ~/.zshrc
근데 echo로 넣는 게 문제인지 install에 2.7.5라고 지정해서 넣는 게 문제인지 다른 댓글에는
문제라고 하기도 한다. 어지럽다.
일단 설치 후에 터미너을 껐다 켜서 재부팅 시켜줘라는 이야기도 있다.
출처:https://stackoverflow.com/questions/65570441/react-native-should-i-install-cocoapods-with-gem-or-homebrew
gem으로 하면 기존에 mac에 설치되어 있는 ruby와 충돌이 있어서 난감하니
brew로 하는 게 좀 더 클린하게 된다고 한다.
tableView를 오버라이드 한 파일 만들때 주석으로 만들어주는 함수에 보면
let cell = tableView.dequeuereusableCell(withIdentifier : "~~~~"가 있는데
~~~~ 자리에 내가 설정한 cell의 identifier를 넣어주지 않았기 때문에 발생
출처: https://euna501.tistory.com/entry/unable-to-dequeue-a-cell-with-identifier-reuseIdentifier
맥북과 아이폰을 같은 와이파이로 연결
맥북과 아이폰 같은 계정 연결
1. 아이폰 과 맥북 전화 연동
아이폰: 설정->전화->다른기기에서의 통화 활성화
맥북: facetime -> 설정 -> iPhone 통화 체크
2. 아이폰과 맥북 메세지 연동
아이폰: 설정 ->메세지 -> 문자 메세지 전달 -> 맥북기기명 On 으로 활성화
맥북: 메세지 -> 설정 -> iMessage -> 동일 계정연동 확인