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. Embed bitcode in static library?
Forum Updated to NodeBB v4.3 + New Features

Embed bitcode in static library?

Scheduled Pinned Locked Moved Solved Mobile and Embedded
2 Posts 1 Posters 328 Views 2 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.
  • C Offline
    C Offline
    Colton
    wrote on last edited by Colton
    #1

    How would I embed full bitcode into a static library for iOS with qmake?

    I want to take advantage of bitcode for iOS, but I'm very inexperienced with clang, XCode and iOS development in general.

    I tried a few things, but no matter what, XCode keeps complaining that the .a library is missing full bitcode.

    • Tried adding CONFIG += bitcode to the library.
    • Tried adding QMAKE_CFLAGS += -fembed-bitcode and QMAKE_CXXFLAGS += -fembed-bitcode.
    • Tried adding both -fembed-bitcode and -fembed-bitcode-marker

    The library includes some Objective-C, not sure if that would affect it.

    1 Reply Last reply
    0
    • C Offline
      C Offline
      Colton
      wrote on last edited by
      #2

      It appears the bitcode is embedded, but only for release builds.

      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