- 
    
Bug
 - 
    Resolution: Done
 - 
    
P2: Important
 - 
    6.3.0
 - 
    iOS 14,15, XCode 13.3.1
 
- 
        
 - 
        353716dfa (dev), b27c7440e (6.9), 58cc21bb5 (tqtc/lts-6.8)
 
Defining these in CMakeLists.txt fails in iOS. 
This works fine in all other platforms. 
qt_add_translations(foo "translations" TS_FILES ${MODEL_TS_FILES} QM_FILES_OUTPUT_VARIABLE qmfiles) qt_add_resources(foo "translations" PREFIX "/i18n" FILES ${qmfiles} BASE ${CMAKE_CURRENT_BINARY_DIR})
CMake error is output as below.
CMake Error in duck/tick/CMakeLists.txt:
The custom command generating
/Users/qtsupport/build-localist-Qt_6_3_0_for_iOS/duck/tick/tick_de.qm
is attached to multiple targets:
duck_tick_resources_3
duck_tick_lrelease
but none of these is a common dependency of the other(s). This is not
allowed by the Xcode "new build system".
Please use  Qtbug103470.zip
  to reproduce the error. 
- is required for
 - 
                    
        
        QTBUG-95838
        Improve experience of building iOS projects with CMake
    
-         
 - Closed
 
 -         
 
- relates to
 - 
                    
QTBUG-103723 [iOS] CMake shader handling fails
-         
 - Closed
 
 -