NewGen
2019-03-03 ios with google firebase basic 1 본문
2019-03-03 ios with google firebase basic 1
select ios (Just Click IOS Icon)
Add app
write app name.
input Bundle ID (This is in Xcode)
4. Go to Step 2
5. Go to cocoaPods : https://cocoapods.org
6. Open terminal and install cocoaPods
7. You can see gems installed message on terminal.
8. Go to xcode project folder and type ‘pod init’
and then you can see “Podfile” in the directory.
9.open “Podfile” with TextEdit. and add and save.
pod 'Firebase/Core'
pod 'Firebase/Database'
10. type ‘pod install’ in the directory.
11. check the project directory.
12. download “GoogleService-Info.plist” from the site
13. add the “GoogleService-Info.plist” file to xcode.(Drag to xcode)
14. add file with options
15 . to the wbsite , Next Click, and add initial code
16. If you got error like this : “Could not build Objective-C module 'Firebase'
Follow this procedure
Quit Xcode.
Delete project's temp files located at ~/Library/Developer/Xcode/DerivedData
Delete ProjectName.xcworkspace
Delete Podfile.lock file and Pods folder
Run pod install.
open ProjectName.xcworkspace
check pods folder in your project tree
17. Build Project and Check communicate with google firebase web site check step.
That is basic prepare for firebase app.
'IOS' 카테고리의 다른 글
Play Video of UIWebView in LockScreen (0) | 2019.08.09 |
---|---|
how to set splash screen image. (0) | 2019.05.09 |
2019-03-15 XLSX File Open Document Based App (0) | 2019.03.15 |
앱개발중 앱 인증 문제가 발생, 설정->일반->기기관리 메뉴안보일때 (2) | 2019.02.28 |
iOS alert message box 만들기 (0) | 2019.02.17 |