2017-11-16 15 views
0

, 나는 커플이 오류에 갇혀있다

let geofireRef = Database.database().reference().child("USER") 


override func viewDidLoad() { 
    super.viewDidLoad() 


    let geoFire = GeoFire(firebaseRef: geofireRef) 
} 

링커 오류를 얻을 시간. 아직 무엇을 어떻게 해결해야할지 확실하지 않습니다. 그것은 내 Podfile

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

target 'App' do 
    # Comment the next line if you're not using Swift and don't want to use dynamic frameworks 
    use_frameworks! 

    pod 'Firebase' 
    pod 'FirebaseCore’ 
    pod 'FirebaseAuth' 
    pod 'FirebaseStorage' 
    pod 'FirebaseDatabase' 
    pod 'Material' 
    pod 'Kingfisher', '~> 4.0' 
    pod 'MapKitGoogleStyler' 
    pod 'GeoFire', :git => 'https://github.com/firebase/geofire-objc.git' 
    pod 'Mapbox-iOS-SDK', '~> 3.6' 
    pod 'MapboxDirections.swift', '~> 0.12' 

    #Pods for App 

    target 'AppTests' do 
    inherit! :search_paths 
    # Pods for testing 
    end 

    target 'AppUITests' do 
    inherit! :search_paths 
    # Pods for testing 
    end 

입니다 그리고 그것은 내가

정의되지 않은 심볼 아키텍처 arm64를위한 엑스 코드에서 가져온 오류입니다 : SecondMainViewController에서-REF objc 수준의 : 에서 참조 "_OBJC_CLASS _ $ _ GeoFire" 오류 : .o 인 LD : 아키텍처 arm64 그 소리 찾을 수 없습니다 기호 (들) 링커 명령은

답변

0

(호출을보기 위해 사용 -v) 종료 코드 1로 실패 I 이유는 모르지만 pod 'GeoFire', :git => 'https://github.com/firebase/geofire-objc.git', :branch => 'mpmcdonald-use-community'을 추가하여 답을 찾았으며 완벽하게 실행되었습니다.

Reference Link from Github