dev._.note

Kingfisher 설치 본문

Dev/환경설정

Kingfisher 설치

Laena 2024. 1. 18. 10:54

Kingfisher 라이브러리 설치

1. 프로젝트 폴더에서 터미널 열기

2. 코코아팟 설치

3. Podfile 열기

open -a Xcode Podfile

 

4. Podfile에 Kingsher 추가해주기 위해 아래와 같이 내용을 수정

# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'

target 'play-test' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!

  # Pods for play-test
  pod 'Kingfisher'
end

 

5. 저장한 후 라이브러리 설치. 터미널에서 아래 명령어 입력

pot install

 

6. 설치가 완료되면 .xcworkspace 파일을 사용하여 Xcode에서 import Kingfisher를 추가하여 사용

파인더에서 설치완료 확인