Olive Study Room
CocoaPods(코코아팟) 사용법과 프로젝트 에러 본문
What is CocoaPod? (Swift와 Objective C에 지원하는 확장프로그램)
CocoaPods is a dependency manager for Swift and Objective-C Cocoa projects. It has over 77 thousand libraries and is used in over 3 million apps. CocoaPods can help you scale your projects elegantly.
-> 코코아팟은 Swift와 Objective-C 코코아 프로젝트들의 종속성 관리자입니다. 7만 7천개가 넘는 라이브러리를 갖고 있고 3백만개가 넘는 앱에 사용되고 있습니다. 코코아팟은 프로젝트를 우아하게 확장하도록 도와줍니다.
How to install? (터미널에 명령어 입력)
CocoaPods is built with Ruby and is installable with the default Ruby available on macOS. We recommend you use the default ruby.
-> 코코아팟은 Ruby와 함께 제작되었고 맥OS에서 사용 가능한 기본 ruby와 함께 설치 가능합니다. 기본 ruby를 사용하는 것을 추천합니다.
---------------------------------------------------------------------------------------------------------------------
Error : Import firebase 에 Could not build Objective-C module 'Firebase' 오류.
Solution : 코코아팟 문제.
출처: https://gogorchg.tistory.com/entry/iOS-Error-Could-not-build-ObjectiveC-module-Firebase [항상 초심으로]
[iOS] Error: Could not build Objective-C module 'Firebase'
Push Notification 기능을 이용하기 위해 Firebase Cloud Messaging 기능을 많이 이용 할 것이다. Firebase에서 알려준 방식으로 하다가.. Firebase가 import 안되는 현상이 발생 했다. Firebase 설정 : https://..
gogorchg.tistory.com
Error : GoogleSignIn 모듈이 존재하지 않는다는 문제. podfile을 수정하고 pod install을 하지 않아 생긴 문제. (어이없게도...)
Solution : pod 수정 후 터미널에서 꼭 pod install을 해준다. 이후 xcode는 다시 켜야함.
Error : 계속해서 full screen이 아닌 modal뷰로 뜸
Solution : segue에서 kind를 present modally로 바꾸고 presentation을 full screen으로.
stackoverflow.com/questions/56435510/presenting-modal-in-ios-13-fullscreen
Presenting modal in iOS 13 fullscreen
In iOS 13 there is a new behaviour for modal view controller when being presented. Now it's not fullscreen by default and when I try to slide down, the app just dismiss the View Controller automat...
stackoverflow.com
'Coding > iOS' 카테고리의 다른 글
[Swift] Json 다루기 (0) | 2021.03.12 |
---|---|
[iOS] UITableView의 생성, cell 삭제 (0) | 2021.03.10 |
1일차 - 로드맵의 이해 (0) | 2021.01.02 |
공부 시작 (0) | 2021.01.02 |
견주다 프로젝트 시작 (0) | 2020.09.20 |