Wizcorp / phonegap-facebook-plugin

The official plugin for Facebook in Apache Cordova/PhoneGap
Other
1.91k stars 2.01k forks source link

cordova build ios error #1291

Open luisbahamonde opened 8 years ago

luisbahamonde commented 8 years ago
                                 ~~~~~ ^~~~~~~~~~~~~~~

/Users/luisbahamonde/Documents/proyectosdev/tecnecaprojects/vivecamino/platforms/ios/Vive Camino/Plugins/phonegap-facebook-plugin/FacebookConnectPlugin.m:238:9: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] if (!command.arguments == 2) { ^ ~~ /Users/luisbahamonde/Documents/proyectosdev/tecnecaprojects/vivecamino/platforms/ios/Vive Camino/Plugins/phonegap-facebook-plugin/FacebookConnectPlugin.m:238:9: note: add parentheses after the '!' to evaluate the comparison first if (!command.arguments == 2) { ^ ( ) /Users/luisbahamonde/Documents/proyectosdev/tecnecaprojects/vivecamino/platforms/ios/Vive Camino/Plugins/phonegap-facebook-plugin/FacebookConnectPlugin.m:238:9: note: add parentheses around left hand side expression to silence this warning if (!command.arguments == 2) { ^ ( ) /Users/luisbahamonde/Documents/proyectosdev/tecnecaprojects/vivecamino/platforms/ios/Vive Camino/Plugins/phonegap-facebook-plugin/FacebookConnectPlugin.m:238:28: warning: comparison of constant 2 with boolean expression is always false [-Wtautological-constant-out-of-range-compare] if (!command.arguments == 2) {


2 warnings and 1 error generated.

*\* BUILD FAILED **

The following build commands failed:
    CompileC build/Vive\ Camino.build/Debug-iphonesimulator/Vive\ Camino.build/Objects-normal/i386/FacebookConnectPlugin.o Vive\ Camino/Plugins/phonegap-facebook-plugin/FacebookConnectPlugin.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Error: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/luisbahamonde/Documents/proyectosdev/tecnecaprojects/vivecamino/platforms/ios/cordova/build-debug.xcconfig,-project,Vive Camino.xcodeproj,ARCHS=i386,-target,Vive Camino,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/luisbahamonde/Documents/proyectosdev/tecnecaprojects/vivecamino/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/luisbahamonde/Documents/proyectosdev/tecnecaprojects/vivecamino/platforms/ios/build/sharedpch
braianj commented 8 years ago

same here!

danilogco commented 8 years ago

+1

ricobarnes commented 8 years ago

+1

holographix commented 8 years ago

+1 damn

ghost commented 8 years ago

use this instead https://github.com/EddyVerbruggen/phonegap-facebook-plugin same plugin but it works

braianj commented 8 years ago

But it's 2 years old

AppnovaHub commented 8 years ago

Same here.

This world of 'someone wrote some code' is falling apart. Too many interdependencies. Someone makes an API, another API changes, XCode updates, everything comes falling down.

No support.

We're all Sherlocks all day on the net, figuring it out.

Something has to change here.

chasvales commented 8 years ago

+1

chasvales commented 8 years ago

This was working for me last week, I didn't change anything in my config file and now its broken. I'm using phonegap build and there was a recent update. Wonder if that has anything to do with it. Also there's no issues on android.

feliperbferraz commented 8 years ago

+1

ronal2do commented 8 years ago

+1

robertobock commented 8 years ago

Has someone found a solution for this problem???

ronal2do commented 8 years ago

Looking for facebook4 cordova

danilogco commented 8 years ago

@robertobock I gave up trying to use this plugin and I started to use this repository: https://github.com/jeduan/cordova-plugin-facebook4 This is working fine.

itslenny commented 7 years ago

Sadly, I get the same error with https://github.com/jeduan/cordova-plugin-facebook4. If I completely remove the facebook plugin everything builds perfectly fine, but I get runtime errors about the plugin missing when I try to login (obviously), but if I add it I get Error: Error code 65 for command: xcodebuild with args: -xcconfig,.....

lum3ll commented 7 years ago

Same here... problem with both plugins (I've tried that one from Jeduan without success). Any news?