Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
None
-
5.15.15
-
None
Description
Description :
I have encountered an issue while attempting to build an iOS project using CMake and the Qt 5.15.15. The error message indicates that the "MobileCoreServices" library cannot be found during the configuration of the Qt5Core module.
Steps to Reproduce :
- Create a new CMake-based project targeting iOS.
- Configure and attempt to build the project.
Error :
/Users/alber/Qt/5.15.15/ios/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:91: error: Library not found: MobileCoreServices /Users/alber/Qt/5.15.15/ios/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:263 (_qt5_Core_process_prl_file) /Users/alber/Qt/5.15.15/ios/lib/cmake/Qt5/Qt5Config.cmake:28 (find_package) CMakeLists.txt:13 (find_package)
Additional Information :
- This issue seems to be specific to CMake-based projects created by users. Existing examples that are qmake-based seem to work fine.
- It's worth noting that the existing examples may not encounter this issue because they are qmake-based and may have different mechanisms for handling dependencies.
Environment :
MacOS Version: 12.6.7
XCode Version: 14.0.1
Qt Creator Version: 11.0.0
Attachments
Issue Links
- duplicates
-
QTCREATORBUG-26121 Configuration fails with Qt Creator 4.15.2 + CMake + iOS + Qt5.15
-
- Closed
-
- relates to
-
QTQAINFRA-5693 Qt 5.15.15 LTS Testing
-
- Open
-