Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.12.7, 5.15.6, 6.2.4
-
XCode 13, iOS 14
-
-
94207621ee (qt/qtbase/dev) 94207621ee (qt/tqtc-qtbase/dev) 2b8938edeb (qt/qtbase/6.4) 2b8938edeb (qt/tqtc-qtbase/6.4) edca76bea8 (qt/qtbase/6.3) edca76bea8 (qt/tqtc-qtbase/6.3) 73278a6038 (qt/tqtc-qtbase/5.15) 47f8ef31d1 (qt/tqtc-qtbase/6.2)
Description
Defining below in .pro works fine with XCode 12
QMAKE_INFO_PLIST = $$PWD/Info.plist TRANSLATE_ja.files = $$PWD/ja.lproj/InfoPlist.strings TRANSLATE_ja.path = ja.lproj TRANSLATE_en.files = $$PWD/en.lproj/InfoPlist.strings TRANSLATE_en.path = en.lproj QMAKE_BUNDLE_DATA += TRANSLATE_ja TRANSLATE_en
plist is translated and the structure in .app is
en.lproj/InfoPlist.strings ja.lproj/InfoPlist.strings
However, this does not work with XCode 13.
plist is not translated and the result in .app is
en.lproj/en.lproj/InfoPlist.strings ja.lproj/ja.lproj/InfoPlist.strings
It works fine with XCode 13 if TRANSLATE_xx.path is not set, that is in .pro
TRANSLATE_ja.files = $$PWD/ja.lproj/InfoPlist.strings TRANSLATE_en.files = $$PWD/en.lproj/InfoPlist.strings QMAKE_BUNDLE_DATA += TRANSLATE_ja TRANSLATE_en
Sample code is attached qtbug98417.zip
Attachments
Issue Links
- relates to
-
QTBUG-35318 Xcode generator may wrongly put QMAKE_BUNDLE_DATA in Resources subdir
- Closed