DrMoriarty / godot-facebook

Facebook module for Godot Game Engine (android and iOS)
MIT License
81 stars 23 forks source link

Getting an error when compiling for iOS: use of undeclared identifier 'ERR_EXPLAIN' #6

Closed guybashan closed 3 years ago

guybashan commented 4 years ago

Reproduce:

You will get the following error:

2 warnings generated.
[  5%] Linking Static Library ==> platform/iphone/libiphone.iphone.debug.arm.a
Ranlib Library         ==> platform/iphone/libiphone.iphone.debug.arm.a
[  5%] Compiling ==> main/default_controller_mappings.gen.cpp
[  5%] Compiling ==> main/input_default.cpp
[  7%] Compiling ==> main/main.cpp
[  7%] Compiling ==> main/main_timer_sync.cpp
[  7%] Compiling ==> main/performance.cpp
[  7%] Linking Static Library ==> main/libmain.iphone.debug.arm.a
Ranlib Library         ==> main/libmain.iphone.debug.arm.a
[  8%] Compiling ==> modules/register_module_types.gen.cpp
[  8%] Compiling ==> modules/GodotFacebook/ios/Facebook.mm
modules/GodotFacebook/ios/Facebook.mm:44:9: error: use of undeclared identifier 'ERR_EXPLAIN' [2]
         ERR_EXPLAIN("Unknown conversion method for type");
         ^
modules/GodotFacebook/ios/Facebook.mm:207:61:{207:97-207:100}: warning: null passed to a callee that requires a non-null argument [-Wnonnull,31]
     FBSDKGraphRequest *request = [[FBSDKGraphRequest alloc] initWithGraphPath:@"/me" parameters:nil];
                                                             ^                                   ~~~
1 warning and 1 error generated.
DrMoriarty commented 3 years ago

Plugin updated and using now new plugin management system.