Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How to add dylib to iOS App?? ( added ScreenShots )
Forum Updated to NodeBB v4.3 + New Features

How to add dylib to iOS App?? ( added ScreenShots )

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 1.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y Offline
    Y Offline
    ysbaekFox
    wrote on last edited by ysbaekFox
    #1

    The following XCode project was created with QT and loaded from XCode.

    first, I would like to port a C++ shared library to ios rather than an object-c shared library (dylib).

    The screenshot below shows the traces I tried.

    33.PNG

    11.PNG

    22.PNG

    => Mach-O Type was set to Dynamic Library and built with C + 11.

    44.PNG

    => And I added to testApp Project (by Link Binary With Libraries) libmyLib.dylib

    Right here I have a question !!

    Inked5_LI.jpg

    => first, I always need to manually change the Type from "Default-Mach-O Dynamic Library" to "C ++ Source" before I can install the app. Otherwise, a testApp build error occurs. I want to preset the type in myLib build phase.

    => second, I can't figure out where to find the dylib I added. I can't be sure that I have succeeded in adding dylib to the app ....

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved