상세 컨텐츠

본문 제목

(Xcode 11) how to Set Unity Firebase Analytics [Used Cocoapods]

개발생활/Unity Engine

by 한국인맛집 2019. 11. 4. 15:29

본문

반응형

 

1. Build To Unity 

 

 

2. Go to Terminal & Your Project 

 

$ cd /user/Desktop/YourProject_ROOT

 

3. pod init

$pod init

 

if you not installed Cocoapods

 

Download Linked & how to Install Cocoa pods ?  

 

 

 

4. Edit Podfile

$vi Podfile

 

/YOUR_PROJECT_ROOT/Podfile

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

target 'YOUR_TARGET' do
   use_frameworks!

  inherit! :search_paths
  pod 'FirebaseAnalytics'


end            

$open YOUR_PROJECT.xcworkspace

 

 

5. Sigining

 

 

 

 

 

6. Goto Build Settings Menu

 

BuildSettings

 

- Build Active Architecture Only : No 

- Enable Bitcode : No

- Linking -> Other Linker Flag Add : -ObjC

 

 

 

Done. !

 

반응형

관련글 더보기