Forums

OverviewV-Play 2 Support (Qt 5) › Build for iOS fails with duplicate symbols

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #8576

    Jonni

    Hi

     

    I installed V-Play 2 from official packages and it seems all the V-Play examples cannot be built for target iPhone simulator out of the box. I get the following error when trying all examples with iOS as target (Squaby is here as an example):

     

     

     

    /Volumes/Silo/VPlay/Examples/V-Play/demos/build-Squaby-iphonesimulator_clang_Qt_5_4_0_for_iOS-Debug/Debug-iphonesimulator/Squaby.app/Squaby

    duplicate symbol __ZN14QQuickKeyEvent18qt_static_metacallEP7QObjectN11QMetaObject4CallEiPPv in:

    /Volumes/Silo/VPlay/5.4/ios/lib/libVPlay_iphonesimulator_debug.a(moc_globalkeyforwarder.o)

    /Volumes/Silo/VPlay/5.4/ios/lib/libQt5Quick_iphonesimulator_debug.a(moc_qquickevents_p_p.o)

    duplicate symbol __ZNK14QQuickKeyEvent10metaObjectEv in:

    /Volumes/Silo/VPlay/5.4/ios/lib/libVPlay_iphonesimulator_debug.a(moc_globalkeyforwarder.o)

    /Volumes/Silo/VPlay/5.4/ios/lib/libQt5Quick_iphonesimulator_debug.a(moc_qquickevents_p_p.o)

    duplicate symbol __ZN14QQuickKeyEvent16staticMetaObjectE in:

    /Volumes/Silo/VPlay/5.4/ios/lib/libVPlay_iphonesimulator_debug.a(moc_globalkeyforwarder.o)

    /Volumes/Silo/VPlay/5.4/ios/lib/libQt5Quick_iphonesimulator_debug.a(moc_qquickevents_p_p.o)

    duplicate symbol __ZN14QQuickKeyEvent11qt_metacastEPKc in:

    /Volumes/Silo/VPlay/5.4/ios/lib/libVPlay_iphonesimulator_debug.a(moc_globalkeyforwarder.o)

    /Volumes/Silo/VPlay/5.4/ios/lib/libQt5Quick_iphonesimulator_debug.a(moc_qquickevents_p_p.o)

    duplicate symbol __ZN14QQuickKeyEvent11qt_metacallEN11QMetaObject4CallEiPPv in:

    /Volumes/Silo/VPlay/5.4/ios/lib/libVPlay_iphonesimulator_debug.a(moc_globalkeyforwarder.o)

    /Volumes/Silo/VPlay/5.4/ios/lib/libQt5Quick_iphonesimulator_debug.a(moc_qquickevents_p_p.o)

    duplicate symbol __ZTV14QQuickKeyEvent in:

    /Volumes/Silo/VPlay/5.4/ios/lib/libVPlay_iphonesimulator_debug.a(moc_globalkeyforwarder.o)

    /Volumes/Silo/VPlay/5.4/ios/lib/libQt5Quick_iphonesimulator_debug.a(moc_qquickevents_p_p.o)

    duplicate symbol __ZTI14QQuickKeyEvent in:

    /Volumes/Silo/VPlay/5.4/ios/lib/libVPlay_iphonesimulator_debug.a(moc_globalkeyforwarder.o)

    /Volumes/Silo/VPlay/5.4/ios/lib/libQt5Quick_iphonesimulator_debug.a(moc_qquickevents_p_p.o)

    duplicate symbol __ZTS14QQuickKeyEvent in:

    /Volumes/Silo/VPlay/5.4/ios/lib/libVPlay_iphonesimulator_debug.a(moc_globalkeyforwarder.o)

    /Volumes/Silo/VPlay/5.4/ios/lib/libQt5Quick_iphonesimulator_debug.a(moc_qquickevents_p_p.o)

    ld: 8 duplicate symbols for architecture i386

    clang: error: linker command failed with exit code 1 (use -v to see invocation)

    make[1]: *** [iphonesimulator-debug] Error 65

    make: *** [debug-iphonesimulator] Error 2

    17:36:56: The process “/usr/bin/make” exited with code 2.

    Error while building/deploying project Squaby (kit: iphonesimulator-clang Qt 5.4.0 for iOS)

    When executing step “Make”

     

     

     

    I have reinstalled V-Play to a new directory but it still gives the same error. QT 5.4 iOS examples work ok.

     

    Any ideas or is it just me? :)

     

    Thanks.

     

    –Jonni

    #8578

    Alex
    V-Play Team

    Hi Jonni,

    there is indeed a problem with iOS Simulator with current V-Play version 2.3.0, it will be fixed with the next update within the next couple of days. In the meantime you can build our demo games for all other supported platforms.

    Best,

    Alex

Viewing 2 posts - 1 through 2 (of 2 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