0

このコマンドを使用してローカリゼーションのために .strings ファイルをロードすると、次の--strings-file ja.lproj/localizable.strings en.lproj/AdvancedSearchView.xib --write ja.lproj/AdvancedSearchView.xibエラーが継続的に発生します。

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>com.apple.ibtool.errors</key>
    <array>
        <dict>
            <key>description</key>
            <string>The strings file "localizable.strings" could not be applied.</string>
            <key>recovery-suggestion</key>
            <string>The stringsfile localizable.strings could not be parsed.</string>
            <key>underlying-errors</key>
            <array>
                <dict>
                    <key>description</key>
                    <string>The strings file "localizable.strings" could not be applied.</string>
                    <key>recovery-suggestion</key>
                    <string>The stringsfile localizable.strings could not be parsed.</string>
                </dict>
            </array>
        </dict>
    </array>
</dict>
</plist>

plutil -p ja.lproj/localizable.stringsただし、文字列ファイルを介してファイルを plutil にロードすると、正しく解析されます。ibtool にファイルを正しく解析させるための助けをいただければ幸いです。

4

0 に答える 0