想要第一次使用xcode和phonegap。因爲我正在做很多facebook應用程序,所以我想用Facebook登錄創建一個本地iOS應用程序。facebook phonegap插件沒有在xcode中顯示
遵循的步驟在這裏:https://github.com/davejohnson/phonegap-plugin-facebook-connect
得到了問題,這個插件犯規出現。
我在我的項目的插件文件夾複製這樣的: http://i.stack.imgur.com/ueYk0.png
但現在顯示在Xcode在項目結構黃色文件夾或文件。
認爲這是合乎邏輯的,我得到了以下錯誤:
["org.apache.cordova.facebook.Connect2","org.apache.cordova.facebook.Connect","init",["471175846247043"]]
2012-10-04 21:10:19.015 HelloWorld[5476:c07] CDVPlugin class FacebookConnectPlugin (pluginName: org.apache.cordova.facebook.Connect) does not exist.
2012-10-04 21:10:19.017 HelloWorld[5476:c07] ERROR: Plugin 'org.apache.cordova.facebook.Connect' not found, or is not a CDVPlugin. Check your plugin mapping in Cordova.plist.
2012-10-04 21:10:19.018 HelloWorld[5476:c07] FAILED pluginJSON = ["org.apache.cordova.facebook.Connect3","org.apache.cordova.facebook.Connect","getLoginStatus",[]]
2012-10-04 21:10:23.571 HelloWorld[5476:c07] CDVPlugin class FacebookConnectPlugin (pluginName: org.apache.cordova.facebook.Connect) does not exist.
2012-10-04 21:10:23.573 HelloWorld[5476:c07] ERROR: Plugin 'org.apache.cordova.facebook.Connect' not found, or is not a CDVPlugin. Check your plugin mapping in Cordova.plist.
2012-10-04 21:10:23.575 HelloWorld[5476:c07] FAILED pluginJSON = ["org.apache.cordova.facebook.Connect4","org.apache.cordova.facebook.Connect","login",["email"]]
有你申報權限使用插件?或者不是iOS的必需品? – h3rj4n