2016년 3월 15일 화요일

Cordova Facebook Plugin iOS error


Use Cordova + Facebook plugin occur error on my project

Error under xcode:
/Plugins/com.phonegap.plugins.facebookconnect/FacebookConnectPlugin.m:27:44: No visible@interface for 'CDVPlugin' declares the selector 'initWithWebView:'

My project system versions
- Cordova 6.0.0
- Cordova iOS 4.0.1
- Cordova android 5.1.1
- phonegap-facebook-plugin 0.12.0

In this problem,
I search on google with this string.
error: no visible @interface for 'CDVPlugin' declares the selector 'initWithWebView:'

And result,
https://github.com/Wizcorp/phonegap-facebook-plugin/issues/1227

This problem can fix use this fork plugin project.
https://github.com/Telerik-Verified-Plugins/Facebook

$git clone https://github.com/Telerik-Verified-Plugins/Facebook.git
$cordova -d plugin add ./Facebook --variable APP_ID="yourappid" --variable APP_NAME="yourappname"
$cordova build ios

** BUILD SUCCEEDED **

Fix error complete!

댓글 없음:

댓글 쓰기

JIRA Plugin - ScriptRunner 소개 #2

관련 글 소개 #1:  https://pineoc.blogspot.com/2019/03/scriptrunner-1.html ScriptRunner 소개 #2 지난 글에서는 Behaviours를 보았고 다음 내용인 콘솔, 리스너 등을 ...