When building this project with xcbuild using xcbuild -project Kraftstoff.xcodeproj -target Kraftstoff -sdk iphonesimulator build, the build fails with
CopyStringsFile …/Library/Developer/Xcode/DerivedData/Kraftstoff-gaytkgpjvvldifdisonxedsdxode/Build/Products/Release-iphonesimulator/kraftstoff.app/fr.lproj/Localizable.stringsdict fr.lproj/Localizable.stringsdict
builtin-copyStrings --validate --outputencoding binary --outdir …/Library/Developer/Xcode/DerivedData/Kraftstoff-gaytkgpjvvldifdisonxedsdxode/Build/Products/Release-iphonesimulator/kraftstoff.app/fr.lproj -- fr.lproj/Localizable.stringsdict
error: fr.lproj/Localizable.stringsdict: strings key 'Imported %d car(s) with %d fuel event(s).' is not a string
** BUILD FAILED **
The same build succeeds with xcodebuild. The only difference I can spot is that xcodebuild adds the inputencoding parameter for the CopyStringsFile task:
When building this project with xcbuild using
xcbuild -project Kraftstoff.xcodeproj -target Kraftstoff -sdk iphonesimulator build
, the build fails withThe same build succeeds with xcodebuild. The only difference I can spot is that xcodebuild adds the inputencoding parameter for the CopyStringsFile task:
This error seems to only occur for stringsdict files, other .strings files are processed just fine.