Hi,
I am trying to update the cocos2d-x version of my game from 3.3 to 3.10 and I have trouble linking the FacebookSDK framework in Xcode (latest version). It gets ignored because it is was built for unsupported file format and if I remove it from Project Settings -> Build Phrases -> Link Binary With Librarys only the warning disappears and the errors are the same.
ld: warning: ignoring file /Users/axel/Desktop/cocos2d-x-3.10/Projects/ZombieRunGame/cocos2d/plugin/plugins/facebook/proj.ios/FacebookSDK.framework/FacebookSDK, file was built for unsupported file format ( 0x2E 0x2F 0x56 0x65 0x72 0x73 0x69 0x6F 0x6E 0x73 0x2F 0x41 0x2F 0x46 0x61 0x63 ) which is not the architecture being linked (arm64): /Users/axel/Desktop/cocos2d-x-3.10/Projects/ZombieRunGame/cocos2d/plugin/plugins/facebook/proj.ios/FacebookSDK.framework/FacebookSDK
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_Keeva", referenced from:
objc-class-ref in libCocos2dXCore.a(KeyValueStorage.o)
"_OBJC_CLASS_$_FBWebDialogs", referenced from:
objc-class-ref in libPluginFacebook.a(ShareFacebook.o)
"_OBJC_CLASS_$_FBLinkShareParams", referenced from:
objc-class-ref in libPluginFacebook.a(ShareFacebook.o)
"_OBJC_CLASS_$_FBGraphObject", referenced from:
objc-class-ref in libPluginFacebook.a(ShareFacebook.o)
"_OBJC_CLASS_$_FBPhotoParams", referenced from:
objc-class-ref in libPluginFacebook.a(ShareFacebook.o)
"_OBJC_CLASS_$_FBDialogs", referenced from:
objc-class-ref in libPluginFacebook.a(ShareFacebook.o)
"_OBJC_CLASS_$_FBErrorUtility", referenced from:
objc-class-ref in libPluginFacebook.a(UserFacebook.o)
"_OBJC_CLASS_$_FBOpenGraphActionParams", referenced from:
objc-class-ref in libPluginFacebook.a(ShareFacebook.o)
"_OBJC_CLASS_$_FBRequestConnection", referenced from:
objc-class-ref in libPluginFacebook.a(UserFacebook.o)
"_KEEVA_DEBUG_LOG", referenced from:
-[KeyValueStorage initWithName:andSecret:] in libCocos2dXCore.a(KeyValueStorage.o)
"_OBJC_CLASS_$_FBAppCall", referenced from:
objc-class-ref in AppController.o
"_OBJC_CLASS_$_FBAppEvents", referenced from:
objc-class-ref in libPluginFacebook.a(UserFacebook.o)
"_OBJC_CLASS_$_FBSettings", referenced from:
objc-class-ref in libPluginFacebook.a(UserFacebook.o)
objc-class-ref in libPluginFacebook.a(ShareFacebook.o)
"_OBJC_CLASS_$_FBSession", referenced from:
objc-class-ref in AppController.o
objc-class-ref in libPluginFacebook.a(UserFacebook.o)
objc-class-ref in libPluginFacebook.a(ShareFacebook.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I have copied only the classes to a clean project and modified all other files to fit with my project. I also tried readding the framework or making a clean build. I have set Xcode to build only for active architecture but when I set it to build for every architecture with armv7 the errors also occur. Does anyone have an idea how to fix this?
As I tried to build with different combinations of architectures and valid architectures in the single projects (armv7s, armv7 or arm64) maybe something is broken in the project now?
There are also linking errors with soomla, but maybe I can fix them the same way when I was able to fix the Facebook SDK error.
If anyone can give me a hint what to do that would be great 
Thanks in advance.