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. Error when cross-compiling for iOS with XCode13
Forum Update on Monday, May 27th 2025

Error when cross-compiling for iOS with XCode13

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 267 Views
  • 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
    cristeab
    wrote on 22 Sept 2021, 19:55 last edited by cristeab
    #1

    Hi
    I am trying to cross-compile for iOS an application build with Qt5.15.2.When I try to compile with make I get the error below:

    codebuild build -project Monitor.xcodeproj -scheme Monitor -configuration Release -destination generic/platform=iOS -destination-timeout 1 ENABLE_ONLY_ACTIVE_RESOURCES=NO
    Command line invocation:
    /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild build -project Monitor.xcodeproj -scheme Monitor -configuration Release -destination generic/platform=iOS -destination-timeout 1 ENABLE_ONLY_ACTIVE_RESOURCES=NO

    User defaults from command line:
    IDEPackageSupportUseBuiltinSCM = YES

    Build settings from command line:
    ENABLE_ONLY_ACTIVE_RESOURCES = NO

    Prepare build
    error: The Legacy Build System will be removed in a future release. You can configure the selected build system and this deprecation message in File > Project Settings.
    Build Preparation
    The Legacy Build System will be removed in a future release. You can configure the selected build system and this deprecation message in File > Project Settings.

    ** BUILD FAILED **

    I can solve this error by opening the generated Xcode project and changing in File -> Project Settings ... the Build System to "New Build System (Default)", then I recompile again with make. Is there an option in qmake that allows to specify the new build system ?

    thanks
    Bogdan

    1 Reply Last reply
    0

    1/1

    22 Sept 2021, 19:55

    • Login

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