iOS/Etc

pod install or remove (In M1)

BenoitLee 2022. 3. 4. 14:12

1. cocoapod 설치

sudo gem install cocoapods 

 

 

2. git-lfs 설치 : 대용량 Pod를 설치해야 될 경우

brew install git-lfs
git-lfs install

 

 

3. pod cache 삭제, DerivedData 삭제

pod cache clean  --all
rm -rf ~/Library/Caches/CocoaPods/*
rm -rf ~/Library/Developer/Xcode/DerivedData/*

 

 

4. pod init 및 설치

pod deintegrate

 

:M1

pod install

 

:Default or M1

pod install --repo-update

 

 

//해당 문제가 발생할때

Don't forget to include the Crash Report log file under DiagnosticReports directory in bug reports.

 

sudo arch -x86_64 gem install ffi
arch -x86_64 pod install          < pod install 대신 저걸로 사용해야한다고 함.

 

참고 : https://velog.io/@doka/Dont-forget-to-include-the-Crash-Report-log-file-underDiagnosticReports-directory-in-bug-reports