왕 초보를 위한 CocoaPods(코코아팟) 사용법 (Xcode와 연동)
안녕하세요! 오늘은 CocoaPod사용법에 대해 알려드릴려고해요 :) 저는 CocoaPod 처음에 시작할 때 뭐가 뭔지 몰라서 정말 하나도 몰라서 진짜 어려운거구나...라고 생각했었어요. 하지만 한번 배워 놓
zeddios.tistory.com
코코아팟을 설치한 뒤, sqlite도 함께 설치.
코코아팟을 설치한 김에 겸사겸사 로그관련 라이브러리도 함께 설치.
하지만 db를 오픈해 값을 넣으려하자 에러가 발생.
https://github.com/stephencelis/SQLite.swift
stephencelis/SQLite.swift
A type-safe, Swift-language layer over SQLite3. Contribute to stephencelis/SQLite.swift development by creating an account on GitHub.
github.com
https://stackoverflow.com/questions/34702312/why-do-i-get-unable-to-open-database-file
Why do I get Unable to Open Database file?
I am a beginner in iOS development and I want to develop a database in my application. However, When I try to create the database it says unable to open database file. For clarification (https://g...
stackoverflow.com
What does "Fatal error: Unexpectedly found nil while unwrapping an Optional value" mean?
My Swift program is crashing with EXC_BAD_INSTRUCTION and one of the following similar errors. What does this error mean, and how do I fix it? Fatal error: Unexpectedly found nil while unwrappin...
stackoverflow.com
bundle에 추가한 db를 Document영역에 복붙을 해온 뒤 사용하여야 함. bundle에 들어있는 db자체에 접근해 사용하는 것이 막혀있음.
'Programming > Todo(App)' 카테고리의 다른 글
-3- cocoapod log 연동 (0) | 2020.11.14 |
---|---|
-1- swift에서는 pch가 없다. 싱글톤으로! (0) | 2020.10.24 |