Skip to content

Can't build with Qt 6.2.13 in Qt Creator for iOS and iOS Simulator #2

Description

@alexandrkirilov

When trying to build it for iOS with Qt Creator have this kind of errors.

When simulator:
`
warning: ONLY_ACTIVE_ARCH=YES requested with multiple ARCHS and no active architecture could be computed; building for all applicable architectures (in target 'ALL_BUILD' from project 'QSQLite3MultipleCiphers')
note: Run script build phase 'Generate CMakeFiles/ALL_BUILD' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'ALL_BUILD' from project 'QSQLite3MultipleCiphers')
warning: ONLY_ACTIVE_ARCH=YES requested with multiple ARCHS and no active architecture could be computed; building for all applicable architectures (in target 'sqlite3mc_static' from project 'QSQLite3MultipleCiphers')
warning: ONLY_ACTIVE_ARCH=YES requested with multiple ARCHS and no active architecture could be computed; building for all applicable architectures (in target 'ZERO_CHECK' from project 'QSQLite3MultipleCiphers')
note: Run script build phase 'Generate CMakeFiles/ZERO_CHECK' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'ZERO_CHECK' from project 'QSQLite3MultipleCiphers')
warning: ONLY_ACTIVE_ARCH=YES requested with multiple ARCHS and no active architecture could be computed; building for all applicable architectures (in target 'sqlite3mc_static_autogen' from project 'QSQLite3MultipleCiphers')
note: Run script build phase 'Generate SQLite3MultipleCiphers/CMakeFiles/sqlite3mc_static_autogen' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'sqlite3mc_static_autogen' from project 'QSQLite3MultipleCiphers')
** BUILD FAILED **

The following build commands failed:
Ld /Users/alexandr/Tools/QSQLite3MultipleCiphers/QSQLite3MultipleCiphers/build/Qt_6_2_13_for_iOS_Simulator/build/QSQLite3MultipleCiphers.build/Debug-iphonesimulator/Objects-normal/arm64/Binary/libQSQLite3MultipleCiphers.dylib normal arm64 (in target 'QSQLite3MultipleCiphers' from project 'QSQLite3MultipleCiphers')
(1 failure)
19:52:00: The process "/Users/alexandr/Tools/QtCommercial/Tools/CMake/CMake.app/Contents/bin/cmake" exited with code 65.
19:52:00: Error while building/deploying project QSQLite3MultipleCiphers (kit: Qt 6.2.13 for iOS Simulator)
19:52:00: When executing step "Build"
19:52:00: Elapsed time: 00:01
`

When iOS Device:

`
Build description signature: fe7d980eed1519cd904dcd31c1a32c10
Build description path: /Users/alexandr/Tools/QSQLite3MultipleCiphers/QSQLite3MultipleCiphers/build/Qt_6_2_13_for_iOS/build/XCBuildData/fe7d980eed1519cd904dcd31c1a32c10.xcbuilddata
note: Run script build phase 'Generate CMakeFiles/ZERO_CHECK' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'ZERO_CHECK' from project 'QSQLite3MultipleCiphers')
note: Run script build phase 'Generate CMakeFiles/ALL_BUILD' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'ALL_BUILD' from project 'QSQLite3MultipleCiphers')
note: Run script build phase 'Generate SQLite3MultipleCiphers/CMakeFiles/sqlite3mc_static_autogen' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'sqlite3mc_static_autogen' from project 'QSQLite3MultipleCiphers')
/Users/alexandr/Tools/QSQLite3MultipleCiphers/QSQLite3MultipleCiphers/build/Qt_6_2_13_for_iOS/QSQLite3MultipleCiphers.xcodeproj: error: Signing for "QSQLite3MultipleCiphers" requires a development team. Select a development team in the Signing & Capabilities editor. (in target 'QSQLite3MultipleCiphers' from project 'QSQLite3MultipleCiphers')
note: Run script build phase 'Generate CMakeFiles/QSQLite3MultipleCiphers_autogen' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'QSQLite3MultipleCiphers_autogen' from project 'QSQLite3MultipleCiphers')
** BUILD FAILED **

19:54:03: The process "/Users/alexandr/Tools/QtCommercial/Tools/CMake/CMake.app/Contents/bin/cmake" exited with code 65.
19:54:03: Error while building/deploying project QSQLite3MultipleCiphers (kit: Qt 6.2.13 for iOS)
19:54:03: The kit Qt 6.2.13 for iOS has configuration issues which might be the root cause for this problem.
19:54:03: When executing step "Build"
`

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions