Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- rxswift
- UICollectionView
- combine
- collectionview
- 클린 코드
- clean architecture
- Human interface guide
- RxCocoa
- 리펙터링
- MVVM
- 스위프트
- Observable
- 리펙토링
- Protocol
- map
- UITextView
- Clean Code
- Xcode
- tableView
- swift documentation
- 애니메이션
- uiscrollview
- HIG
- 리팩토링
- ios
- uitableview
- swiftUI
- Refactoring
- ribs
- SWIFT
Archives
- Today
- Total
김종권의 iOS 앱 개발 알아가기
[iOS - swift] Cocoapods을 submodule로 추가해서 사용하는 방법 (:Path => '') 본문
iOS 응용 (swift)
[iOS - swift] Cocoapods을 submodule로 추가해서 사용하는 방법 (:Path => '')
jake-kim 2022. 9. 2. 21:54Cocoapods을 submodule로 추가하기
- cocoapods을 private repo로 설정하여 관리하는 경우(사내 배포), 각각 인증에 사용할때 어려움이 있지만, submodule로 사용하면 인증 문제를 쉽게 해결이 가능
- submodule로 추가할 GitHub에서 SSH URL로 복사
- submodule이 추가될 폴더를 미리 프로젝트 하위에 생성
- submodule 추가 (예제에서는 source tree 사용)
- source tree를 사용하여 submodule 추가 방법은 포스팅 글을 참고
- 복사한 url을 입력하고 Local Relative Path에 위에서 추가한 RxSwift 폴더로 지정
- Podfile에 입력
- pod '{사용하려는 모듈 이름}', :path => '{서브모듈이 있는 경로}'
target 'ExProject' do
use_frameworks!
pod 'RxSwift', :path => './RxSwift'
end
- 이후 pod install을 하면 설치 완료
* 전체 코드: https://github.com/JK0369/ExProject
'iOS 응용 (swift)' 카테고리의 다른 글
Comments