Facebook-sdk-for-unity: Error building for ios with versions 7.21.2, 7.21.1, 7.20.0

Created on 18 Aug 2020  路  2Comments  路  Source: facebook/facebook-sdk-for-unity

Environment

  • Unity Editor Version: 2019.3.1
  • Unity SDK Version: 7.21.2, 7.21.1,7.20.0
  • XCode 11.6

Goals

Build for iOS

Description

We were having this issue:

14:48:12 fatal error: module map file '/Users/macone/jenkins-ws/WINGS/ios@3/Build/builds/Debug-iphoneos/FBSDKCoreKit/FBSDKCoreKit.modulemap' not found

And we solved by running pod update on terminal.
Now we are having the error bellow. I tried sdk versions 7.21.2, 7.21.1, 7.20.0 and 7.19.2.

Actual Results

00:11:58.376 ld: warning: arm64 function not 4-byte aligned: _unwind_tester from /Users/macone/jenkins-ws/WINGS/ios@3/Build/WINGS-0.1.0-d.1492-DEBUG_BUILD/Libraries/libiPhone-lib.a(unwind_test_arm64.o) 00:12:00.262 Undefined symbols for architecture arm64: 00:12:00.262 "_OBJC_CLASS_$_FBSDKURL", referenced from: 00:12:00.262 objc-class-ref in FBUnityUtility.o 00:12:00.517 "_FBSDKErrorLocalizedDescriptionKey", referenced from: 00:12:00.517 +[FBUnityUtility sendErrorToUnity:error:requestId:] in FBUnityUtility.o 00:12:00.773 "_OBJC_CLASS_$_FBSDKGamingVideoUploaderConfiguration", referenced from: 00:12:00.773 objc-class-ref in FBUnityInterface.o 00:12:01.028 "_FBSDKErrorDeveloperMessageKey", referenced from: 00:12:01.028 +[FBUnityUtility sendErrorToUnity:error:requestId:] in FBUnityUtility.o 00:12:01.589 "_OBJC_CLASS_$_FBSDKGamingImageUploader", referenced from: 00:12:01.589 objc-class-ref in FBUnityInterface.o 00:12:01.844 "_OBJC_CLASS_$_FBSDKGamingImageUploaderConfiguration", referenced from: 00:12:01.844 objc-class-ref in FBUnityInterface.o 00:12:02.099 "_OBJC_CLASS_$_FBSDKAppEvents", referenced from: 00:12:02.099 objc-class-ref in FBUnityInterface.o 00:12:02.659 "_OBJC_CLASS_$_FBSDKShareLinkContent", referenced from: 00:12:02.659 objc-class-ref in FBUnityInterface.o 00:12:02.915 "_OBJC_CLASS_$_FBSDKLoginManager", referenced from: 00:12:02.915 objc-class-ref in FBUnityInterface.o 00:12:03.170 "_OBJC_CLASS_$_FBSDKAppLinkUtility", referenced from: 00:12:03.170 objc-class-ref in FBUnityInterface.o 00:12:03.425 "_OBJC_CLASS_$_FBSDKGameRequestDialog", referenced from: 00:12:03.680 objc-class-ref in FBUnityInterface.o 00:12:03.935 "_OBJC_CLASS_$_FBSDKShareDialog", referenced from: 00:12:03.935 objc-class-ref in FBUnityInterface.o 00:12:04.190 "_OBJC_CLASS_$_FBSDKGameRequestContent", referenced from: 00:12:04.190 objc-class-ref in FBUnityInterface.o 00:12:04.751 "_OBJC_CLASS_$_FBSDKSettings", referenced from: 00:12:04.751 objc-class-ref in FBUnityInterface.o 00:12:05.007 "_OBJC_CLASS_$_FBSDKFriendFinderDialog", referenced from: 00:12:05.007 objc-class-ref in FBUnityInterface.o 00:12:05.262 "_OBJC_CLASS_$_FBSDKGamingVideoUploader", referenced from: 00:12:05.262 objc-class-ref in FBUnityInterface.o 00:12:05.518 "_OBJC_CLASS_$_FBSDKAccessToken", referenced from: 00:12:05.518 objc-class-ref in FBUnityInterface.o 00:12:06.078 "_OBJC_CLASS_$_FBSDKApplicationDelegate", referenced from: 00:12:06.078 objc-class-ref in FBUnityInterface.o 00:12:06.641 ld: symbol(s) not found for architecture arm64 00:12:06.641 clang: error: linker command failed with exit code 1 (use -v to see invocation) 00:12:06.641 00:12:06.641 ** ARCHIVE FAILED **

bug

Most helpful comment

Facebook, with respect, please please please invest time, attention and/or money into better QA or something. I'm not trolling... 1 out of (roughly) every 5 major facebook unity sdk versions has been usable. Many fail to build on an empty project. Updates and fixes take months to follow up and regularly bring new similar blocking issues. If it wasn't for community workarounds things would be even worse.

Please!

All 2 comments

Any updates on this?

Facebook, with respect, please please please invest time, attention and/or money into better QA or something. I'm not trolling... 1 out of (roughly) every 5 major facebook unity sdk versions has been usable. Many fail to build on an empty project. Updates and fixes take months to follow up and regularly bring new similar blocking issues. If it wasn't for community workarounds things would be even worse.

Please!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

michelleran picture michelleran  路  4Comments

naklow12 picture naklow12  路  6Comments

fliperamma picture fliperamma  路  3Comments

derwaldgeist picture derwaldgeist  路  4Comments

MorganMoon picture MorganMoon  路  7Comments