Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Willseph · Oct 14, 2015 at 09:40 AM · iosmobilefacebooklinkerarmv7

Error building for iOS: framework not found FBSDKCoreKit for architecture armv7

I recently updated my OSX to El Capitan and, because of an issue with my previous version of Unity (v 5.0.1 I believe), I was forced to update to the latest version (5.2.1f1). Now, when I build for iOS, I get the following error during the linking process:

 ld: framework not found FBSDKCoreKit for architecture armv7
 clang: error: linker command failed with exit code 1 (use -v to see invocation)

I am using the Soomla library for in-app purchases and social integration, as well as Parse for the online database. I believe at least one of these libraries could be responsible for this, since they both contain Facebook-related code. In any case, I can't figure out what I need to try next. Both plugins have been updated to their latest versions.

I attempted building with the Mono2x scripting backend first, as usual. Then, I tried changing it to IL2CPP and tried compiling for armv7, arm64, and the Universal architecture options. Nothing worked.

I also tried manually adding the FBSDKCoreKit framework file downloaded from https://developers.facebook.com/docs/ios. This also didn't work, except this time I got a slightly different error:

 ld: framework not found FBSDKCoreKit
 clang: error: linker command failed with exit code 1 (use -v to see invocation)

I'm not sure why it would say this when I explicitly add the framework into the Xcode project. Could anyone give me any insight?

UPDATE:

Following @fraoula's advice, I added the download directory of the Facebook SDK files to the Framework Search Paths under the Xcode Build Settings. By doing so, it appears that the likelihood of the issue ultimately being caused by the Soomla plugin has risen. Here are the new linker errors:

 ld: warning: Auto-Linking supplied '/Users/willseph/Downloads/Chrome/FacebookSDKs-iOS-20151007/FBSDKCoreKit.framework/FBSDKCoreKit', framework linker option at /Users/willseph/Downloads/Chrome/FacebookSDKs-iOS-20151007/FBSDKCoreKit.framework/FBSDKCoreKit is not a dylib
 Undefined symbols for architecture armv7:
   "_soomlaSync_initialize", referenced from:
       RegisterMonoModules() in RegisterMonoModules.o
   "_soomlaSync_resetState", referenced from:
       RegisterMonoModules() in RegisterMonoModules.o
   "_soomlaHighway_setHighwayUrl", referenced from:
       RegisterMonoModules() in RegisterMonoModules.o
   "_iosFBAppEventsLogPurchase", referenced from:
       RegisterMonoModules() in RegisterMonoModules.o
   "_soomlaGifting_sendGift", referenced from:
       RegisterMonoModules() in RegisterMonoModules.o
   "_soomlaHighway_setServicesUrl", referenced from:
       RegisterMonoModules() in RegisterMonoModules.o
   "_iosSetShareDialogMode", referenced from:
       RegisterMonoModules() in RegisterMonoModules.o
   "_soomlaDlc_checkPackageStatus", referenced from:
       RegisterMonoModules() in RegisterMonoModules.o
   "_soomlaGifting_initialize", referenced from:
       RegisterMonoModules() in RegisterMonoModules.o
   "_iosLogout", referenced from:
       RegisterMonoModules() in RegisterMonoModules.o
   "_soomlaDlc_startSync", referenced from:
       RegisterMonoModules() in RegisterMonoModules.o
   "_soomlaDlc_initialize", referenced from:
       RegisterMonoModules() in RegisterMonoModules.o
   "_soomlaDlc_getFilesPathsInPackage", referenced from:
       RegisterMonoModules() in RegisterMonoModules.o
   "_iosInit", referenced from:
       RegisterMonoModules() in RegisterMonoModules.o
   "_soomlaDlc_getFilePath", referenced from:
       RegisterMonoModules() in RegisterMonoModules.o
   "_iosAppRequest", referenced from:
       RegisterMonoModules() in RegisterMonoModules.o
   "_soomlaDlc_checkSyncedPackagesStatus", referenced from:
       RegisterMonoModules() in RegisterMonoModules.o
   "_iosFBAppEventsLogEvent", referenced from:
       RegisterMonoModules() in RegisterMonoModules.o
   "_soomlaQuery_queryFriendsStates", referenced from:
       RegisterMonoModules() in RegisterMonoModules.o
   "_iosFeedRequest", referenced from:
       RegisterMonoModules() in RegisterMonoModules.o
   "_soomlaHighway_start", referenced from:
       RegisterMonoModules() in RegisterMonoModules.o
   "_iosLogin", referenced from:
       RegisterMonoModules() in RegisterMonoModules.o
   "_iosJoinGameGroup", referenced from:
       RegisterMonoModules() in RegisterMonoModules.o
   "_iosFBSettingsActivateApp", referenced from:
       RegisterMonoModules() in RegisterMonoModules.o
   "_iosCreateGameGroup", referenced from:
       RegisterMonoModules() in RegisterMonoModules.o
   "_soomlaSync_resolveConflict", referenced from:
       RegisterMonoModules() in RegisterMonoModules.o
   "_iosFBSettingsPublishInstall", referenced from:
       RegisterMonoModules() in RegisterMonoModules.o
   "_iosGetDeepLink", referenced from:
       RegisterMonoModules() in RegisterMonoModules.o
   "_soomlaHighway_initialize", referenced from:
       RegisterMonoModules() in RegisterMonoModules.o
   "_soomlaSync_registerUnityConflictResolver", referenced from:
       RegisterMonoModules() in RegisterMonoModules.o
   "_iosFBAppEventsSetLimitEventUsage", referenced from:
       RegisterMonoModules() in RegisterMonoModules.o
 ld: symbol(s) not found for architecture armv7
 clang: error: linker command failed with exit code 1 (use -v to see invocation)

I'm not sure what this indicates, but I have a hunch that Xcode is looking for these Soomla-related symbols within the FBSDKCoreKit framework. There may be a modified version of it provided by Soomla that I can't find, but in any case, I'm still stuck.

However I do believe this warrants an inquiry on Soomla's own support forum. If anyone here still has experience with Soomla or could offer any additional insight, it would be very much appreciated.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by fraoula · Oct 15, 2015 at 01:11 AM

Hi!

I had the same problem. I solved it by adding FacebookSDK path to Framework Search Paths located under build settings.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Willseph · Oct 15, 2015 at 06:39 AM 0
Share

Thanks for the insight! I have updated my question with the outcome of your suggestion.

avatar image
0

Answer by ndmrzk · Mar 21, 2020 at 10:39 AM

Hi, this is super old, but how to add the facebook sdk path? i have the sdk file in Documents/facebook-unity-sdk-7.19.0⁩/FacebookSDK⁩/facebook-unity-sdk-7.19.0.unitypackage How do i add that into the Framework Search Paths. I mean i found where Framework Search Paths is, i mean the facebook sdk path, should i just put "Documents/facebook-unity-sdk-7.19.0⁩/FacebookSDK⁩" or how?

Also, when importing the frameworks arent automatically created is that an issue?

@fraoula

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Do our company need a Facebook business account for integrating our unity game? 1 Answer

iOS Objective C plugin linker error 2 Answers

Apple Mach-O Linker Error 4 Answers

Facebook - Is it possible to logout other active sessions? 0 Answers

Simple Unity3d Facebook Integration? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges