paranitips

Never stop learning! がモットーのゆるふわエンジニアブログ

「InfoPlist.stringsなんてないよ!」のエラーを解消する

gitなどのバージョン管理システムを使わずにプロジェクトをそのままコピペした場合、
Xcodeで実行すると次のようなエラーが出ました。

The file InfoPlist.strings couldn’t be opened because there is no such file.

プロジェクト名.xcodeprojディレクトリにあるproject.pbxprojを編集します。project.pbxproj内でInfoPlist.stringsを検索してみると
path = パス名/ja.lproj/InfoPlist.strings; sourceTree = “<absolute>”;
があるので、このパス名を変更してあげればOKです。

しっかりバージョン管理しよう。。

参考