[3] Development/Swift
COCOAPODS
코볼
2023. 1. 17. 15:52
728x90
반응형
SMALL
1. PC에 설치
$ sudo gem install cocoapods
2. pod을 설치할 디렉토리 경로로 들어가서 pod file생성
$ pod init
xcode 14.2 에서는 에러가 발생 한다. 해결 방법은 아래 그림과 같다.
PROJECT > Identity Inspector > Project Document > Project Format : Xcode 13.0-compatible 로 변경
3. pod file을 열어서 편집 (편집기 안쓰고 그냥 폴더에서 더블클리하면 편하게 열림)
3. Podfile에 적어놓은 pod을 설치
$ pod install
728x90
반응형
LIST