title: FacebookSDK for Unity iOS Mach-O linker error - undefined symbols _iosLogin,
body: <p>I've added FacebookSDK into my Unity project according to tutorial here <a href="https://developers.facebook.com/docs/unity/getting-started/canvas/" rel="nofollow">https://developers.facebook.com/docs/unity/getting-started/canvas/</a>.</p>
  
  <p>It means that I've downloaded the SDK .unitypackage, imported it into Unity project and set application name and ID in configuration settings inspector.</p>
  
  <p>When I try to build for device, Xcode build hangs on following Mach-O linker error:</p>
  
  <pre><code>Undefined symbols for architecture armv7:
    "_iosLogin", referenced from:
        RegisterMonoModules() in RegisterMonoModules.o
    "_iosLogout", referenced from:
        RegisterMonoModules() in RegisterMonoModules.o
    "_iosInit", referenced from:
        RegisterMonoModules() in RegisterMonoModules.o
    "_iosSetShareDialogMode", referenced from:
        RegisterMonoModules() in RegisterMonoModules.o
    "_iosFeedRequest", referenced from:
        RegisterMonoModules() in RegisterMonoModules.o
    "_iosAppRequest", referenced from:
        RegisterMonoModules() in RegisterMonoModules.o
    "_iosFBSettingsPublishInstall", referenced from:
        RegisterMonoModules() in RegisterMonoModules.o
    "_iosFBAppEventsSetLimitEventUsage", referenced from:
        RegisterMonoModules() in RegisterMonoModules.o
    "_iosGetDeepLink", referenced from:
        RegisterMonoModules() in RegisterMonoModules.o
    "_iosFBAppEventsLogPurchase", referenced from:
        RegisterMonoModules() in RegisterMonoModules.o
    "_iosFBAppEventsLogEvent", 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)
  </code></pre>
  
  <p>It looks like Unity, Xcode or me forgot to include some library, search path or source file somewhere. Can you help me to find out what happened wrong? Do you know in which file this symbols should be or how to setup linker?</p>
  
  <pre><code>Unity 4.3.0f4 (also tried 4.2.?)
  Facebook SDK 4.3.4 (also tried 4.3.3)
  Xcode 5.0.2, deployment target 4.0 (also tried 6.1)
  </code></pre>