Khi tôi cố gắng chạy ion build ios hoặc cố gắng xây dựng kho lưu trữ cho các dự án xcode tạo ra bởi ion tôi nhận được lỗi nàyWizcorp/PhoneGap-facebook-plugin: xây dựng ios thất bại
**FacebookConnectPlugin.m**:27:44: error: no visible @interface for 'CDVPlugin' declares the selector 'initWithWebView:' self = (FacebookConnectPlugin *)[super initWithWebView:theWebView]; ~~~~~ ^~~~~~~~~~~~~~~ /Applications/MAMP/htdocs/hybrid-mobile-app/platforms/ios/qudratApp/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) { ~~~~~~~~~~~~~~~~~~^~ 1 warning and 1 error generated.
** BUILD FAILED **
The following build commands failed: CompileC build/qudratApp.build/Debug-iphonesimulatorqudratApp.build/Objects-normal/i386/FacebookConnectPlugin.o qudratApp/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,/Applications/MAMP/htdocs/hybrid-mobile-app/platforms/ios/cordova/build-debug.xcconfig,-project,qudratApp.xcodeproj,ARCHS=i386,-target,qudratApp,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Applications/MAMP/htdocs/hybrid-mobile-app/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Applications/MAMP/htdocs/hybrid-mobile-app/platforms/ios/build/sharedpch
Bạn gặp nhiều may mắn với vấn đề này? Tôi đang ở ngày thứ hai và vẫn không có may mắn. Lỗi của chúng tôi trông hơi khác một chút, nhưng cũng giống với @interface cho 'CDVPlugin'. –
Nopes không có may mắn, tôi đã xóa facebook từ ios cho đến bây giờ cho đến khi tôi nhận được một sửa chữa cho nó, Chính xác lỗi của bạn là gì –
Vấn đề đã được giải quyết, tham khảo: https://github.com/Wizcorp/phonegap-facebook -plugin/issues/1227 –