Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

xcodebuild import XLIFF localization

I just discovered, that Xcode 6's command line tool allows you to export XLIFF localization files using

xcodebuild -exportLocalizations -localizationPath

Now I'd like to export XLIFF on my CI when pushing to a GIT repo. This would be fairly easy.

But, pre-build I'd need to import them again. Unfortunately xcodebuild doesn't provide a -importLocalizations or similar.

Is there any other way to import XLIFF using the command line?

like image 735
Julian F. Weinert Avatar asked Mar 03 '15 13:03

Julian F. Weinert


2 Answers

xcodebuild -importLocalizations -localizationPath <dirpath> -project <projectname> [-forceImport]
like image 168
badInode Avatar answered Sep 22 '22 13:09

badInode


xcodebuild 7.1.1 has this option.

like image 38
azalan Avatar answered Sep 22 '22 13:09

azalan