Forums

OverviewV-Play Plugins Support › FacebookSample problem

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #10138

    Jani

    Hi,

    I recently downloaded FacebookSample from the GitHub and tried to compile & deploy it (for iOS) from Qt Creator. I am getting the following error:

     

    Undefined symbols for architecture arm64:
      "_OBJC_CLASS_$_FBFriendPickerViewController", referenced from:
          objc-class-ref in libFacebookPlugin_debug.a(facebookitem_ios.o)
      "_OBJC_CLASS_$_FBRequestConnection", referenced from:
          objc-class-ref in libFacebookPlugin_debug.a(facebookitem_ios.o)
      "_OBJC_CLASS_$_FBRequest", referenced from:
          objc-class-ref in libFacebookPlugin_debug.a(facebookitem_ios.o)
      "_OBJC_CLASS_$_FBSettings", referenced from:
          objc-class-ref in libFacebookPlugin_debug.a(facebookitem_ios.o)
      "_FBErrorLoginFailedReasonUserCancelledValue", referenced from:
          ____ZN12FacebookItem11openSessionEb_block_invoke in libFacebookPlugin_debug.a(facebookitem_ios.o)
          ____ZN12FacebookItem16sendGraphRequestERK7QStringS2_RK4QMapIS0_8QVariantE_block_invoke_2180 in libFacebookPlugin_debug.a(facebookitem_ios.o)
      "_OBJC_CLASS_$_FBSession", referenced from:
          objc-class-ref in libFacebookPlugin_debug.a(facebookitem_ios.o)
      "_FBErrorLoginFailedReason", referenced from:
          ____ZN12FacebookItem11openSessionEb_block_invoke in libFacebookPlugin_debug.a(facebookitem_ios.o)
          ____ZN12FacebookItem16sendGraphRequestERK7QStringS2_RK4QMapIS0_8QVariantE_block_invoke_2180 in libFacebookPlugin_debug.a(facebookitem_ios.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 installed Facebook plug-in through Qt MaintenanceTool. Are there any other steps that needs to be done in order to compile and deploy FacebookSample?

    BR, Jani

    • This topic was modified 2 years, 10 months ago.
    #10140

    Alex
    V-Play Team

    Hi Jani,

    Sorry for that, we indeed found an issue with Qt’s build system regarding framework dependencies. I just pushed a new commit to GitHub, could you please clone or download the latest source and give it another try?

    Thanks for pointing that out!

    Best,

    Alex

    #10141

    Jani

    Hi,

    Thank you, now it works fine!

    Best,

    Jani

Viewing 3 posts - 1 through 3 (of 3 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support