Forums

OverviewV-Play 2 Support (Qt 5) › iOS publishing instruction

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #7995

    Vlad

    Hi

    Is there is publishing instructions for iOS games built with V-Play 2.x as it was for V-Play 1.x ?

    I’m trying to build my game with Xcode, but get linker errors with VPlay libraries (wrong architecture)

    Since I’m not very experienced in the OSX/iOS dev tools it would be nice to get such instructions

    Thanks

    #7996

    Christian
    V-Play Team

    Hi Vlad,

    we’ll add a deployment guide to V-Play v2 to the next release (ETA beginning of August).

    Cheers, Chris

    PS: congrats again to your published Android game! :)

    #7997

    Vlad

    Thanks, Chris!

    #8005

    Vlad

    Any idea how to fix this issue?

    ld: warning: ignoring file /Users/yuliiastelmakhovska/Qt5.3/5.3/ios/lib/libVPlay.a, file was built for archive which is not the architecture being linked (i386): /Users/yuliiastelmakhovska/Qt5.3/5.3/ios/lib/libVPlay.a
    Undefined symbols for architecture i386:
      "VPApplication::initialize(QQmlEngine*)", referenced from:
          _qtmn in main.o
      "VPApplication::setMainQmlFileName(QString const&)", referenced from:
          _qtmn in main.o
      "VPApplication::VPApplication(QObject*)", referenced from:
          _qtmn in main.o
      "VPApplication::mainQmlFileName() const", referenced from:
          _qtmn in main.o
      "vtable for VPApplication", referenced from:
          VPApplication::~VPApplication() in main.o
      NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
    ld: symbol(s) not found for architecture i386
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    

    Thanks

    #8006

    Alex
    V-Play Team

    Hi,

    are you starting your game from Qt Creator or from Xcode? If you use Xcode please make sure that the desired platform (device or simulator) matches the target you have chosen in Qt Creator initially (switching between the two types must be done in Qt Creator). You can switch the target in the drop-down in the upper left corner of Xcode’s window.

    Best,

    Alex

    #8008

    Vlad

    Hi Alex

    I’m trying to build it in XCode in order to sign for publish in AppStore

    #8009

    Alex
    V-Play Team

    In that case please make sure to:

    1. Select the right target in Qt Creator (iphoneos-clang Qt 5.3.x for iOS; please note the *os instead of *simulator!), for publishing builds also select the release mode: https://i.imgur.com/5xcZ2tA.png
    2. Run qmake from the Build menu
    3. Open the Xcode project in the corresponding shadow build directory (named something like build-XYZ-iphoneos_clang_Qt_5_3_0_for_iOS-Release)
    4. Make sure to select the “iOS device” item (or your device if anyone plugged into your Mac) in the upper left menu: https://i.imgur.com/9wPIr25.png

    We publish a proper deployment guide with our upcoming update the next few days, which will explain that in a detailed way. Hope this helps!

    Best,

    Alex

    #8014

    Vlad

    Hi Alex

    yes, it helped, much appreciated

    build target device selection in xcode is not so obvious as in QtCreator

    br,

    Vlad

     

    #8035

    Vlad

    Hi

     

    is it possible to create bundle ID on iTunes connect without prefix?

    I’ve registered my app (as well as V-Play plugins ids) as reversed domain but now iTunes connect add to the bundle id team prefix which will lead to unable load of V-Play plugins because of invalid license key

     

    Thanks

    Vlad

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