2016-08-16 5 views
3

반응 기본 언어로 만들어진 IOS에 libary (푸셔)를 설치하려고합니다. 내가 사용React 네이티브 및 포드 설치 실패

명령은

pod 'libPusher', git: 'https://github.com/pusher/libPusher.git', branch: 'push-notifications 

내가

[!] Unknown command: `libPusher,` 
Did you mean: list? 
Usage: 
    $ pod COMMAND 
     CocoaPods, the Cocoa library package manager. 
... 

나는이 포드 설치가 작동하지 않는 이유를 아무 생각했다있어 오류였다. 광고 모음 버전은 1.0.1입니다. (pod --version)

나에게 어떤 생각이라도 알려주세요.

답변

0

Pusher가 제공 한 줄은 명령 줄이 아님을 알았습니까? 당신의 Podfile에 추가

target 'MyApp' do 
    pod 'libPusher', git: 'https://github.com/pusher/libPusher.git', branch: 'push-notifications' 
end 

그런 다음 그것을 설치하는 pod install를 실행

0

에 한번 당신의 시험에 -lc++를 추가 Other Linker Flags

관련 문제